-
ganeti
ganeti.html
Package
Package
PUBLIC
Ganeti python modules
-
ganeti._constants
ganeti._constants.html
Module
Module
PRIVATE
Automatically generated constants for Python
-
ganeti._generated_rpc
ganeti._generated_rpc.html
Module
Module
PRIVATE
Automatically generated RPC client wrappers.
-
ganeti._vcsversion
ganeti._vcsversion.html
Module
Module
PRIVATE
Build-time VCS version number for Ganeti.
-
ganeti.asyncnotifier
ganeti.asyncnotifier.html
Module
Module
PUBLIC
Asynchronous pyinotify implementation
-
ganeti.backend
ganeti.backend.html
Module
Module
PUBLIC
Functions used by the node daemon
-
ganeti.bootstrap
ganeti.bootstrap.html
Module
Module
PUBLIC
Functions to bootstrap a new cluster.
-
ganeti.build
ganeti.build.html
Package
Package
PUBLIC
Module used during the Ganeti build process
-
ganeti.build.shell_example_lexer
ganeti.build.shell_example_lexer.html
Module
Module
PUBLIC
Pygments lexer for our custom shell example sessions.
-
ganeti.build.sphinx_ext
ganeti.build.sphinx_ext.html
Module
Module
PUBLIC
Sphinx extension for building opcode documentation.
-
ganeti.cli
ganeti.cli.html
Module
Module
PUBLIC
Module dealing with command line parsing
-
ganeti.cli_opts
ganeti.cli_opts.html
Module
Module
PUBLIC
Module containing Ganeti's command line parsing options
-
ganeti.client
ganeti.client.html
Package
Package
PUBLIC
Common command line client code.
-
ganeti.client.base
ganeti.client.base.html
Module
Module
PUBLIC
Utils for CLI commands
-
ganeti.client.gnt_backup
ganeti.client.gnt_backup.html
Module
Module
PUBLIC
Backup related commands
-
ganeti.client.gnt_cluster
ganeti.client.gnt_cluster.html
Module
Module
PUBLIC
Cluster related commands
-
ganeti.client.gnt_debug
ganeti.client.gnt_debug.html
Module
Module
PUBLIC
Debugging commands
-
ganeti.client.gnt_filter
ganeti.client.gnt_filter.html
Module
Module
PUBLIC
Job filter rule commands
-
ganeti.client.gnt_group
ganeti.client.gnt_group.html
Module
Module
PUBLIC
Node group related commands
-
ganeti.client.gnt_instance
ganeti.client.gnt_instance.html
Module
Module
PUBLIC
Instance related commands
-
ganeti.client.gnt_job
ganeti.client.gnt_job.html
Module
Module
PUBLIC
Job related commands
-
ganeti.client.gnt_network
ganeti.client.gnt_network.html
Module
Module
PUBLIC
IP pool related commands
-
ganeti.client.gnt_node
ganeti.client.gnt_node.html
Module
Module
PUBLIC
Node related commands
-
ganeti.client.gnt_os
ganeti.client.gnt_os.html
Module
Module
PUBLIC
OS scripts related commands
-
ganeti.client.gnt_storage
ganeti.client.gnt_storage.html
Module
Module
PUBLIC
External Storage related commands
-
ganeti.cmdlib
ganeti.cmdlib.html
Package
Package
PUBLIC
Module implementing the master-side code.
-
ganeti.cmdlib.backup
ganeti.cmdlib.backup.html
Module
Module
PUBLIC
Logical units dealing with backup operations.
-
ganeti.cmdlib.base
ganeti.cmdlib.base.html
Module
Module
PUBLIC
Base classes and functions for cmdlib.
-
ganeti.cmdlib.cluster
ganeti.cmdlib.cluster.html
Package
Package
PUBLIC
Logical units dealing with the cluster.
-
ganeti.cmdlib.cluster.verify
ganeti.cmdlib.cluster.verify.html
Module
Module
PUBLIC
Logical units for cluster verification.
-
ganeti.cmdlib.common
ganeti.cmdlib.common.html
Module
Module
PUBLIC
Common functions used by multiple logical units.
-
ganeti.cmdlib.group
ganeti.cmdlib.group.html
Module
Module
PUBLIC
Logical units dealing with node groups.
-
ganeti.cmdlib.instance
ganeti.cmdlib.instance.html
Module
Module
PUBLIC
Logical units dealing with instances.
-
ganeti.cmdlib.instance_create
ganeti.cmdlib.instance_create.html
Module
Module
PUBLIC
Logical unit for creating a single instance.
-
ganeti.cmdlib.instance_helpervm
ganeti.cmdlib.instance_helpervm.html
Module
Module
PUBLIC
Functions for running helper virtual machines to perform tasks on instances.
-
ganeti.cmdlib.instance_migration
ganeti.cmdlib.instance_migration.html
Module
Module
PUBLIC
Logical units dealing with instance migration an failover.
-
ganeti.cmdlib.instance_operation
ganeti.cmdlib.instance_operation.html
Module
Module
PUBLIC
Logical units dealing with instance operations (start/stop/...).
-
ganeti.cmdlib.instance_query
ganeti.cmdlib.instance_query.html
Module
Module
PUBLIC
Logical units for querying instances.
-
ganeti.cmdlib.instance_set_params
ganeti.cmdlib.instance_set_params.html
Module
Module
PUBLIC
Logical unit setting parameters of a single instance.
-
ganeti.cmdlib.instance_storage
ganeti.cmdlib.instance_storage.html
Module
Module
PUBLIC
Logical units dealing with storage of instances.
-
ganeti.cmdlib.instance_utils
ganeti.cmdlib.instance_utils.html
Module
Module
PUBLIC
Utility function mainly, but not only used by instance LU's.
-
ganeti.cmdlib.misc
ganeti.cmdlib.misc.html
Module
Module
PUBLIC
Miscellaneous logical units that don't fit into any category.
-
ganeti.cmdlib.network
ganeti.cmdlib.network.html
Module
Module
PUBLIC
Logical units dealing with networks.
-
ganeti.cmdlib.node
ganeti.cmdlib.node.html
Module
Module
PUBLIC
Logical units dealing with nodes.
-
ganeti.cmdlib.operating_system
ganeti.cmdlib.operating_system.html
Module
Module
PUBLIC
Logical units dealing with OS.
-
ganeti.cmdlib.query
ganeti.cmdlib.query.html
Module
Module
PUBLIC
Logical units for queries.
-
ganeti.cmdlib.tags
ganeti.cmdlib.tags.html
Module
Module
PUBLIC
Logical units dealing with tags.
-
ganeti.cmdlib.test
ganeti.cmdlib.test.html
Module
Module
PUBLIC
Test logical units.
-
ganeti.compat
ganeti.compat.html
Module
Module
PUBLIC
Module containing backported language/library functionality.
-
ganeti.confd
ganeti.confd.html
Package
Package
PUBLIC
Ganeti confd client/server library
-
ganeti.confd.client
ganeti.confd.client.html
Module
Module
PUBLIC
Ganeti confd client
-
ganeti.config
ganeti.config.html
Package
Package
PUBLIC
Configuration management for Ganeti
-
ganeti.config.temporary_reservations
ganeti.config.temporary_reservations.html
Module
Module
PUBLIC
Reserve resources, so that jobs can't take them.
-
ganeti.config.utils
ganeti.config.utils.html
Module
Module
PUBLIC
Utilities used by the config module.
-
ganeti.config.verify
ganeti.config.verify.html
Module
Module
PUBLIC
Verification helpers for the configuration object.
-
ganeti.constants
ganeti.constants.html
Module
Module
PUBLIC
Module holding different constants.
-
ganeti.daemon
ganeti.daemon.html
Module
Module
PUBLIC
Module with helper classes and functions for daemons
-
ganeti.errors
ganeti.errors.html
Module
Module
PUBLIC
Ganeti exception handling.
-
ganeti.hooksmaster
ganeti.hooksmaster.html
Module
Module
PUBLIC
Module implementing the logic for running hooks.
-
ganeti.ht
ganeti.ht.html
Module
Module
PUBLIC
Module implementing the parameter types code.
-
ganeti.http
ganeti.http.html
Package
Package
PUBLIC
HTTP module.
-
ganeti.http.auth
ganeti.http.auth.html
Module
Module
PUBLIC
HTTP authentication module.
-
ganeti.http.client
ganeti.http.client.html
Module
Module
PUBLIC
HTTP client module.
-
ganeti.http.server
ganeti.http.server.html
Module
Module
PUBLIC
HTTP server module.
-
ganeti.hypervisor
ganeti.hypervisor.html
Package
Package
PUBLIC
Virtualization interface abstraction
-
ganeti.hypervisor.hv_base
ganeti.hypervisor.hv_base.html
Module
Module
PUBLIC
Base class for all hypervisors
-
ganeti.hypervisor.hv_chroot
ganeti.hypervisor.hv_chroot.html
Module
Module
PUBLIC
Chroot manager hypervisor
-
ganeti.hypervisor.hv_fake
ganeti.hypervisor.hv_fake.html
Module
Module
PUBLIC
Fake hypervisor
-
ganeti.hypervisor.hv_kvm
ganeti.hypervisor.hv_kvm.html
Package
Package
PUBLIC
KVM hypervisor
-
ganeti.hypervisor.hv_kvm.monitor
ganeti.hypervisor.hv_kvm.monitor.html
Module
Module
PUBLIC
Qemu monitor control classes
-
ganeti.hypervisor.hv_kvm.netdev
ganeti.hypervisor.hv_kvm.netdev.html
Module
Module
PUBLIC
KVM hypervisor tap device helpers
-
ganeti.hypervisor.hv_kvm.validation
ganeti.hypervisor.hv_kvm.validation.html
Module
Module
PUBLIC
KVM hypervisor parameter/syntax validation helpers
-
ganeti.hypervisor.hv_lxc
ganeti.hypervisor.hv_lxc.html
Module
Module
PUBLIC
LXC hypervisor
-
ganeti.hypervisor.hv_xen
ganeti.hypervisor.hv_xen.html
Module
Module
PUBLIC
Xen hypervisors
-
ganeti.impexpd
ganeti.impexpd.html
Package
Package
PUBLIC
Classes and functions for import/export daemon.
-
ganeti.jqueue
ganeti.jqueue.html
Package
Package
PUBLIC
Module implementing the job queue handling.
-
ganeti.jqueue.exec
ganeti.jqueue.exec.html
Module
Module
PUBLIC
Module implementing executing of a job as a separate process
-
ganeti.jstore
ganeti.jstore.html
Module
Module
PUBLIC
Module implementing the job queue handling.
-
ganeti.locking
ganeti.locking.html
Module
Module
PUBLIC
Module implementing the Ganeti locking code.
-
ganeti.luxi
ganeti.luxi.html
Module
Module
PUBLIC
Module for the LUXI protocol
-
ganeti.masterd
ganeti.masterd.html
Package
Package
PUBLIC
Masterd-related classes and functions.
-
ganeti.masterd.iallocator
ganeti.masterd.iallocator.html
Module
Module
PUBLIC
Module implementing the iallocator code.
-
ganeti.masterd.instance
ganeti.masterd.instance.html
Module
Module
PUBLIC
Instance-related functions and classes for masterd.
-
ganeti.mcpu
ganeti.mcpu.html
Module
Module
PUBLIC
Module implementing the logic behind the cluster operations
-
ganeti.metad
ganeti.metad.html
Module
Module
PUBLIC
Module for the Metad protocol
-
ganeti.netutils
ganeti.netutils.html
Module
Module
PUBLIC
Ganeti network utility module.
-
ganeti.network
ganeti.network.html
Module
Module
PUBLIC
IP address pool management functions.
-
ganeti.objects
ganeti.objects.html
Module
Module
PUBLIC
Transportable objects for Ganeti.
-
ganeti.opcodes
ganeti.opcodes.html
Module
Module
PUBLIC
OpCodes module
-
ganeti.opcodes_base
ganeti.opcodes_base.html
Module
Module
PUBLIC
OpCodes base module
-
ganeti.outils
ganeti.outils.html
Module
Module
PUBLIC
Module for object related utils.
-
ganeti.ovf
ganeti.ovf.html
Module
Module
PUBLIC
Converter tools between ovf and ganeti config file
-
ganeti.pathutils
ganeti.pathutils.html
Module
Module
PUBLIC
Module containing constants and functions for filesystem paths.
-
ganeti.qlang
ganeti.qlang.html
Module
Module
PUBLIC
Module for a simple query language
-
ganeti.query
ganeti.query.html
Module
Module
PUBLIC
Module for query operations
-
ganeti.rapi
ganeti.rapi.html
Package
Package
PUBLIC
Ganeti RAPI module
-
ganeti.rapi.baserlib
ganeti.rapi.baserlib.html
Module
Module
PUBLIC
Remote API base resources library.
-
ganeti.rapi.client
ganeti.rapi.client.html
Module
Module
PUBLIC
Ganeti RAPI client.
-
ganeti.rapi.client_utils
ganeti.rapi.client_utils.html
Module
Module
PUBLIC
RAPI client utilities.
-
ganeti.rapi.connector
ganeti.rapi.connector.html
Module
Module
PUBLIC
Remote API connection map.
-
ganeti.rapi.rlib2
ganeti.rapi.rlib2.html
Module
Module
PUBLIC
Remote API resource implementations.
-
ganeti.rapi.testutils
ganeti.rapi.testutils.html
Module
Module
PUBLIC
Remote API test utilities.
-
ganeti.rpc
ganeti.rpc.html
Package
Package
PUBLIC
Empty file for package definition.
-
ganeti.rpc.client
ganeti.rpc.client.html
Module
Module
PUBLIC
Module for generic RPC clients.
-
ganeti.rpc.errors
ganeti.rpc.errors.html
Module
Module
PUBLIC
Module that defines a transport for RPC connections.
-
ganeti.rpc.node
ganeti.rpc.node.html
Module
Module
PUBLIC
Inter-node RPC library.
-
ganeti.rpc.stub
ganeti.rpc.stub.html
Package
Package
PUBLIC
Empty file for package definition.
-
ganeti.rpc.stub.metad
ganeti.rpc.stub.metad.html
Module
Module
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd
ganeti.rpc.stub.wconfd.html
Module
Module
PUBLIC
Undocumented
-
ganeti.rpc.transport
ganeti.rpc.transport.html
Module
Module
PUBLIC
Module that defines a transport for RPC connections.
-
ganeti.rpc_defs
ganeti.rpc_defs.html
Module
Module
PUBLIC
RPC definitions for communication between master and node daemons.
-
ganeti.runtime
ganeti.runtime.html
Module
Module
PUBLIC
Module implementing configuration details at runtime.
-
ganeti.serializer
ganeti.serializer.html
Module
Module
PUBLIC
Serializer abstraction module
-
ganeti.server
ganeti.server.html
Package
Package
PUBLIC
Empty file for package definition.
-
ganeti.server.masterd
ganeti.server.masterd.html
Module
Module
PUBLIC
Master daemon program.
-
ganeti.server.noded
ganeti.server.noded.html
Module
Module
PUBLIC
Ganeti node daemon
-
ganeti.server.rapi
ganeti.server.rapi.html
Module
Module
PUBLIC
Ganeti Remote API master script.
-
ganeti.ssconf
ganeti.ssconf.html
Module
Module
PUBLIC
Global Configuration data for Ganeti.
-
ganeti.ssh
ganeti.ssh.html
Module
Module
PUBLIC
Module encapsulating ssh functionality.
-
ganeti.storage
ganeti.storage.html
Package
Package
PUBLIC
Block device abstraction
-
ganeti.storage.base
ganeti.storage.base.html
Module
Module
PUBLIC
Block device abstraction - base class and utility functions
-
ganeti.storage.bdev
ganeti.storage.bdev.html
Module
Module
PUBLIC
Block device abstraction.
-
ganeti.storage.container
ganeti.storage.container.html
Module
Module
PUBLIC
Storage container abstraction.
-
ganeti.storage.drbd
ganeti.storage.drbd.html
Module
Module
PUBLIC
DRBD block device related functionality
-
ganeti.storage.drbd_cmdgen
ganeti.storage.drbd_cmdgen.html
Module
Module
PUBLIC
DRBD command generating classes
-
ganeti.storage.drbd_info
ganeti.storage.drbd_info.html
Module
Module
PUBLIC
DRBD information parsing utilities
-
ganeti.storage.extstorage
ganeti.storage.extstorage.html
Module
Module
PUBLIC
ExtStorage Interface related functionality
-
ganeti.storage.filestorage
ganeti.storage.filestorage.html
Module
Module
PUBLIC
Filesystem-based access functions and disk templates.
-
ganeti.storage.gluster
ganeti.storage.gluster.html
Module
Module
PUBLIC
Gluster storage class.
-
ganeti.tools
ganeti.tools.html
Package
Package
PUBLIC
Common tools modules.
-
ganeti.tools.burnin
ganeti.tools.burnin.html
Module
Module
PUBLIC
Burnin program
-
ganeti.tools.cfgupgrade
ganeti.tools.cfgupgrade.html
Module
Module
PUBLIC
Library of the tools/cfgupgrade utility.
-
ganeti.tools.common
ganeti.tools.common.html
Module
Module
PUBLIC
Common functions for tool scripts.
-
ganeti.tools.ensure_dirs
ganeti.tools.ensure_dirs.html
Module
Module
PUBLIC
Script to ensure permissions on files/dirs are accurate.
-
ganeti.tools.node_cleanup
ganeti.tools.node_cleanup.html
Module
Module
PUBLIC
Script to configure the node daemon.
-
ganeti.tools.node_daemon_setup
ganeti.tools.node_daemon_setup.html
Module
Module
PUBLIC
Script to configure the node daemon.
-
ganeti.tools.prepare_node_join
ganeti.tools.prepare_node_join.html
Module
Module
PUBLIC
Script to prepare a node for joining a cluster.
-
ganeti.tools.ssh_update
ganeti.tools.ssh_update.html
Module
Module
PUBLIC
Script to update a node's SSH key files.
-
ganeti.tools.ssl_update
ganeti.tools.ssl_update.html
Module
Module
PUBLIC
Script to recreate and sign the client SSL certificates.
-
ganeti.uidpool
ganeti.uidpool.html
Module
Module
PUBLIC
User-id pool related functions.
-
ganeti.utils
ganeti.utils.html
Package
Package
PUBLIC
Ganeti utility module.
-
ganeti.utils.algo
ganeti.utils.algo.html
Module
Module
PUBLIC
Utility functions with algorithms.
-
ganeti.utils.bitarrays
ganeti.utils.bitarrays.html
Module
Module
PUBLIC
Utility functions for managing bitarrays.
-
ganeti.utils.filelock
ganeti.utils.filelock.html
Module
Module
PUBLIC
Utility functions for file-based locks.
-
ganeti.utils.hash
ganeti.utils.hash.html
Module
Module
PUBLIC
Utility functions for hashing.
-
ganeti.utils.io
ganeti.utils.io.html
Module
Module
PUBLIC
Utility functions for I/O.
-
ganeti.utils.livelock
ganeti.utils.livelock.html
Module
Module
PUBLIC
Lockfiles to prove liveliness
-
ganeti.utils.log
ganeti.utils.log.html
Module
Module
PUBLIC
Utility functions for logging.
-
ganeti.utils.lvm
ganeti.utils.lvm.html
Module
Module
PUBLIC
Utility functions for LVM.
-
ganeti.utils.mlock
ganeti.utils.mlock.html
Module
Module
PUBLIC
Wrapper around mlockall(2).
-
ganeti.utils.nodesetup
ganeti.utils.nodesetup.html
Module
Module
PUBLIC
Utility functions for manipulating /etc/hosts.
-
ganeti.utils.process
ganeti.utils.process.html
Module
Module
PUBLIC
Utility functions for processes.
-
ganeti.utils.retry
ganeti.utils.retry.html
Module
Module
PUBLIC
Utility functions for retrying function calls with a timeout.
-
ganeti.utils.security
ganeti.utils.security.html
Module
Module
PUBLIC
Utility functions for security features of Ganeti.
-
ganeti.utils.storage
ganeti.utils.storage.html
Module
Module
PUBLIC
Utility functions for storage.
-
ganeti.utils.tags
ganeti.utils.tags.html
Module
Module
PUBLIC
Utility functions for tag related operations
-
ganeti.utils.text
ganeti.utils.text.html
Module
Module
PUBLIC
Utility functions for manipulating or working with text.
-
ganeti.utils.version
ganeti.utils.version.html
Module
Module
PUBLIC
Version utilities.
-
ganeti.utils.wrapper
ganeti.utils.wrapper.html
Module
Module
PUBLIC
Utility functions wrapping other functions.
-
ganeti.utils.x509
ganeti.utils.x509.html
Module
Module
PUBLIC
Utility functions for X509.
-
ganeti.vcluster
ganeti.vcluster.html
Module
Module
PUBLIC
Module containing utilities for virtual clusters.
-
ganeti.watcher
ganeti.watcher.html
Package
Package
PUBLIC
Tool to restart erroneously downed virtual machines.
-
ganeti.watcher.nodemaint
ganeti.watcher.nodemaint.html
Module
Module
PUBLIC
Module doing node maintenance for Ganeti watcher.
-
ganeti.watcher.state
ganeti.watcher.state.html
Module
Module
PUBLIC
Module keeping state for Ganeti watcher.
-
ganeti.wconfd
ganeti.wconfd.html
Module
Module
PUBLIC
Module for the WConfd protocol
-
ganeti.workerpool
ganeti.workerpool.html
Module
Module
PUBLIC
Base classes for worker pools.
-
server
server.html
Module
Module
PUBLIC
HTTP server module.
-
ganeti._constants.HTOOLS_PROGS
ganeti._constants.html#HTOOLS_PROGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_BARRIERS
ganeti._constants.html#DRBD_BARRIERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_NO_META_FLUSH
ganeti._constants.html#DRBD_NO_META_FLUSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LVM_STRIPECOUNT
ganeti._constants.html#LVM_STRIPECOUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HAS_GNU_LN
ganeti._constants.html#HAS_GNU_LN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXPORT_DIR
ganeti._constants.html#EXPORT_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BACKUP_DIR
ganeti._constants.html#BACKUP_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SEARCH_PATH
ganeti._constants.html#OS_SEARCH_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SEARCH_PATH
ganeti._constants.html#ES_SEARCH_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_CONFIG_DIR
ganeti._constants.html#SSH_CONFIG_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XEN_CONFIG_DIR
ganeti._constants.html#XEN_CONFIG_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SYSCONFDIR
ganeti._constants.html#SYSCONFDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TOOLSDIR
ganeti._constants.html#TOOLSDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LOCALSTATEDIR
ganeti._constants.html#LOCALSTATEDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PKGLIBDIR
ganeti._constants.html#PKGLIBDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SHAREDIR
ganeti._constants.html#SHAREDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAN_PAGES
ganeti._constants.html#MAN_PAGES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VERSIONEDSHAREDIR
ganeti._constants.html#VERSIONEDSHAREDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GNT_SCRIPTS
ganeti._constants.html#GNT_SCRIPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RELEASE_VERSION
ganeti._constants.html#RELEASE_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VERSION_MAJOR
ganeti._constants.html#VERSION_MAJOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VERSION_MINOR
ganeti._constants.html#VERSION_MINOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VERSION_REVISION
ganeti._constants.html#VERSION_REVISION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DIR_VERSION
ganeti._constants.html#DIR_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_API_V10
ganeti._constants.html#OS_API_V10
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_API_V15
ganeti._constants.html#OS_API_V15
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_API_V20
ganeti._constants.html#OS_API_V20
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_API_VERSIONS
ganeti._constants.html#OS_API_VERSIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXPORT_VERSION
ganeti._constants.html#EXPORT_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RAPI_VERSION
ganeti._constants.html#RAPI_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFIG_MAJOR
ganeti._constants.html#CONFIG_MAJOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFIG_MINOR
ganeti._constants.html#CONFIG_MINOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFIG_REVISION
ganeti._constants.html#CONFIG_REVISION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFIG_VERSION
ganeti._constants.html#CONFIG_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PROTOCOL_VERSION
ganeti._constants.html#PROTOCOL_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DAEMONS_GROUP
ganeti._constants.html#DAEMONS_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMIN_GROUP
ganeti._constants.html#ADMIN_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MASTERD_USER
ganeti._constants.html#MASTERD_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MASTERD_GROUP
ganeti._constants.html#MASTERD_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.METAD_USER
ganeti._constants.html#METAD_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.METAD_GROUP
ganeti._constants.html#METAD_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RAPI_USER
ganeti._constants.html#RAPI_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RAPI_GROUP
ganeti._constants.html#RAPI_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_USER
ganeti._constants.html#CONFD_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_GROUP
ganeti._constants.html#CONFD_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONFD_USER
ganeti._constants.html#WCONFD_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONFD_GROUP
ganeti._constants.html#WCONFD_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.KVMD_USER
ganeti._constants.html#KVMD_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.KVMD_GROUP
ganeti._constants.html#KVMD_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_USER
ganeti._constants.html#LUXID_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_GROUP
ganeti._constants.html#LUXID_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODED_USER
ganeti._constants.html#NODED_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODED_GROUP
ganeti._constants.html#NODED_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND_USER
ganeti._constants.html#MOND_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND_GROUP
ganeti._constants.html#MOND_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_LOGIN_USER
ganeti._constants.html#SSH_LOGIN_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_CONSOLE_USER
ganeti._constants.html#SSH_CONSOLE_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPU_PINNING_SEP
ganeti._constants.html#CPU_PINNING_SEP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPU_PINNING_ALL
ganeti._constants.html#CPU_PINNING_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPU_PINNING_ALL_VAL
ganeti._constants.html#CPU_PINNING_ALL_VAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPU_PINNING_OFF
ganeti._constants.html#CPU_PINNING_OFF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPU_PINNING_ALL_XEN
ganeti._constants.html#CPU_PINNING_ALL_XEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DD_CMD
ganeti._constants.html#DD_CMD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DD_BLOCK_SIZE
ganeti._constants.html#DD_BLOCK_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAX_WIPE_CHUNK
ganeti._constants.html#MAX_WIPE_CHUNK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MIN_WIPE_CHUNK_PERCENT
ganeti._constants.html#MIN_WIPE_CHUNK_PERCENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RUN_DIRS_MODE
ganeti._constants.html#RUN_DIRS_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SECURE_DIR_MODE
ganeti._constants.html#SECURE_DIR_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SECURE_FILE_MODE
ganeti._constants.html#SECURE_FILE_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADOPTABLE_BLOCKDEV_ROOT
ganeti._constants.html#ADOPTABLE_BLOCKDEV_ROOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ENABLE_MOND
ganeti._constants.html#ENABLE_MOND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ENABLE_METAD
ganeti._constants.html#ENABLE_METAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ENABLE_RESTRICTED_COMMANDS
ganeti._constants.html#ENABLE_RESTRICTED_COMMANDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH
ganeti._constants.html#SSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SCP
ganeti._constants.html#SCP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD
ganeti._constants.html#CONFD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MASTERD
ganeti._constants.html#MASTERD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.METAD
ganeti._constants.html#METAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND
ganeti._constants.html#MOND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODED
ganeti._constants.html#NODED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONFD
ganeti._constants.html#WCONFD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID
ganeti._constants.html#LUXID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RAPI
ganeti._constants.html#RAPI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.KVMD
ganeti._constants.html#KVMD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DAEMONS_MASTER
ganeti._constants.html#DAEMONS_MASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DAEMONS
ganeti._constants.html#DAEMONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_CONFD_PORT
ganeti._constants.html#DEFAULT_CONFD_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_MOND_PORT
ganeti._constants.html#DEFAULT_MOND_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_METAD_PORT
ganeti._constants.html#DEFAULT_METAD_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_NODED_PORT
ganeti._constants.html#DEFAULT_NODED_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_RAPI_PORT
ganeti._constants.html#DEFAULT_RAPI_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DAEMONS_PORTS
ganeti._constants.html#DAEMONS_PORTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FIRST_DRBD_PORT
ganeti._constants.html#FIRST_DRBD_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LAST_DRBD_PORT
ganeti._constants.html#LAST_DRBD_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DAEMONS_LOGBASE
ganeti._constants.html#DAEMONS_LOGBASE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEV_CONSOLE
ganeti._constants.html#DEV_CONSOLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PROC_MOUNTS
ganeti._constants.html#PROC_MOUNTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_EOM
ganeti._constants.html#LUXI_EOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_OVERRIDE
ganeti._constants.html#LUXI_OVERRIDE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_OVERRIDE_MASTER
ganeti._constants.html#LUXI_OVERRIDE_MASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_OVERRIDE_QUERY
ganeti._constants.html#LUXI_OVERRIDE_QUERY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_VERSION
ganeti._constants.html#LUXI_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SYSLOG_USAGE
ganeti._constants.html#SYSLOG_USAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SYSLOG_NO
ganeti._constants.html#SYSLOG_NO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SYSLOG_YES
ganeti._constants.html#SYSLOG_YES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SYSLOG_ONLY
ganeti._constants.html#SYSLOG_ONLY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SYSLOG_SOCKET
ganeti._constants.html#SYSLOG_SOCKET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXPORT_CONF_FILE
ganeti._constants.html#EXPORT_CONF_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XEN_BOOTLOADER
ganeti._constants.html#XEN_BOOTLOADER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XEN_INITRD
ganeti._constants.html#XEN_INITRD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XEN_KERNEL
ganeti._constants.html#XEN_KERNEL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XL_SOCAT_CMD
ganeti._constants.html#XL_SOCAT_CMD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XL_MIGRATION_PIDFILE
ganeti._constants.html#XL_MIGRATION_PIDFILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.KVM_PATH
ganeti._constants.html#KVM_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.KVM_KERNEL
ganeti._constants.html#KVM_KERNEL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SOCAT_ESCAPE_CODE
ganeti._constants.html#SOCAT_ESCAPE_CODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SOCAT_PATH
ganeti._constants.html#SOCAT_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SOCAT_USE_COMPRESS
ganeti._constants.html#SOCAT_USE_COMPRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SOCAT_USE_ESCAPE
ganeti._constants.html#SOCAT_USE_ESCAPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LXC_DEVICES_DEFAULT
ganeti._constants.html#LXC_DEVICES_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LXC_DROP_CAPABILITIES_DEFAULT
ganeti._constants.html#LXC_DROP_CAPABILITIES_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LXC_STATE_RUNNING
ganeti._constants.html#LXC_STATE_RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONS_MESSAGE
ganeti._constants.html#CONS_MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONS_SPICE
ganeti._constants.html#CONS_SPICE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONS_SSH
ganeti._constants.html#CONS_SSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONS_VNC
ganeti._constants.html#CONS_VNC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONS_ALL
ganeti._constants.html#CONS_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RSA_KEY_BITS
ganeti._constants.html#RSA_KEY_BITS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPENSSL_CIPHERS
ganeti._constants.html#OPENSSL_CIPHERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.X509_CERT_CN
ganeti._constants.html#X509_CERT_CN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.X509_CERT_DEFAULT_VALIDITY
ganeti._constants.html#X509_CERT_DEFAULT_VALIDITY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.X509_CERT_SIGN_DIGEST
ganeti._constants.html#X509_CERT_SIGN_DIGEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEM_EXPORT
ganeti._constants.html#IEM_EXPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEM_IMPORT
ganeti._constants.html#IEM_IMPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_GZIP
ganeti._constants.html#IEC_GZIP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_GZIP_FAST
ganeti._constants.html#IEC_GZIP_FAST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_GZIP_SLOW
ganeti._constants.html#IEC_GZIP_SLOW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_LZOP
ganeti._constants.html#IEC_LZOP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_NONE
ganeti._constants.html#IEC_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_ALL
ganeti._constants.html#IEC_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_DEFAULT_TOOLS
ganeti._constants.html#IEC_DEFAULT_TOOLS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEC_COMPRESSION_UTILITIES
ganeti._constants.html#IEC_COMPRESSION_UTILITIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IE_CUSTOM_SIZE
ganeti._constants.html#IE_CUSTOM_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEIO_FILE
ganeti._constants.html#IEIO_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEIO_RAW_DISK
ganeti._constants.html#IEIO_RAW_DISK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IEIO_SCRIPT
ganeti._constants.html#IEIO_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALUE_DEFAULT
ganeti._constants.html#VALUE_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALUE_AUTO
ganeti._constants.html#VALUE_AUTO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALUE_GENERATE
ganeti._constants.html#VALUE_GENERATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALUE_NONE
ganeti._constants.html#VALUE_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALUE_TRUE
ganeti._constants.html#VALUE_TRUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALUE_FALSE
ganeti._constants.html#VALUE_FALSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOOKS_NAME_CFGUPDATE
ganeti._constants.html#HOOKS_NAME_CFGUPDATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOOKS_NAME_WATCHER
ganeti._constants.html#HOOKS_NAME_WATCHER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOOKS_PATH
ganeti._constants.html#HOOKS_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOOKS_PHASE_POST
ganeti._constants.html#HOOKS_PHASE_POST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOOKS_PHASE_PRE
ganeti._constants.html#HOOKS_PHASE_PRE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOOKS_VERSION
ganeti._constants.html#HOOKS_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HTYPE_CLUSTER
ganeti._constants.html#HTYPE_CLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HTYPE_GROUP
ganeti._constants.html#HTYPE_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HTYPE_INSTANCE
ganeti._constants.html#HTYPE_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HTYPE_NETWORK
ganeti._constants.html#HTYPE_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HTYPE_NODE
ganeti._constants.html#HTYPE_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HKR_SKIP
ganeti._constants.html#HKR_SKIP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HKR_FAIL
ganeti._constants.html#HKR_FAIL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HKR_SUCCESS
ganeti._constants.html#HKR_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_BLOCK
ganeti._constants.html#ST_BLOCK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_DISKLESS
ganeti._constants.html#ST_DISKLESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_EXT
ganeti._constants.html#ST_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_FILE
ganeti._constants.html#ST_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_SHARED_FILE
ganeti._constants.html#ST_SHARED_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_GLUSTER
ganeti._constants.html#ST_GLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_LVM_PV
ganeti._constants.html#ST_LVM_PV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_LVM_VG
ganeti._constants.html#ST_LVM_VG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ST_RADOS
ganeti._constants.html#ST_RADOS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.STORAGE_TYPES
ganeti._constants.html#STORAGE_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.STS_REPORT
ganeti._constants.html#STS_REPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.STS_REPORT_NODE_STORAGE
ganeti._constants.html#STS_REPORT_NODE_STORAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_NODE
ganeti._constants.html#SF_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_TYPE
ganeti._constants.html#SF_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_ALLOCATABLE
ganeti._constants.html#SF_ALLOCATABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_FREE
ganeti._constants.html#SF_FREE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_NAME
ganeti._constants.html#SF_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_SIZE
ganeti._constants.html#SF_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SF_USED
ganeti._constants.html#SF_USED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_STORAGE_FIELDS
ganeti._constants.html#VALID_STORAGE_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MODIFIABLE_STORAGE_FIELDS
ganeti._constants.html#MODIFIABLE_STORAGE_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SO_FIX_CONSISTENCY
ganeti._constants.html#SO_FIX_CONSISTENCY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_STORAGE_OPERATIONS
ganeti._constants.html#VALID_STORAGE_OPERATIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_DEV
ganeti._constants.html#VF_DEV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_INSTANCE
ganeti._constants.html#VF_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_NAME
ganeti._constants.html#VF_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_NODE
ganeti._constants.html#VF_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_PHYS
ganeti._constants.html#VF_PHYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_SIZE
ganeti._constants.html#VF_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VF_VG
ganeti._constants.html#VF_VG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDS_FAULTY
ganeti._constants.html#LDS_FAULTY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDS_OKAY
ganeti._constants.html#LDS_OKAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDS_UNKNOWN
ganeti._constants.html#LDS_UNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDS_SYNC
ganeti._constants.html#LDS_SYNC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDS_NAMES
ganeti._constants.html#LDS_NAMES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_DISKLESS
ganeti._constants.html#DT_DISKLESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_FILE
ganeti._constants.html#DT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_SHARED_FILE
ganeti._constants.html#DT_SHARED_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_PLAIN
ganeti._constants.html#DT_PLAIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_BLOCK
ganeti._constants.html#DT_BLOCK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_DRBD8
ganeti._constants.html#DT_DRBD8
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_RBD
ganeti._constants.html#DT_RBD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_EXT
ganeti._constants.html#DT_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_GLUSTER
ganeti._constants.html#DT_GLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DT_MIXED
ganeti._constants.html#DT_MIXED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_TEMPLATE_PREFERENCE
ganeti._constants.html#DISK_TEMPLATE_PREFERENCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_TEMPLATES
ganeti._constants.html#DISK_TEMPLATES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_ENABLED_DISK_TEMPLATES
ganeti._constants.html#DEFAULT_ENABLED_DISK_TEMPLATES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAP_DISK_TEMPLATE_STORAGE_TYPE
ganeti._constants.html#MAP_DISK_TEMPLATE_STORAGE_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_INT_MIRROR
ganeti._constants.html#DTS_INT_MIRROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_EXT_MIRROR
ganeti._constants.html#DTS_EXT_MIRROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_NOT_LVM
ganeti._constants.html#DTS_NOT_LVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_GROWABLE
ganeti._constants.html#DTS_GROWABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_MAY_ADOPT
ganeti._constants.html#DTS_MAY_ADOPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_MUST_ADOPT
ganeti._constants.html#DTS_MUST_ADOPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_MIRRORED
ganeti._constants.html#DTS_MIRRORED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_FILEBASED
ganeti._constants.html#DTS_FILEBASED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_INSTANCE_DEPENDENT_PATH
ganeti._constants.html#DTS_INSTANCE_DEPENDENT_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_COPYABLE
ganeti._constants.html#DTS_COPYABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_SNAPSHOT_CAPABLE
ganeti._constants.html#DTS_SNAPSHOT_CAPABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_EXCL_STORAGE
ganeti._constants.html#DTS_EXCL_STORAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_NO_FREE_SPACE_CHECK
ganeti._constants.html#DTS_NO_FREE_SPACE_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_BLOCK
ganeti._constants.html#DTS_BLOCK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_LVM
ganeti._constants.html#DTS_LVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_HAVE_ACCESS
ganeti._constants.html#DTS_HAVE_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_NOT_CONVERTIBLE_FROM
ganeti._constants.html#DTS_NOT_CONVERTIBLE_FROM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_NOT_CONVERTIBLE_TO
ganeti._constants.html#DTS_NOT_CONVERTIBLE_TO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_HMAC_ALG
ganeti._constants.html#DRBD_HMAC_ALG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DEFAULT_NET_PROTOCOL
ganeti._constants.html#DRBD_DEFAULT_NET_PROTOCOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_MIGRATION_NET_PROTOCOL
ganeti._constants.html#DRBD_MIGRATION_NET_PROTOCOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_STATUS_FILE
ganeti._constants.html#DRBD_STATUS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_SECRET_LENGTH
ganeti._constants.html#DRBD_SECRET_LENGTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_META_SIZE
ganeti._constants.html#DRBD_META_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_B_DISK_BARRIERS
ganeti._constants.html#DRBD_B_DISK_BARRIERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_B_DISK_DRAIN
ganeti._constants.html#DRBD_B_DISK_DRAIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_B_DISK_FLUSH
ganeti._constants.html#DRBD_B_DISK_FLUSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_B_NONE
ganeti._constants.html#DRBD_B_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_VALID_BARRIER_OPT
ganeti._constants.html#DRBD_VALID_BARRIER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RBD_CMD
ganeti._constants.html#RBD_CMD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FD_BLKTAP
ganeti._constants.html#FD_BLKTAP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FD_BLKTAP2
ganeti._constants.html#FD_BLKTAP2
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FD_LOOP
ganeti._constants.html#FD_LOOP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FD_DEFAULT
ganeti._constants.html#FD_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FILE_DRIVER
ganeti._constants.html#FILE_DRIVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DTS_DRBD
ganeti._constants.html#DTS_DRBD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_RDONLY
ganeti._constants.html#DISK_RDONLY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_RDWR
ganeti._constants.html#DISK_RDWR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_ACCESS_SET
ganeti._constants.html#DISK_ACCESS_SET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REPLACE_DISK_AUTO
ganeti._constants.html#REPLACE_DISK_AUTO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REPLACE_DISK_CHG
ganeti._constants.html#REPLACE_DISK_CHG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REPLACE_DISK_PRI
ganeti._constants.html#REPLACE_DISK_PRI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REPLACE_DISK_SEC
ganeti._constants.html#REPLACE_DISK_SEC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REPLACE_MODES
ganeti._constants.html#REPLACE_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXPORT_MODE_LOCAL
ganeti._constants.html#EXPORT_MODE_LOCAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXPORT_MODE_REMOTE
ganeti._constants.html#EXPORT_MODE_REMOTE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXPORT_MODES
ganeti._constants.html#EXPORT_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_CREATE
ganeti._constants.html#INSTANCE_CREATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_IMPORT
ganeti._constants.html#INSTANCE_IMPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_REMOTE_IMPORT
ganeti._constants.html#INSTANCE_REMOTE_IMPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_CREATE_MODES
ganeti._constants.html#INSTANCE_CREATE_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RIE_HANDSHAKE
ganeti._constants.html#RIE_HANDSHAKE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RIE_VERSION
ganeti._constants.html#RIE_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RIE_CERT_VALIDITY
ganeti._constants.html#RIE_CERT_VALIDITY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RIE_CONNECT_ATTEMPT_TIMEOUT
ganeti._constants.html#RIE_CONNECT_ATTEMPT_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RIE_CONNECT_RETRIES
ganeti._constants.html#RIE_CONNECT_RETRIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RIE_CONNECT_TIMEOUT
ganeti._constants.html#RIE_CONNECT_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CHILD_LINGER_TIMEOUT
ganeti._constants.html#CHILD_LINGER_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INISECT_BEP
ganeti._constants.html#INISECT_BEP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INISECT_EXP
ganeti._constants.html#INISECT_EXP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INISECT_HYP
ganeti._constants.html#INISECT_HYP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INISECT_INS
ganeti._constants.html#INISECT_INS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INISECT_OSP
ganeti._constants.html#INISECT_OSP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INISECT_OSP_PRIVATE
ganeti._constants.html#INISECT_OSP_PRIVATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDM_ADD
ganeti._constants.html#DDM_ADD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDM_ATTACH
ganeti._constants.html#DDM_ATTACH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDM_MODIFY
ganeti._constants.html#DDM_MODIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDM_REMOVE
ganeti._constants.html#DDM_REMOVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDM_DETACH
ganeti._constants.html#DDM_DETACH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDMS_VALUES
ganeti._constants.html#DDMS_VALUES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDMS_VALUES_WITH_MODIFY
ganeti._constants.html#DDMS_VALUES_WITH_MODIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_SUCCESS
ganeti._constants.html#EXIT_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_FAILURE
ganeti._constants.html#EXIT_FAILURE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_NOTCLUSTER
ganeti._constants.html#EXIT_NOTCLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_NOTMASTER
ganeti._constants.html#EXIT_NOTMASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_NODESETUP_ERROR
ganeti._constants.html#EXIT_NODESETUP_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_CONFIRMATION
ganeti._constants.html#EXIT_CONFIRMATION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EXIT_UNKNOWN_FIELD
ganeti._constants.html#EXIT_UNKNOWN_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TAG_CLUSTER
ganeti._constants.html#TAG_CLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TAG_INSTANCE
ganeti._constants.html#TAG_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TAG_NETWORK
ganeti._constants.html#TAG_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TAG_NODE
ganeti._constants.html#TAG_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TAG_NODEGROUP
ganeti._constants.html#TAG_NODEGROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_TAG_TYPES
ganeti._constants.html#VALID_TAG_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAX_TAG_LEN
ganeti._constants.html#MAX_TAG_LEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAX_TAGS_PER_OBJ
ganeti._constants.html#MAX_TAGS_PER_OBJ
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_BRIDGE
ganeti._constants.html#DEFAULT_BRIDGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_OVS
ganeti._constants.html#DEFAULT_OVS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CLASSIC_DRBD_SYNC_SPEED
ganeti._constants.html#CLASSIC_DRBD_SYNC_SPEED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP4_ADDRESS_ANY
ganeti._constants.html#IP4_ADDRESS_ANY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP4_ADDRESS_LOCALHOST
ganeti._constants.html#IP4_ADDRESS_LOCALHOST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP6_ADDRESS_ANY
ganeti._constants.html#IP6_ADDRESS_ANY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP6_ADDRESS_LOCALHOST
ganeti._constants.html#IP6_ADDRESS_LOCALHOST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP4_VERSION
ganeti._constants.html#IP4_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP6_VERSION
ganeti._constants.html#IP6_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_IP_VERSIONS
ganeti._constants.html#VALID_IP_VERSIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.TCP_PING_TIMEOUT
ganeti._constants.html#TCP_PING_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_VG
ganeti._constants.html#DEFAULT_VG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_DRBD_HELPER
ganeti._constants.html#DEFAULT_DRBD_HELPER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MIN_VG_SIZE
ganeti._constants.html#MIN_VG_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_MAC_PREFIX
ganeti._constants.html#DEFAULT_MAC_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_SHUTDOWN_TIMEOUT
ganeti._constants.html#DEFAULT_SHUTDOWN_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODE_MAX_CLOCK_SKEW
ganeti._constants.html#NODE_MAX_CLOCK_SKEW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_TRANSFER_CONNECT_TIMEOUT
ganeti._constants.html#DISK_TRANSFER_CONNECT_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_SEPARATOR
ganeti._constants.html#DISK_SEPARATOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IP_COMMAND_PATH
ganeti._constants.html#IP_COMMAND_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_IDS_KEY
ganeti._constants.html#JOB_IDS_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RUNPARTS_ERR
ganeti._constants.html#RUNPARTS_ERR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RUNPARTS_RUN
ganeti._constants.html#RUNPARTS_RUN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RUNPARTS_SKIP
ganeti._constants.html#RUNPARTS_SKIP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RUNPARTS_STATUS
ganeti._constants.html#RUNPARTS_STATUS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_ENCODING_NONE
ganeti._constants.html#RPC_ENCODING_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_ENCODING_ZLIB_BASE64
ganeti._constants.html#RPC_ENCODING_ZLIB_BASE64
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_TMO_URGENT
ganeti._constants.html#RPC_TMO_URGENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_TMO_FAST
ganeti._constants.html#RPC_TMO_FAST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_TMO_NORMAL
ganeti._constants.html#RPC_TMO_NORMAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_TMO_SLOW
ganeti._constants.html#RPC_TMO_SLOW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_TMO_4HRS
ganeti._constants.html#RPC_TMO_4HRS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_TMO_1DAY
ganeti._constants.html#RPC_TMO_1DAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RPC_CONNECT_TIMEOUT
ganeti._constants.html#RPC_CONNECT_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPT_CREATE
ganeti._constants.html#OS_SCRIPT_CREATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPT_CREATE_UNTRUSTED
ganeti._constants.html#OS_SCRIPT_CREATE_UNTRUSTED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPT_EXPORT
ganeti._constants.html#OS_SCRIPT_EXPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPT_IMPORT
ganeti._constants.html#OS_SCRIPT_IMPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPT_RENAME
ganeti._constants.html#OS_SCRIPT_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPT_VERIFY
ganeti._constants.html#OS_SCRIPT_VERIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_SCRIPTS
ganeti._constants.html#OS_SCRIPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_API_FILE
ganeti._constants.html#OS_API_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_VARIANTS_FILE
ganeti._constants.html#OS_VARIANTS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_PARAMETERS_FILE
ganeti._constants.html#OS_PARAMETERS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_VALIDATE_PARAMETERS
ganeti._constants.html#OS_VALIDATE_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OS_VALIDATE_CALLS
ganeti._constants.html#OS_VALIDATE_CALLS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_ATTACH
ganeti._constants.html#ES_ACTION_ATTACH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_CREATE
ganeti._constants.html#ES_ACTION_CREATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_DETACH
ganeti._constants.html#ES_ACTION_DETACH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_GROW
ganeti._constants.html#ES_ACTION_GROW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_REMOVE
ganeti._constants.html#ES_ACTION_REMOVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_SETINFO
ganeti._constants.html#ES_ACTION_SETINFO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_VERIFY
ganeti._constants.html#ES_ACTION_VERIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_SNAPSHOT
ganeti._constants.html#ES_ACTION_SNAPSHOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_OPEN
ganeti._constants.html#ES_ACTION_OPEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_ACTION_CLOSE
ganeti._constants.html#ES_ACTION_CLOSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_CREATE
ganeti._constants.html#ES_SCRIPT_CREATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_REMOVE
ganeti._constants.html#ES_SCRIPT_REMOVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_GROW
ganeti._constants.html#ES_SCRIPT_GROW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_ATTACH
ganeti._constants.html#ES_SCRIPT_ATTACH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_DETACH
ganeti._constants.html#ES_SCRIPT_DETACH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_SETINFO
ganeti._constants.html#ES_SCRIPT_SETINFO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_VERIFY
ganeti._constants.html#ES_SCRIPT_VERIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_SNAPSHOT
ganeti._constants.html#ES_SCRIPT_SNAPSHOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_OPEN
ganeti._constants.html#ES_SCRIPT_OPEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPT_CLOSE
ganeti._constants.html#ES_SCRIPT_CLOSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_SCRIPTS
ganeti._constants.html#ES_SCRIPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ES_PARAMETERS_FILE
ganeti._constants.html#ES_PARAMETERS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_REBOOT_SOFT
ganeti._constants.html#INSTANCE_REBOOT_SOFT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_REBOOT_HARD
ganeti._constants.html#INSTANCE_REBOOT_HARD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_REBOOT_FULL
ganeti._constants.html#INSTANCE_REBOOT_FULL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REBOOT_TYPES
ganeti._constants.html#REBOOT_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_REBOOT_ALLOWED
ganeti._constants.html#INSTANCE_REBOOT_ALLOWED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_REBOOT_EXIT
ganeti._constants.html#INSTANCE_REBOOT_EXIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REBOOT_BEHAVIORS
ganeti._constants.html#REBOOT_BEHAVIORS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VTYPE_BOOL
ganeti._constants.html#VTYPE_BOOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VTYPE_INT
ganeti._constants.html#VTYPE_INT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VTYPE_FLOAT
ganeti._constants.html#VTYPE_FLOAT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VTYPE_MAYBE_STRING
ganeti._constants.html#VTYPE_MAYBE_STRING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VTYPE_SIZE
ganeti._constants.html#VTYPE_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VTYPE_STRING
ganeti._constants.html#VTYPE_STRING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ENFORCEABLE_TYPES
ganeti._constants.html#ENFORCEABLE_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IFACE_NO_IP_VERSION_SPECIFIED
ganeti._constants.html#IFACE_NO_IP_VERSION_SPECIFIED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_SERIAL_SPEEDS
ganeti._constants.html#VALID_SERIAL_SPEEDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_ACPI
ganeti._constants.html#HV_ACPI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_BLOCKDEV_PREFIX
ganeti._constants.html#HV_BLOCKDEV_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_BOOTLOADER_ARGS
ganeti._constants.html#HV_BOOTLOADER_ARGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_BOOTLOADER_PATH
ganeti._constants.html#HV_BOOTLOADER_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_BOOT_ORDER
ganeti._constants.html#HV_BOOT_ORDER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CDROM_IMAGE_PATH
ganeti._constants.html#HV_CDROM_IMAGE_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_CAP
ganeti._constants.html#HV_CPU_CAP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_CORES
ganeti._constants.html#HV_CPU_CORES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_MASK
ganeti._constants.html#HV_CPU_MASK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_SOCKETS
ganeti._constants.html#HV_CPU_SOCKETS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_THREADS
ganeti._constants.html#HV_CPU_THREADS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_TYPE
ganeti._constants.html#HV_CPU_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_CPU_WEIGHT
ganeti._constants.html#HV_CPU_WEIGHT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_DEVICE_MODEL
ganeti._constants.html#HV_DEVICE_MODEL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_DISK_CACHE
ganeti._constants.html#HV_DISK_CACHE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_DISK_DISCARD
ganeti._constants.html#HV_DISK_DISCARD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_DISK_TYPE
ganeti._constants.html#HV_DISK_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_INITRD_PATH
ganeti._constants.html#HV_INITRD_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_INIT_SCRIPT
ganeti._constants.html#HV_INIT_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KERNEL_ARGS
ganeti._constants.html#HV_KERNEL_ARGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KERNEL_PATH
ganeti._constants.html#HV_KERNEL_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KEYMAP
ganeti._constants.html#HV_KEYMAP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_CDROM2_IMAGE_PATH
ganeti._constants.html#HV_KVM_CDROM2_IMAGE_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_CDROM_DISK_TYPE
ganeti._constants.html#HV_KVM_CDROM_DISK_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_FLAG
ganeti._constants.html#HV_KVM_FLAG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_FLOPPY_IMAGE_PATH
ganeti._constants.html#HV_KVM_FLOPPY_IMAGE_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_MACHINE_VERSION
ganeti._constants.html#HV_KVM_MACHINE_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_MIGRATION_CAPS
ganeti._constants.html#HV_KVM_MIGRATION_CAPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_PATH
ganeti._constants.html#HV_KVM_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_DISK_AIO
ganeti._constants.html#HV_KVM_DISK_AIO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SCSI_CONTROLLER_TYPE
ganeti._constants.html#HV_KVM_SCSI_CONTROLLER_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_PCI_RESERVATIONS
ganeti._constants.html#HV_KVM_PCI_RESERVATIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_AUDIO_COMPR
ganeti._constants.html#HV_KVM_SPICE_AUDIO_COMPR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_BIND
ganeti._constants.html#HV_KVM_SPICE_BIND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_IP_VERSION
ganeti._constants.html#HV_KVM_SPICE_IP_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_JPEG_IMG_COMPR
ganeti._constants.html#HV_KVM_SPICE_JPEG_IMG_COMPR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_LOSSLESS_IMG_COMPR
ganeti._constants.html#HV_KVM_SPICE_LOSSLESS_IMG_COMPR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_PASSWORD_FILE
ganeti._constants.html#HV_KVM_SPICE_PASSWORD_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_STREAMING_VIDEO_DETECTION
ganeti._constants.html#HV_KVM_SPICE_STREAMING_VIDEO_DETECTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_TLS_CIPHERS
ganeti._constants.html#HV_KVM_SPICE_TLS_CIPHERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_USE_TLS
ganeti._constants.html#HV_KVM_SPICE_USE_TLS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_USE_VDAGENT
ganeti._constants.html#HV_KVM_SPICE_USE_VDAGENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_SPICE_ZLIB_GLZ_IMG_COMPR
ganeti._constants.html#HV_KVM_SPICE_ZLIB_GLZ_IMG_COMPR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_DEBUG_THREADS
ganeti._constants.html#HV_KVM_DEBUG_THREADS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_USE_CHROOT
ganeti._constants.html#HV_KVM_USE_CHROOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_USER_SHUTDOWN
ganeti._constants.html#HV_KVM_USER_SHUTDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_LXC_STARTUP_TIMEOUT
ganeti._constants.html#HV_LXC_STARTUP_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_LXC_DEVICES
ganeti._constants.html#HV_LXC_DEVICES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_LXC_DROP_CAPABILITIES
ganeti._constants.html#HV_LXC_DROP_CAPABILITIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_LXC_NUM_TTYS
ganeti._constants.html#HV_LXC_NUM_TTYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MEM_PATH
ganeti._constants.html#HV_MEM_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_BANDWIDTH
ganeti._constants.html#HV_MIGRATION_BANDWIDTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_DOWNTIME
ganeti._constants.html#HV_MIGRATION_DOWNTIME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_MODE
ganeti._constants.html#HV_MIGRATION_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_PORT
ganeti._constants.html#HV_MIGRATION_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_NIC_TYPE
ganeti._constants.html#HV_NIC_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_PAE
ganeti._constants.html#HV_PAE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_PASSTHROUGH
ganeti._constants.html#HV_PASSTHROUGH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_REBOOT_BEHAVIOR
ganeti._constants.html#HV_REBOOT_BEHAVIOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_ROOT_PATH
ganeti._constants.html#HV_ROOT_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_SECURITY_DOMAIN
ganeti._constants.html#HV_SECURITY_DOMAIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_SECURITY_MODEL
ganeti._constants.html#HV_SECURITY_MODEL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_SERIAL_CONSOLE
ganeti._constants.html#HV_SERIAL_CONSOLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_SERIAL_SPEED
ganeti._constants.html#HV_SERIAL_SPEED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_SOUNDHW
ganeti._constants.html#HV_SOUNDHW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_USB_DEVICES
ganeti._constants.html#HV_USB_DEVICES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_USB_MOUSE
ganeti._constants.html#HV_USB_MOUSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_USE_BOOTLOADER
ganeti._constants.html#HV_USE_BOOTLOADER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_USE_GUEST_AGENT
ganeti._constants.html#HV_USE_GUEST_AGENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_USE_LOCALTIME
ganeti._constants.html#HV_USE_LOCALTIME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VGA
ganeti._constants.html#HV_VGA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VHOST_NET
ganeti._constants.html#HV_VHOST_NET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VIRTIO_NET_QUEUES
ganeti._constants.html#HV_VIRTIO_NET_QUEUES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VIF_SCRIPT
ganeti._constants.html#HV_VIF_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VIF_TYPE
ganeti._constants.html#HV_VIF_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VIRIDIAN
ganeti._constants.html#HV_VIRIDIAN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VNC_BIND_ADDRESS
ganeti._constants.html#HV_VNC_BIND_ADDRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VNC_PASSWORD_FILE
ganeti._constants.html#HV_VNC_PASSWORD_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VNC_TLS
ganeti._constants.html#HV_VNC_TLS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VNC_X509
ganeti._constants.html#HV_VNC_X509
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VNC_X509_VERIFY
ganeti._constants.html#HV_VNC_X509_VERIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_VNET_HDR
ganeti._constants.html#HV_VNET_HDR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_XEN_CPUID
ganeti._constants.html#HV_XEN_CPUID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVS_PARAMETER_TITLES
ganeti._constants.html#HVS_PARAMETER_TITLES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVS_PARAMETERS
ganeti._constants.html#HVS_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVS_PARAMETER_TYPES
ganeti._constants.html#HVS_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_ACTIVE
ganeti._constants.html#HV_MIGRATION_ACTIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_CANCELLED
ganeti._constants.html#HV_MIGRATION_CANCELLED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_COMPLETED
ganeti._constants.html#HV_MIGRATION_COMPLETED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_FAILED
ganeti._constants.html#HV_MIGRATION_FAILED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_VALID_STATUSES
ganeti._constants.html#HV_MIGRATION_VALID_STATUSES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_MIGRATION_FAILED_STATUSES
ganeti._constants.html#HV_MIGRATION_FAILED_STATUSES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_MIGRATION_POSTCOPY_ACTIVE
ganeti._constants.html#HV_KVM_MIGRATION_POSTCOPY_ACTIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_MIGRATION_VALID_STATUSES
ganeti._constants.html#HV_KVM_MIGRATION_VALID_STATUSES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_KVM_MIGRATION_ACTIVE_STATUSES
ganeti._constants.html#HV_KVM_MIGRATION_ACTIVE_STATUSES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HV_NODEINFO_KEY_VERSION
ganeti._constants.html#HV_NODEINFO_KEY_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVST_CPU_NODE
ganeti._constants.html#HVST_CPU_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVST_CPU_TOTAL
ganeti._constants.html#HVST_CPU_TOTAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVST_MEMORY_HV
ganeti._constants.html#HVST_MEMORY_HV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVST_MEMORY_NODE
ganeti._constants.html#HVST_MEMORY_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVST_MEMORY_TOTAL
ganeti._constants.html#HVST_MEMORY_TOTAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVSTS_PARAMETERS
ganeti._constants.html#HVSTS_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVST_DEFAULTS
ganeti._constants.html#HVST_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVSTS_PARAMETER_TYPES
ganeti._constants.html#HVSTS_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DS_DISK_OVERHEAD
ganeti._constants.html#DS_DISK_OVERHEAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DS_DISK_RESERVED
ganeti._constants.html#DS_DISK_RESERVED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DS_DISK_TOTAL
ganeti._constants.html#DS_DISK_TOTAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DS_DEFAULTS
ganeti._constants.html#DS_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DSS_PARAMETER_TYPES
ganeti._constants.html#DSS_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DSS_PARAMETERS
ganeti._constants.html#DSS_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DS_VALID_TYPES
ganeti._constants.html#DS_VALID_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_ALWAYS_FAILOVER
ganeti._constants.html#BE_ALWAYS_FAILOVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_AUTO_BALANCE
ganeti._constants.html#BE_AUTO_BALANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_MAXMEM
ganeti._constants.html#BE_MAXMEM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_MEMORY
ganeti._constants.html#BE_MEMORY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_MINMEM
ganeti._constants.html#BE_MINMEM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_SPINDLE_USE
ganeti._constants.html#BE_SPINDLE_USE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BE_VCPUS
ganeti._constants.html#BE_VCPUS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BES_PARAMETER_TYPES
ganeti._constants.html#BES_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BES_PARAMETER_TITLES
ganeti._constants.html#BES_PARAMETER_TITLES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BES_PARAMETER_COMPAT
ganeti._constants.html#BES_PARAMETER_COMPAT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BES_PARAMETERS
ganeti._constants.html#BES_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPEC_MEM_SIZE
ganeti._constants.html#ISPEC_MEM_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPEC_CPU_COUNT
ganeti._constants.html#ISPEC_CPU_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPEC_DISK_COUNT
ganeti._constants.html#ISPEC_DISK_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPEC_DISK_SIZE
ganeti._constants.html#ISPEC_DISK_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPEC_NIC_COUNT
ganeti._constants.html#ISPEC_NIC_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPEC_SPINDLE_USE
ganeti._constants.html#ISPEC_SPINDLE_USE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_PARAMETER_TYPES
ganeti._constants.html#ISPECS_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_PARAMETERS
ganeti._constants.html#ISPECS_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_MINMAX
ganeti._constants.html#ISPECS_MINMAX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_MAX
ganeti._constants.html#ISPECS_MAX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_MIN
ganeti._constants.html#ISPECS_MIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_STD
ganeti._constants.html#ISPECS_STD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPOLICY_DTS
ganeti._constants.html#IPOLICY_DTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPOLICY_VCPU_RATIO
ganeti._constants.html#IPOLICY_VCPU_RATIO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPOLICY_SPINDLE_RATIO
ganeti._constants.html#IPOLICY_SPINDLE_RATIO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_MINMAX_KEYS
ganeti._constants.html#ISPECS_MINMAX_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPOLICY_PARAMETERS
ganeti._constants.html#IPOLICY_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPOLICY_ALL_KEYS
ganeti._constants.html#IPOLICY_ALL_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_EXCLUSIVE_STORAGE
ganeti._constants.html#ND_EXCLUSIVE_STORAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_OOB_PROGRAM
ganeti._constants.html#ND_OOB_PROGRAM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_SPINDLE_COUNT
ganeti._constants.html#ND_SPINDLE_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_OVS
ganeti._constants.html#ND_OVS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_OVS_LINK
ganeti._constants.html#ND_OVS_LINK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_OVS_NAME
ganeti._constants.html#ND_OVS_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_SSH_PORT
ganeti._constants.html#ND_SSH_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ND_CPU_SPEED
ganeti._constants.html#ND_CPU_SPEED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_PARAMETER_TYPES
ganeti._constants.html#NDS_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_PARAMETERS
ganeti._constants.html#NDS_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_PARAMETER_TITLES
ganeti._constants.html#NDS_PARAMETER_TITLES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_ACCESS
ganeti._constants.html#LDP_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_BARRIERS
ganeti._constants.html#LDP_BARRIERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_DEFAULT_METAVG
ganeti._constants.html#LDP_DEFAULT_METAVG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_DELAY_TARGET
ganeti._constants.html#LDP_DELAY_TARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_DISK_CUSTOM
ganeti._constants.html#LDP_DISK_CUSTOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_DYNAMIC_RESYNC
ganeti._constants.html#LDP_DYNAMIC_RESYNC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_FILL_TARGET
ganeti._constants.html#LDP_FILL_TARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_MAX_RATE
ganeti._constants.html#LDP_MAX_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_MIN_RATE
ganeti._constants.html#LDP_MIN_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_NET_CUSTOM
ganeti._constants.html#LDP_NET_CUSTOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_NO_META_FLUSH
ganeti._constants.html#LDP_NO_META_FLUSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_PLAN_AHEAD
ganeti._constants.html#LDP_PLAN_AHEAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_POOL
ganeti._constants.html#LDP_POOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_PROTOCOL
ganeti._constants.html#LDP_PROTOCOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_RESYNC_RATE
ganeti._constants.html#LDP_RESYNC_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LDP_STRIPES
ganeti._constants.html#LDP_STRIPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_LD_TYPES
ganeti._constants.html#DISK_LD_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_LD_PARAMETERS
ganeti._constants.html#DISK_LD_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_RESYNC_RATE
ganeti._constants.html#DRBD_RESYNC_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DATA_STRIPES
ganeti._constants.html#DRBD_DATA_STRIPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_META_STRIPES
ganeti._constants.html#DRBD_META_STRIPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DISK_BARRIERS
ganeti._constants.html#DRBD_DISK_BARRIERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_META_BARRIERS
ganeti._constants.html#DRBD_META_BARRIERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DEFAULT_METAVG
ganeti._constants.html#DRBD_DEFAULT_METAVG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DISK_CUSTOM
ganeti._constants.html#DRBD_DISK_CUSTOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_NET_CUSTOM
ganeti._constants.html#DRBD_NET_CUSTOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_PROTOCOL
ganeti._constants.html#DRBD_PROTOCOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DYNAMIC_RESYNC
ganeti._constants.html#DRBD_DYNAMIC_RESYNC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_PLAN_AHEAD
ganeti._constants.html#DRBD_PLAN_AHEAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_FILL_TARGET
ganeti._constants.html#DRBD_FILL_TARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_DELAY_TARGET
ganeti._constants.html#DRBD_DELAY_TARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_MAX_RATE
ganeti._constants.html#DRBD_MAX_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DRBD_MIN_RATE
ganeti._constants.html#DRBD_MIN_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LV_STRIPES
ganeti._constants.html#LV_STRIPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RBD_ACCESS
ganeti._constants.html#RBD_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RBD_POOL
ganeti._constants.html#RBD_POOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_DT_TYPES
ganeti._constants.html#DISK_DT_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_DT_PARAMETERS
ganeti._constants.html#DISK_DT_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDP_LOCAL_IP
ganeti._constants.html#DDP_LOCAL_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDP_REMOTE_IP
ganeti._constants.html#DDP_REMOTE_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDP_PORT
ganeti._constants.html#DDP_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDP_LOCAL_MINOR
ganeti._constants.html#DDP_LOCAL_MINOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DDP_REMOTE_MINOR
ganeti._constants.html#DDP_REMOTE_MINOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_POWER_ON
ganeti._constants.html#OOB_POWER_ON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_POWER_OFF
ganeti._constants.html#OOB_POWER_OFF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_POWER_CYCLE
ganeti._constants.html#OOB_POWER_CYCLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_POWER_STATUS
ganeti._constants.html#OOB_POWER_STATUS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_HEALTH
ganeti._constants.html#OOB_HEALTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_COMMANDS
ganeti._constants.html#OOB_COMMANDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_POWER_STATUS_POWERED
ganeti._constants.html#OOB_POWER_STATUS_POWERED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_TIMEOUT
ganeti._constants.html#OOB_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_POWER_DELAY
ganeti._constants.html#OOB_POWER_DELAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_STATUS_CRITICAL
ganeti._constants.html#OOB_STATUS_CRITICAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_STATUS_OK
ganeti._constants.html#OOB_STATUS_OK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_STATUS_UNKNOWN
ganeti._constants.html#OOB_STATUS_UNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_STATUS_WARNING
ganeti._constants.html#OOB_STATUS_WARNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OOB_STATUSES
ganeti._constants.html#OOB_STATUSES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PP_DEFAULT
ganeti._constants.html#PP_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_LINK
ganeti._constants.html#NIC_LINK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_MODE
ganeti._constants.html#NIC_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_VLAN
ganeti._constants.html#NIC_VLAN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NICS_PARAMETER_TYPES
ganeti._constants.html#NICS_PARAMETER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NICS_PARAMETERS
ganeti._constants.html#NICS_PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_MODE_BRIDGED
ganeti._constants.html#NIC_MODE_BRIDGED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_MODE_ROUTED
ganeti._constants.html#NIC_MODE_ROUTED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_MODE_OVS
ganeti._constants.html#NIC_MODE_OVS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_IP_POOL
ganeti._constants.html#NIC_IP_POOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NIC_VALID_MODES
ganeti._constants.html#NIC_VALID_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RELEASE_ACTION
ganeti._constants.html#RELEASE_ACTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RESERVE_ACTION
ganeti._constants.html#RESERVE_ACTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_ADOPT
ganeti._constants.html#IDISK_ADOPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_METAVG
ganeti._constants.html#IDISK_METAVG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_MODE
ganeti._constants.html#IDISK_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_NAME
ganeti._constants.html#IDISK_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_SIZE
ganeti._constants.html#IDISK_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_SPINDLES
ganeti._constants.html#IDISK_SPINDLES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_VG
ganeti._constants.html#IDISK_VG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_PROVIDER
ganeti._constants.html#IDISK_PROVIDER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_ACCESS
ganeti._constants.html#IDISK_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_TYPE
ganeti._constants.html#IDISK_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_PARAMS_TYPES
ganeti._constants.html#IDISK_PARAMS_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IDISK_PARAMS
ganeti._constants.html#IDISK_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MODIFIABLE_IDISK_PARAMS_TYPES
ganeti._constants.html#MODIFIABLE_IDISK_PARAMS_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MODIFIABLE_IDISK_PARAMS
ganeti._constants.html#MODIFIABLE_IDISK_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_BRIDGE
ganeti._constants.html#INIC_BRIDGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_IP
ganeti._constants.html#INIC_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_LINK
ganeti._constants.html#INIC_LINK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_MAC
ganeti._constants.html#INIC_MAC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_MODE
ganeti._constants.html#INIC_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_NAME
ganeti._constants.html#INIC_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_NETWORK
ganeti._constants.html#INIC_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_VLAN
ganeti._constants.html#INIC_VLAN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_PARAMS_TYPES
ganeti._constants.html#INIC_PARAMS_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INIC_PARAMS
ganeti._constants.html#INIC_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_XEN_PVM
ganeti._constants.html#HT_XEN_PVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_FAKE
ganeti._constants.html#HT_FAKE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_XEN_HVM
ganeti._constants.html#HT_XEN_HVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM
ganeti._constants.html#HT_KVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_CHROOT
ganeti._constants.html#HT_CHROOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_LXC
ganeti._constants.html#HT_LXC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HYPER_TYPES
ganeti._constants.html#HYPER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HTS_REQ_PORT
ganeti._constants.html#HTS_REQ_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VNC_BASE_PORT
ganeti._constants.html#VNC_BASE_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VNC_DEFAULT_BIND_ADDRESS
ganeti._constants.html#VNC_DEFAULT_BIND_ADDRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QEMU_PCI_SLOTS
ganeti._constants.html#QEMU_PCI_SLOTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QEMU_DEFAULT_PCI_RESERVATIONS
ganeti._constants.html#QEMU_DEFAULT_PCI_RESERVATIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_E1000
ganeti._constants.html#HT_NIC_E1000
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_I82551
ganeti._constants.html#HT_NIC_I82551
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_I8259ER
ganeti._constants.html#HT_NIC_I8259ER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_I85557B
ganeti._constants.html#HT_NIC_I85557B
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_NE2K_ISA
ganeti._constants.html#HT_NIC_NE2K_ISA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_NE2K_PCI
ganeti._constants.html#HT_NIC_NE2K_PCI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_PARAVIRTUAL
ganeti._constants.html#HT_NIC_PARAVIRTUAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_PCNET
ganeti._constants.html#HT_NIC_PCNET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_NIC_RTL8139
ganeti._constants.html#HT_NIC_RTL8139
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_HVM_VALID_NIC_TYPES
ganeti._constants.html#HT_HVM_VALID_NIC_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_NIC_TYPES
ganeti._constants.html#HT_KVM_VALID_NIC_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_HVM_VIF_IOEMU
ganeti._constants.html#HT_HVM_VIF_IOEMU
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_HVM_VIF_VIF
ganeti._constants.html#HT_HVM_VIF_VIF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_HVM_VALID_VIF_TYPES
ganeti._constants.html#HT_HVM_VALID_VIF_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_IDE
ganeti._constants.html#HT_DISK_IDE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_IOEMU
ganeti._constants.html#HT_DISK_IOEMU
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_MTD
ganeti._constants.html#HT_DISK_MTD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_PARAVIRTUAL
ganeti._constants.html#HT_DISK_PARAVIRTUAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_PFLASH
ganeti._constants.html#HT_DISK_PFLASH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_SCSI
ganeti._constants.html#HT_DISK_SCSI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_SD
ganeti._constants.html#HT_DISK_SD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_SCSI_GENERIC
ganeti._constants.html#HT_DISK_SCSI_GENERIC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_SCSI_BLOCK
ganeti._constants.html#HT_DISK_SCSI_BLOCK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_SCSI_CD
ganeti._constants.html#HT_DISK_SCSI_CD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISK_SCSI_HD
ganeti._constants.html#HT_DISK_SCSI_HD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SCSI_DEVICE_TYPES
ganeti._constants.html#HT_SCSI_DEVICE_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_HVM_VALID_DISK_TYPES
ganeti._constants.html#HT_HVM_VALID_DISK_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_DISK_TYPES
ganeti._constants.html#HT_KVM_VALID_DISK_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SCSI_CONTROLLER_LSI
ganeti._constants.html#HT_SCSI_CONTROLLER_LSI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SCSI_CONTROLLER_VIRTIO
ganeti._constants.html#HT_SCSI_CONTROLLER_VIRTIO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SCSI_CONTROLLER_MEGASAS
ganeti._constants.html#HT_SCSI_CONTROLLER_MEGASAS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_SCSI_CONTROLLER_TYPES
ganeti._constants.html#HT_KVM_VALID_SCSI_CONTROLLER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_CACHE_DEFAULT
ganeti._constants.html#HT_CACHE_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_CACHE_NONE
ganeti._constants.html#HT_CACHE_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_CACHE_WBACK
ganeti._constants.html#HT_CACHE_WBACK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_CACHE_WTHROUGH
ganeti._constants.html#HT_CACHE_WTHROUGH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_VALID_CACHE_TYPES
ganeti._constants.html#HT_VALID_CACHE_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISCARD_DEFAULT
ganeti._constants.html#HT_DISCARD_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISCARD_IGNORE
ganeti._constants.html#HT_DISCARD_IGNORE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_DISCARD_UNMAP
ganeti._constants.html#HT_DISCARD_UNMAP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_VALID_DISCARD_TYPES
ganeti._constants.html#HT_VALID_DISCARD_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_AIO_THREADS
ganeti._constants.html#HT_KVM_AIO_THREADS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_AIO_NATIVE
ganeti._constants.html#HT_KVM_AIO_NATIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_AIO_TYPES
ganeti._constants.html#HT_KVM_VALID_AIO_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_MOUSE_MOUSE
ganeti._constants.html#HT_MOUSE_MOUSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_MOUSE_TABLET
ganeti._constants.html#HT_MOUSE_TABLET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_MOUSE_TYPES
ganeti._constants.html#HT_KVM_VALID_MOUSE_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_BO_CDROM
ganeti._constants.html#HT_BO_CDROM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_BO_DISK
ganeti._constants.html#HT_BO_DISK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_BO_FLOPPY
ganeti._constants.html#HT_BO_FLOPPY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_BO_NETWORK
ganeti._constants.html#HT_BO_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_BO_TYPES
ganeti._constants.html#HT_KVM_VALID_BO_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSLESS_IMG_COMPR_AUTO_GLZ
ganeti._constants.html#HT_KVM_SPICE_LOSSLESS_IMG_COMPR_AUTO_GLZ
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSLESS_IMG_COMPR_AUTO_LZ
ganeti._constants.html#HT_KVM_SPICE_LOSSLESS_IMG_COMPR_AUTO_LZ
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSLESS_IMG_COMPR_GLZ
ganeti._constants.html#HT_KVM_SPICE_LOSSLESS_IMG_COMPR_GLZ
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSLESS_IMG_COMPR_LZ
ganeti._constants.html#HT_KVM_SPICE_LOSSLESS_IMG_COMPR_LZ
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSLESS_IMG_COMPR_OFF
ganeti._constants.html#HT_KVM_SPICE_LOSSLESS_IMG_COMPR_OFF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSLESS_IMG_COMPR_QUIC
ganeti._constants.html#HT_KVM_SPICE_LOSSLESS_IMG_COMPR_QUIC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_VALID_LOSSLESS_IMG_COMPR_OPTIONS
ganeti._constants.html#HT_KVM_SPICE_VALID_LOSSLESS_IMG_COMPR_OPTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSY_IMG_COMPR_ALWAYS
ganeti._constants.html#HT_KVM_SPICE_LOSSY_IMG_COMPR_ALWAYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSY_IMG_COMPR_AUTO
ganeti._constants.html#HT_KVM_SPICE_LOSSY_IMG_COMPR_AUTO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_LOSSY_IMG_COMPR_NEVER
ganeti._constants.html#HT_KVM_SPICE_LOSSY_IMG_COMPR_NEVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_VALID_LOSSY_IMG_COMPR_OPTIONS
ganeti._constants.html#HT_KVM_SPICE_VALID_LOSSY_IMG_COMPR_OPTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_VIDEO_STREAM_DETECTION_ALL
ganeti._constants.html#HT_KVM_SPICE_VIDEO_STREAM_DETECTION_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_VIDEO_STREAM_DETECTION_FILTER
ganeti._constants.html#HT_KVM_SPICE_VIDEO_STREAM_DETECTION_FILTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_VIDEO_STREAM_DETECTION_OFF
ganeti._constants.html#HT_KVM_SPICE_VIDEO_STREAM_DETECTION_OFF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_SPICE_VALID_VIDEO_STREAM_DETECTION_OPTIONS
ganeti._constants.html#HT_KVM_SPICE_VALID_VIDEO_STREAM_DETECTION_OPTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SM_NONE
ganeti._constants.html#HT_SM_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SM_POOL
ganeti._constants.html#HT_SM_POOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_SM_USER
ganeti._constants.html#HT_SM_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_VALID_SM_TYPES
ganeti._constants.html#HT_KVM_VALID_SM_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_DISABLED
ganeti._constants.html#HT_KVM_DISABLED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_ENABLED
ganeti._constants.html#HT_KVM_ENABLED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_KVM_FLAG_VALUES
ganeti._constants.html#HT_KVM_FLAG_VALUES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_MIGRATION_LIVE
ganeti._constants.html#HT_MIGRATION_LIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_MIGRATION_NONLIVE
ganeti._constants.html#HT_MIGRATION_NONLIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HT_MIGRATION_MODES
ganeti._constants.html#HT_MIGRATION_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VERIFY_NPLUSONE_MEM
ganeti._constants.html#VERIFY_NPLUSONE_MEM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VERIFY_OPTIONAL_CHECKS
ganeti._constants.html#VERIFY_OPTIONAL_CHECKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_TCLUSTER
ganeti._constants.html#CV_TCLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_TGROUP
ganeti._constants.html#CV_TGROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_TNODE
ganeti._constants.html#CV_TNODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_TINSTANCE
ganeti._constants.html#CV_TINSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_WARNING
ganeti._constants.html#CV_WARNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ERROR
ganeti._constants.html#CV_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ECLUSTERCERT
ganeti._constants.html#CV_ECLUSTERCERT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ECLUSTERCLIENTCERT
ganeti._constants.html#CV_ECLUSTERCLIENTCERT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ECLUSTERCFG
ganeti._constants.html#CV_ECLUSTERCFG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ECLUSTERDANGLINGINST
ganeti._constants.html#CV_ECLUSTERDANGLINGINST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ECLUSTERDANGLINGNODES
ganeti._constants.html#CV_ECLUSTERDANGLINGNODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ECLUSTERFILECHECK
ganeti._constants.html#CV_ECLUSTERFILECHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EGROUPDIFFERENTPVSIZE
ganeti._constants.html#CV_EGROUPDIFFERENTPVSIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEBADNODE
ganeti._constants.html#CV_EINSTANCEBADNODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEDOWN
ganeti._constants.html#CV_EINSTANCEDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEFAULTYDISK
ganeti._constants.html#CV_EINSTANCEFAULTYDISK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCELAYOUT
ganeti._constants.html#CV_EINSTANCELAYOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEMISSINGCFGPARAMETER
ganeti._constants.html#CV_EINSTANCEMISSINGCFGPARAMETER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEMISSINGDISK
ganeti._constants.html#CV_EINSTANCEMISSINGDISK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEPOLICY
ganeti._constants.html#CV_EINSTANCEPOLICY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCESPLITGROUPS
ganeti._constants.html#CV_EINSTANCESPLITGROUPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEUNSUITABLENODE
ganeti._constants.html#CV_EINSTANCEUNSUITABLENODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EINSTANCEWRONGNODE
ganeti._constants.html#CV_EINSTANCEWRONGNODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEDRBD
ganeti._constants.html#CV_ENODEDRBD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEDRBDHELPER
ganeti._constants.html#CV_ENODEDRBDHELPER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEDRBDVERSION
ganeti._constants.html#CV_ENODEDRBDVERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEFILECHECK
ganeti._constants.html#CV_ENODEFILECHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEFILESTORAGEPATHS
ganeti._constants.html#CV_ENODEFILESTORAGEPATHS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEFILESTORAGEPATHUNUSABLE
ganeti._constants.html#CV_ENODEFILESTORAGEPATHUNUSABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEHOOKS
ganeti._constants.html#CV_ENODEHOOKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEHV
ganeti._constants.html#CV_ENODEHV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODELVM
ganeti._constants.html#CV_ENODELVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEN1
ganeti._constants.html#CV_ENODEN1
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_EEXTAGS
ganeti._constants.html#CV_EEXTAGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODENET
ganeti._constants.html#CV_ENODENET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEOOBPATH
ganeti._constants.html#CV_ENODEOOBPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEORPHANINSTANCE
ganeti._constants.html#CV_ENODEORPHANINSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEORPHANLV
ganeti._constants.html#CV_ENODEORPHANLV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEOS
ganeti._constants.html#CV_ENODEOS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODERPC
ganeti._constants.html#CV_ENODERPC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODESETUP
ganeti._constants.html#CV_ENODESETUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODESHAREDFILESTORAGEPATHUNUSABLE
ganeti._constants.html#CV_ENODESHAREDFILESTORAGEPATHUNUSABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEGLUSTERSTORAGEPATHUNUSABLE
ganeti._constants.html#CV_ENODEGLUSTERSTORAGEPATHUNUSABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODESSH
ganeti._constants.html#CV_ENODESSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODETIME
ganeti._constants.html#CV_ENODETIME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEUSERSCRIPTS
ganeti._constants.html#CV_ENODEUSERSCRIPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ENODEVERSION
ganeti._constants.html#CV_ENODEVERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ALL_ECODES
ganeti._constants.html#CV_ALL_ECODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CV_ALL_ECODES_STRINGS
ganeti._constants.html#CV_ALL_ECODES_STRINGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_BRIDGES
ganeti._constants.html#NV_BRIDGES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_CLIENT_CERT
ganeti._constants.html#NV_CLIENT_CERT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_DRBDHELPER
ganeti._constants.html#NV_DRBDHELPER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_DRBDVERSION
ganeti._constants.html#NV_DRBDVERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_DRBDLIST
ganeti._constants.html#NV_DRBDLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_EXCLUSIVEPVS
ganeti._constants.html#NV_EXCLUSIVEPVS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_FILELIST
ganeti._constants.html#NV_FILELIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_ACCEPTED_STORAGE_PATHS
ganeti._constants.html#NV_ACCEPTED_STORAGE_PATHS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_FILE_STORAGE_PATH
ganeti._constants.html#NV_FILE_STORAGE_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_SHARED_FILE_STORAGE_PATH
ganeti._constants.html#NV_SHARED_FILE_STORAGE_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_GLUSTER_STORAGE_PATH
ganeti._constants.html#NV_GLUSTER_STORAGE_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_HVINFO
ganeti._constants.html#NV_HVINFO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_HVPARAMS
ganeti._constants.html#NV_HVPARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_HYPERVISOR
ganeti._constants.html#NV_HYPERVISOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_INSTANCELIST
ganeti._constants.html#NV_INSTANCELIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_LVLIST
ganeti._constants.html#NV_LVLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_MASTERIP
ganeti._constants.html#NV_MASTERIP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_NODELIST
ganeti._constants.html#NV_NODELIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_NODENETTEST
ganeti._constants.html#NV_NODENETTEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_NODESETUP
ganeti._constants.html#NV_NODESETUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_OOB_PATHS
ganeti._constants.html#NV_OOB_PATHS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_OSLIST
ganeti._constants.html#NV_OSLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_PVLIST
ganeti._constants.html#NV_PVLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_TIME
ganeti._constants.html#NV_TIME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_USERSCRIPTS
ganeti._constants.html#NV_USERSCRIPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_VERSION
ganeti._constants.html#NV_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_VGLIST
ganeti._constants.html#NV_VGLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_NONVMNODES
ganeti._constants.html#NV_NONVMNODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_SSH_SETUP
ganeti._constants.html#NV_SSH_SETUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NV_SSH_CLUTTER
ganeti._constants.html#NV_SSH_CLUTTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_ADMINDOWN
ganeti._constants.html#INSTST_ADMINDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_ADMINOFFLINE
ganeti._constants.html#INSTST_ADMINOFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_ERRORDOWN
ganeti._constants.html#INSTST_ERRORDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_ERRORUP
ganeti._constants.html#INSTST_ERRORUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_NODEDOWN
ganeti._constants.html#INSTST_NODEDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_NODEOFFLINE
ganeti._constants.html#INSTST_NODEOFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_RUNNING
ganeti._constants.html#INSTST_RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_USERDOWN
ganeti._constants.html#INSTST_USERDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_WRONGNODE
ganeti._constants.html#INSTST_WRONGNODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTST_ALL
ganeti._constants.html#INSTST_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMINST_DOWN
ganeti._constants.html#ADMINST_DOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMINST_OFFLINE
ganeti._constants.html#ADMINST_OFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMINST_UP
ganeti._constants.html#ADMINST_UP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMINST_ALL
ganeti._constants.html#ADMINST_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMIN_SOURCE
ganeti._constants.html#ADMIN_SOURCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.USER_SOURCE
ganeti._constants.html#USER_SOURCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ADMIN_STATE_SOURCES
ganeti._constants.html#ADMIN_STATE_SOURCES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NR_DRAINED
ganeti._constants.html#NR_DRAINED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NR_MASTER
ganeti._constants.html#NR_MASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NR_MCANDIDATE
ganeti._constants.html#NR_MCANDIDATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NR_OFFLINE
ganeti._constants.html#NR_OFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NR_REGULAR
ganeti._constants.html#NR_REGULAR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NR_ALL
ganeti._constants.html#NR_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSL_CERT_EXPIRATION_ERROR
ganeti._constants.html#SSL_CERT_EXPIRATION_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSL_CERT_EXPIRATION_WARN
ganeti._constants.html#SSL_CERT_EXPIRATION_WARN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_VERSION
ganeti._constants.html#IALLOCATOR_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_DIR_IN
ganeti._constants.html#IALLOCATOR_DIR_IN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_DIR_OUT
ganeti._constants.html#IALLOCATOR_DIR_OUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_IALLOCATOR_DIRECTIONS
ganeti._constants.html#VALID_IALLOCATOR_DIRECTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_MODE_ALLOC
ganeti._constants.html#IALLOCATOR_MODE_ALLOC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_MODE_ALLOCATE_SECONDARY
ganeti._constants.html#IALLOCATOR_MODE_ALLOCATE_SECONDARY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_MODE_CHG_GROUP
ganeti._constants.html#IALLOCATOR_MODE_CHG_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_MODE_MULTI_ALLOC
ganeti._constants.html#IALLOCATOR_MODE_MULTI_ALLOC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_MODE_NODE_EVAC
ganeti._constants.html#IALLOCATOR_MODE_NODE_EVAC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_MODE_RELOC
ganeti._constants.html#IALLOCATOR_MODE_RELOC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_IALLOCATOR_MODES
ganeti._constants.html#VALID_IALLOCATOR_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOCATOR_SEARCH_PATH
ganeti._constants.html#IALLOCATOR_SEARCH_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_IALLOCATOR_SHORTCUT
ganeti._constants.html#DEFAULT_IALLOCATOR_SHORTCUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_OPPORTUNISTIC_RETRY_INTERVAL
ganeti._constants.html#DEFAULT_OPPORTUNISTIC_RETRY_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODE_EVAC_PRI
ganeti._constants.html#NODE_EVAC_PRI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODE_EVAC_SEC
ganeti._constants.html#NODE_EVAC_SEC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODE_EVAC_ALL
ganeti._constants.html#NODE_EVAC_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NODE_EVAC_MODES
ganeti._constants.html#NODE_EVAC_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_QUEUE_VERSION
ganeti._constants.html#JOB_QUEUE_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_QUEUE_SIZE_HARD_LIMIT
ganeti._constants.html#JOB_QUEUE_SIZE_HARD_LIMIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_QUEUE_FILES_PERMS
ganeti._constants.html#JOB_QUEUE_FILES_PERMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_NOTCHANGED
ganeti._constants.html#JOB_NOTCHANGED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_QUEUED
ganeti._constants.html#JOB_STATUS_QUEUED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_WAITING
ganeti._constants.html#JOB_STATUS_WAITING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_CANCELING
ganeti._constants.html#JOB_STATUS_CANCELING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_RUNNING
ganeti._constants.html#JOB_STATUS_RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_CANCELED
ganeti._constants.html#JOB_STATUS_CANCELED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_SUCCESS
ganeti._constants.html#JOB_STATUS_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_ERROR
ganeti._constants.html#JOB_STATUS_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOBS_PENDING
ganeti._constants.html#JOBS_PENDING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOBS_FINALIZED
ganeti._constants.html#JOBS_FINALIZED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JOB_STATUS_ALL
ganeti._constants.html#JOB_STATUS_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_CANCELING
ganeti._constants.html#OP_STATUS_CANCELING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_QUEUED
ganeti._constants.html#OP_STATUS_QUEUED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_RUNNING
ganeti._constants.html#OP_STATUS_RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_WAITING
ganeti._constants.html#OP_STATUS_WAITING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_CANCELED
ganeti._constants.html#OP_STATUS_CANCELED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_ERROR
ganeti._constants.html#OP_STATUS_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_STATUS_SUCCESS
ganeti._constants.html#OP_STATUS_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPS_FINALIZED
ganeti._constants.html#OPS_FINALIZED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_LOWEST
ganeti._constants.html#OP_PRIO_LOWEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_HIGHEST
ganeti._constants.html#OP_PRIO_HIGHEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_LOW
ganeti._constants.html#OP_PRIO_LOW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_NORMAL
ganeti._constants.html#OP_PRIO_NORMAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_HIGH
ganeti._constants.html#OP_PRIO_HIGH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_SUBMIT_VALID
ganeti._constants.html#OP_PRIO_SUBMIT_VALID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OP_PRIO_DEFAULT
ganeti._constants.html#OP_PRIO_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LOCKS_APPEND
ganeti._constants.html#LOCKS_APPEND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LOCKS_REPLACE
ganeti._constants.html#LOCKS_REPLACE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LOCK_ATTEMPTS_MAXWAIT
ganeti._constants.html#LOCK_ATTEMPTS_MAXWAIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LOCK_ATTEMPTS_MINWAIT
ganeti._constants.html#LOCK_ATTEMPTS_MINWAIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LOCK_ATTEMPTS_TIMEOUT
ganeti._constants.html#LOCK_ATTEMPTS_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ELOG_MESSAGE
ganeti._constants.html#ELOG_MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ELOG_MESSAGE_LIST
ganeti._constants.html#ELOG_MESSAGE_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ELOG_REMOTE_IMPORT
ganeti._constants.html#ELOG_REMOTE_IMPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ELOG_JQUEUE_TEST
ganeti._constants.html#ELOG_JQUEUE_TEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ELOG_DELAY_TEST
ganeti._constants.html#ELOG_DELAY_TEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ETC_HOSTS_ADD
ganeti._constants.html#ETC_HOSTS_ADD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ETC_HOSTS_REMOVE
ganeti._constants.html#ETC_HOSTS_REMOVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JQT_MSGPREFIX
ganeti._constants.html#JQT_MSGPREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JQT_EXEC
ganeti._constants.html#JQT_EXEC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JQT_EXPANDNAMES
ganeti._constants.html#JQT_EXPANDNAMES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JQT_LOGMSG
ganeti._constants.html#JQT_LOGMSG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JQT_STARTMSG
ganeti._constants.html#JQT_STARTMSG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JQT_ALL
ganeti._constants.html#JQT_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_CLUSTER
ganeti._constants.html#QR_CLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_EXPORT
ganeti._constants.html#QR_EXPORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_EXTSTORAGE
ganeti._constants.html#QR_EXTSTORAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_GROUP
ganeti._constants.html#QR_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_INSTANCE
ganeti._constants.html#QR_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_JOB
ganeti._constants.html#QR_JOB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_LOCK
ganeti._constants.html#QR_LOCK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_NETWORK
ganeti._constants.html#QR_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_FILTER
ganeti._constants.html#QR_FILTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_NODE
ganeti._constants.html#QR_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_OS
ganeti._constants.html#QR_OS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_VIA_OP
ganeti._constants.html#QR_VIA_OP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_VIA_LUXI
ganeti._constants.html#QR_VIA_LUXI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_VIA_RAPI
ganeti._constants.html#QR_VIA_RAPI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QR_VIA_RAPI_PUT
ganeti._constants.html#QR_VIA_RAPI_PUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_BOOL
ganeti._constants.html#QFT_BOOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_NUMBER
ganeti._constants.html#QFT_NUMBER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_NUMBER_FLOAT
ganeti._constants.html#QFT_NUMBER_FLOAT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_OTHER
ganeti._constants.html#QFT_OTHER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_TEXT
ganeti._constants.html#QFT_TEXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_TIMESTAMP
ganeti._constants.html#QFT_TIMESTAMP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_UNIT
ganeti._constants.html#QFT_UNIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_UNKNOWN
ganeti._constants.html#QFT_UNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QFT_ALL
ganeti._constants.html#QFT_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RS_NODATA
ganeti._constants.html#RS_NODATA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RS_NORMAL
ganeti._constants.html#RS_NORMAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RS_OFFLINE
ganeti._constants.html#RS_OFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RS_UNAVAIL
ganeti._constants.html#RS_UNAVAIL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RS_UNKNOWN
ganeti._constants.html#RS_UNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RS_ALL
ganeti._constants.html#RS_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAX_DISKS
ganeti._constants.html#MAX_DISKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAX_NICS
ganeti._constants.html#MAX_NICS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSCONF_FILEPREFIX
ganeti._constants.html#SSCONF_FILEPREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_CLUSTER_NAME
ganeti._constants.html#SS_CLUSTER_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_CLUSTER_TAGS
ganeti._constants.html#SS_CLUSTER_TAGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_FILE_STORAGE_DIR
ganeti._constants.html#SS_FILE_STORAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_SHARED_FILE_STORAGE_DIR
ganeti._constants.html#SS_SHARED_FILE_STORAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_GLUSTER_STORAGE_DIR
ganeti._constants.html#SS_GLUSTER_STORAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_CANDIDATES
ganeti._constants.html#SS_MASTER_CANDIDATES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_CANDIDATES_IPS
ganeti._constants.html#SS_MASTER_CANDIDATES_IPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_CANDIDATES_CERTS
ganeti._constants.html#SS_MASTER_CANDIDATES_CERTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_IP
ganeti._constants.html#SS_MASTER_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_NETDEV
ganeti._constants.html#SS_MASTER_NETDEV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_NETMASK
ganeti._constants.html#SS_MASTER_NETMASK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MASTER_NODE
ganeti._constants.html#SS_MASTER_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_NODE_LIST
ganeti._constants.html#SS_NODE_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_NODE_PRIMARY_IPS
ganeti._constants.html#SS_NODE_PRIMARY_IPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_NODE_SECONDARY_IPS
ganeti._constants.html#SS_NODE_SECONDARY_IPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_NODE_VM_CAPABLE
ganeti._constants.html#SS_NODE_VM_CAPABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_OFFLINE_NODES
ganeti._constants.html#SS_OFFLINE_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_ONLINE_NODES
ganeti._constants.html#SS_ONLINE_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_PRIMARY_IP_FAMILY
ganeti._constants.html#SS_PRIMARY_IP_FAMILY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_INSTANCE_LIST
ganeti._constants.html#SS_INSTANCE_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_RELEASE_VERSION
ganeti._constants.html#SS_RELEASE_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HYPERVISOR_LIST
ganeti._constants.html#SS_HYPERVISOR_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_MAINTAIN_NODE_HEALTH
ganeti._constants.html#SS_MAINTAIN_NODE_HEALTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_UID_POOL
ganeti._constants.html#SS_UID_POOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_NODEGROUPS
ganeti._constants.html#SS_NODEGROUPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_NETWORKS
ganeti._constants.html#SS_NETWORKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_PREF
ganeti._constants.html#SS_HVPARAMS_PREF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_XEN_CHROOT
ganeti._constants.html#SS_HVPARAMS_XEN_CHROOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_XEN_FAKE
ganeti._constants.html#SS_HVPARAMS_XEN_FAKE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_XEN_HVM
ganeti._constants.html#SS_HVPARAMS_XEN_HVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_XEN_KVM
ganeti._constants.html#SS_HVPARAMS_XEN_KVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_XEN_LXC
ganeti._constants.html#SS_HVPARAMS_XEN_LXC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_HVPARAMS_XEN_PVM
ganeti._constants.html#SS_HVPARAMS_XEN_PVM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_SS_HVPARAMS_KEYS
ganeti._constants.html#VALID_SS_HVPARAMS_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_FILE_PERMS
ganeti._constants.html#SS_FILE_PERMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_ENABLED_USER_SHUTDOWN
ganeti._constants.html#SS_ENABLED_USER_SHUTDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SS_SSH_PORTS
ganeti._constants.html#SS_SSH_PORTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_SS_KEYS
ganeti._constants.html#VALID_SS_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_ENABLED_HYPERVISOR
ganeti._constants.html#DEFAULT_ENABLED_HYPERVISOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVC_DEFAULTS
ganeti._constants.html#HVC_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HVC_GLOBALS
ganeti._constants.html#HVC_GLOBALS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BEC_DEFAULTS
ganeti._constants.html#BEC_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDC_DEFAULTS
ganeti._constants.html#NDC_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDC_GLOBALS
ganeti._constants.html#NDC_GLOBALS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_DELAY_TARGET
ganeti._constants.html#DEFAULT_DELAY_TARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_DISK_CUSTOM
ganeti._constants.html#DEFAULT_DISK_CUSTOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_DISK_RESYNC
ganeti._constants.html#DEFAULT_DISK_RESYNC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_FILL_TARGET
ganeti._constants.html#DEFAULT_FILL_TARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_MIN_RATE
ganeti._constants.html#DEFAULT_MIN_RATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_NET_CUSTOM
ganeti._constants.html#DEFAULT_NET_CUSTOM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_PLAN_AHEAD
ganeti._constants.html#DEFAULT_PLAN_AHEAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_RBD_POOL
ganeti._constants.html#DEFAULT_RBD_POOL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_LD_DEFAULTS
ganeti._constants.html#DISK_LD_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_DT_DEFAULTS
ganeti._constants.html#DISK_DT_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NICC_DEFAULTS
ganeti._constants.html#NICC_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ISPECS_MINMAX_DEFAULTS
ganeti._constants.html#ISPECS_MINMAX_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPOLICY_DEFAULTS
ganeti._constants.html#IPOLICY_DEFAULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MASTER_POOL_SIZE_DEFAULT
ganeti._constants.html#MASTER_POOL_SIZE_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PART_MARGIN
ganeti._constants.html#PART_MARGIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PART_RESERVED
ganeti._constants.html#PART_RESERVED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_JOBQUEUE_POLL_INTERVAL
ganeti._constants.html#LUXID_JOBQUEUE_POLL_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_MAXIMAL_RUNNING_JOBS_DEFAULT
ganeti._constants.html#LUXID_MAXIMAL_RUNNING_JOBS_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_MAXIMAL_TRACKED_JOBS_DEFAULT
ganeti._constants.html#LUXID_MAXIMAL_TRACKED_JOBS_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_JOB_DEATH_DETECTION_RETRIES
ganeti._constants.html#LUXID_JOB_DEATH_DETECTION_RETRIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXID_JOB_DEATH_DELAY
ganeti._constants.html#LUXID_JOB_DEATH_DELAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONFD_DEATHDETECTION_INTERVALL
ganeti._constants.html#WCONFD_DEATHDETECTION_INTERVALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONFD_DEF_CTMO
ganeti._constants.html#WCONFD_DEF_CTMO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONFD_DEF_RWTO
ganeti._constants.html#WCONFD_DEF_RWTO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.WCONF_LIVELOCK_PREFIX
ganeti._constants.html#WCONF_LIVELOCK_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_PROTOCOL_VERSION
ganeti._constants.html#CONFD_PROTOCOL_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_PING
ganeti._constants.html#CONFD_REQ_PING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_NODE_ROLE_BYNAME
ganeti._constants.html#CONFD_REQ_NODE_ROLE_BYNAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_NODE_PIP_BY_INSTANCE_IP
ganeti._constants.html#CONFD_REQ_NODE_PIP_BY_INSTANCE_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_CLUSTER_MASTER
ganeti._constants.html#CONFD_REQ_CLUSTER_MASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_NODE_PIP_LIST
ganeti._constants.html#CONFD_REQ_NODE_PIP_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_MC_PIP_LIST
ganeti._constants.html#CONFD_REQ_MC_PIP_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_INSTANCES_IPS_LIST
ganeti._constants.html#CONFD_REQ_INSTANCES_IPS_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_NODE_DRBD
ganeti._constants.html#CONFD_REQ_NODE_DRBD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_NODE_INSTANCES
ganeti._constants.html#CONFD_REQ_NODE_INSTANCES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_INSTANCE_DISKS
ganeti._constants.html#CONFD_REQ_INSTANCE_DISKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_CONFIG_QUERY
ganeti._constants.html#CONFD_REQ_CONFIG_QUERY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQ_DATA_COLLECTORS
ganeti._constants.html#CONFD_REQ_DATA_COLLECTORS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQS
ganeti._constants.html#CONFD_REQS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQFIELD_NAME
ganeti._constants.html#CONFD_REQFIELD_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQFIELD_IP
ganeti._constants.html#CONFD_REQFIELD_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQFIELD_MNODE_PIP
ganeti._constants.html#CONFD_REQFIELD_MNODE_PIP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REPL_STATUS_OK
ganeti._constants.html#CONFD_REPL_STATUS_OK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REPL_STATUS_ERROR
ganeti._constants.html#CONFD_REPL_STATUS_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REPL_STATUS_NOTIMPLEMENTED
ganeti._constants.html#CONFD_REPL_STATUS_NOTIMPLEMENTED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REPL_STATUSES
ganeti._constants.html#CONFD_REPL_STATUSES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_NODE_ROLE_MASTER
ganeti._constants.html#CONFD_NODE_ROLE_MASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_NODE_ROLE_CANDIDATE
ganeti._constants.html#CONFD_NODE_ROLE_CANDIDATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_NODE_ROLE_OFFLINE
ganeti._constants.html#CONFD_NODE_ROLE_OFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_NODE_ROLE_DRAINED
ganeti._constants.html#CONFD_NODE_ROLE_DRAINED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_NODE_ROLE_REGULAR
ganeti._constants.html#CONFD_NODE_ROLE_REGULAR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_ERROR_UNKNOWN_ENTRY
ganeti._constants.html#CONFD_ERROR_UNKNOWN_ENTRY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_ERROR_INTERNAL
ganeti._constants.html#CONFD_ERROR_INTERNAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_ERROR_ARGUMENT
ganeti._constants.html#CONFD_ERROR_ARGUMENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQQ_LINK
ganeti._constants.html#CONFD_REQQ_LINK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQQ_IP
ganeti._constants.html#CONFD_REQQ_IP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQQ_IPLIST
ganeti._constants.html#CONFD_REQQ_IPLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_REQQ_FIELDS
ganeti._constants.html#CONFD_REQQ_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_MAX_CLOCK_SKEW
ganeti._constants.html#CONFD_MAX_CLOCK_SKEW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_CONFIG_RELOAD_TIMEOUT
ganeti._constants.html#CONFD_CONFIG_RELOAD_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_CONFIG_RELOAD_RATELIMIT
ganeti._constants.html#CONFD_CONFIG_RELOAD_RATELIMIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_MAGIC_FOURCC
ganeti._constants.html#CONFD_MAGIC_FOURCC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_MAGIC_FOURCC_BYTES
ganeti._constants.html#CONFD_MAGIC_FOURCC_BYTES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_DEFAULT_REQ_COVERAGE
ganeti._constants.html#CONFD_DEFAULT_REQ_COVERAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CONFD_CLIENT_EXPIRE_TIMEOUT
ganeti._constants.html#CONFD_CLIENT_EXPIRE_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MAX_UDP_DATA_SIZE
ganeti._constants.html#MAX_UDP_DATA_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.UIDPOOL_UID_MIN
ganeti._constants.html#UIDPOOL_UID_MIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.UIDPOOL_UID_MAX
ganeti._constants.html#UIDPOOL_UID_MAX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PGREP
ganeti._constants.html#PGREP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INITIAL_NODE_GROUP_NAME
ganeti._constants.html#INITIAL_NODE_GROUP_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ALLOC_POLICY_LAST_RESORT
ganeti._constants.html#ALLOC_POLICY_LAST_RESORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ALLOC_POLICY_PREFERRED
ganeti._constants.html#ALLOC_POLICY_PREFERRED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ALLOC_POLICY_UNALLOCABLE
ganeti._constants.html#ALLOC_POLICY_UNALLOCABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.VALID_ALLOC_POLICIES
ganeti._constants.html#VALID_ALLOC_POLICIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BLOCKDEV_DRIVER_MANUAL
ganeti._constants.html#BLOCKDEV_DRIVER_MANUAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QEMUIMG_PATH
ganeti._constants.html#QEMUIMG_PATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IALLOC_HAIL
ganeti._constants.html#IALLOC_HAIL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FAKE_OP_MASTER_TURNDOWN
ganeti._constants.html#FAKE_OP_MASTER_TURNDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.FAKE_OP_MASTER_TURNUP
ganeti._constants.html#FAKE_OP_MASTER_TURNUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_TYPE_SSL_DIGEST
ganeti._constants.html#CRYPTO_TYPE_SSL_DIGEST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_TYPE_SSH
ganeti._constants.html#CRYPTO_TYPE_SSH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_TYPES
ganeti._constants.html#CRYPTO_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_ACTION_GET
ganeti._constants.html#CRYPTO_ACTION_GET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_ACTION_CREATE
ganeti._constants.html#CRYPTO_ACTION_CREATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_ACTION_DELETE
ganeti._constants.html#CRYPTO_ACTION_DELETE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_ACTIONS
ganeti._constants.html#CRYPTO_ACTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_BOOTSTRAP
ganeti._constants.html#CRYPTO_BOOTSTRAP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_OPTION_CERT_FILE
ganeti._constants.html#CRYPTO_OPTION_CERT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CRYPTO_OPTION_SERIAL_NO
ganeti._constants.html#CRYPTO_OPTION_SERIAL_NO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHK_DSA
ganeti._constants.html#SSHK_DSA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHK_ECDSA
ganeti._constants.html#SSHK_ECDSA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHK_RSA
ganeti._constants.html#SSHK_RSA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHK_ALL
ganeti._constants.html#SSHK_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHAK_DSS
ganeti._constants.html#SSHAK_DSS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHAK_RSA
ganeti._constants.html#SSHAK_RSA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHAK_ALL
ganeti._constants.html#SSHAK_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_DEFAULT_KEY_TYPE
ganeti._constants.html#SSH_DEFAULT_KEY_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_DEFAULT_KEY_BITS
ganeti._constants.html#SSH_DEFAULT_KEY_BITS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_CLUSTER_NAME
ganeti._constants.html#SSHS_CLUSTER_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SSH_HOST_KEY
ganeti._constants.html#SSHS_SSH_HOST_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SSH_ROOT_KEY
ganeti._constants.html#SSHS_SSH_ROOT_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SSH_AUTHORIZED_KEYS
ganeti._constants.html#SSHS_SSH_AUTHORIZED_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SSH_PUBLIC_KEYS
ganeti._constants.html#SSHS_SSH_PUBLIC_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_NODE_DAEMON_CERTIFICATE
ganeti._constants.html#SSHS_NODE_DAEMON_CERTIFICATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SSH_KEY_TYPE
ganeti._constants.html#SSHS_SSH_KEY_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SSH_KEY_BITS
ganeti._constants.html#SSHS_SSH_KEY_BITS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_MAX_RETRIES
ganeti._constants.html#SSHS_MAX_RETRIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_ADD
ganeti._constants.html#SSHS_ADD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_REPLACE_OR_ADD
ganeti._constants.html#SSHS_REPLACE_OR_ADD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_REMOVE
ganeti._constants.html#SSHS_REMOVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_OVERRIDE
ganeti._constants.html#SSHS_OVERRIDE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_CLEAR
ganeti._constants.html#SSHS_CLEAR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_GENERATE
ganeti._constants.html#SSHS_GENERATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_SUFFIX
ganeti._constants.html#SSHS_SUFFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_MASTER_SUFFIX
ganeti._constants.html#SSHS_MASTER_SUFFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSHS_ACTIONS
ganeti._constants.html#SSHS_ACTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_HOST_DSA_PRIV
ganeti._constants.html#SSH_HOST_DSA_PRIV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_HOST_DSA_PUB
ganeti._constants.html#SSH_HOST_DSA_PUB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_HOST_ECDSA_PRIV
ganeti._constants.html#SSH_HOST_ECDSA_PRIV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_HOST_ECDSA_PUB
ganeti._constants.html#SSH_HOST_ECDSA_PUB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_HOST_RSA_PRIV
ganeti._constants.html#SSH_HOST_RSA_PRIV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_HOST_RSA_PUB
ganeti._constants.html#SSH_HOST_RSA_PUB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.SSH_DAEMON_KEYFILES
ganeti._constants.html#SSH_DAEMON_KEYFILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_CLUSTER_NAME
ganeti._constants.html#NDS_CLUSTER_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_NODE_DAEMON_CERTIFICATE
ganeti._constants.html#NDS_NODE_DAEMON_CERTIFICATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_SSCONF
ganeti._constants.html#NDS_SSCONF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_HMAC
ganeti._constants.html#NDS_HMAC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_START_NODE_DAEMON
ganeti._constants.html#NDS_START_NODE_DAEMON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_NODE_NAME
ganeti._constants.html#NDS_NODE_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.NDS_ACTION
ganeti._constants.html#NDS_ACTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.V_CLUSTER_ETC_HOSTS
ganeti._constants.html#V_CLUSTER_ETC_HOSTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.V_CLUSTER_VIRT_PATH_PREFIX
ganeti._constants.html#V_CLUSTER_VIRT_PATH_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.V_CLUSTER_ROOTDIR_ENVNAME
ganeti._constants.html#V_CLUSTER_ROOTDIR_ENVNAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.V_CLUSTER_HOSTNAME_ENVNAME
ganeti._constants.html#V_CLUSTER_HOSTNAME_ENVNAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.V_CLUSTER_VPATH_WHITELIST
ganeti._constants.html#V_CLUSTER_VPATH_WHITELIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_CLIENT
ganeti._constants.html#OPCODE_REASON_SRC_CLIENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants._OPCODE_REASON_SRC_DAEMON
ganeti._constants.html#_OPCODE_REASON_SRC_DAEMON
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._constants._OPCODE_REASON_SRC_MASTERD
ganeti._constants.html#_OPCODE_REASON_SRC_MASTERD
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_NODED
ganeti._constants.html#OPCODE_REASON_SRC_NODED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_OPCODE
ganeti._constants.html#OPCODE_REASON_SRC_OPCODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_PICKUP
ganeti._constants.html#OPCODE_REASON_SRC_PICKUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_WATCHER
ganeti._constants.html#OPCODE_REASON_SRC_WATCHER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_RLIB2
ganeti._constants.html#OPCODE_REASON_SRC_RLIB2
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SRC_USER
ganeti._constants.html#OPCODE_REASON_SRC_USER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON_SOURCES
ganeti._constants.html#OPCODE_REASON_SOURCES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.RANDOM_UUID_FILE
ganeti._constants.html#RANDOM_UUID_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_FAILOVER
ganeti._constants.html#AUTO_REPAIR_FAILOVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_FIX_STORAGE
ganeti._constants.html#AUTO_REPAIR_FIX_STORAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_MIGRATE
ganeti._constants.html#AUTO_REPAIR_MIGRATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_REINSTALL
ganeti._constants.html#AUTO_REPAIR_REINSTALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_ALL_TYPES
ganeti._constants.html#AUTO_REPAIR_ALL_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_ENOPERM
ganeti._constants.html#AUTO_REPAIR_ENOPERM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_FAILURE
ganeti._constants.html#AUTO_REPAIR_FAILURE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_SUCCESS
ganeti._constants.html#AUTO_REPAIR_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.AUTO_REPAIR_ALL_RESULTS
ganeti._constants.html#AUTO_REPAIR_ALL_RESULTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.BUILTIN_DATA_COLLECTOR_VERSION
ganeti._constants.html#BUILTIN_DATA_COLLECTOR_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_REASON
ganeti._constants.html#OPCODE_REASON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.OPCODE_SEQUENTIAL
ganeti._constants.html#OPCODE_SEQUENTIAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISKSTATS_FILE
ganeti._constants.html#DISKSTATS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.STAT_FILE
ganeti._constants.html#STAT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPUAVGLOAD_BUFFER_SIZE
ganeti._constants.html#CPUAVGLOAD_BUFFER_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CPUAVGLOAD_WINDOW_SIZE
ganeti._constants.html#CPUAVGLOAD_WINDOW_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XENTOP_COMMAND
ganeti._constants.html#XENTOP_COMMAND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.XENTOP_AVERAGE_THRESHOLD
ganeti._constants.html#XENTOP_AVERAGE_THRESHOLD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND_TIME_INTERVAL
ganeti._constants.html#MOND_TIME_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND_CONFIG_TIME_INTERVAL
ganeti._constants.html#MOND_CONFIG_TIME_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND_LATEST_API_VERSION
ganeti._constants.html#MOND_LATEST_API_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MOND_DEFAULT_CATEGORY
ganeti._constants.html#MOND_DEFAULT_CATEGORY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_USERSPACE
ganeti._constants.html#DISK_USERSPACE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_KERNELSPACE
ganeti._constants.html#DISK_KERNELSPACE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_VALID_ACCESS_MODES
ganeti._constants.html#DISK_VALID_ACCESS_MODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.UPGRADE_QUEUE_DRAIN_TIMEOUT
ganeti._constants.html#UPGRADE_QUEUE_DRAIN_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.UPGRADE_QUEUE_POLL_INTERVAL
ganeti._constants.html#UPGRADE_QUEUE_POLL_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_ACTION_ADD
ganeti._constants.html#HOTPLUG_ACTION_ADD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_ACTION_REMOVE
ganeti._constants.html#HOTPLUG_ACTION_REMOVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_ACTION_MODIFY
ganeti._constants.html#HOTPLUG_ACTION_MODIFY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_ALL_ACTIONS
ganeti._constants.html#HOTPLUG_ALL_ACTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_TARGET_NIC
ganeti._constants.html#HOTPLUG_TARGET_NIC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_TARGET_DISK
ganeti._constants.html#HOTPLUG_TARGET_DISK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HOTPLUG_ALL_TARGETS
ganeti._constants.html#HOTPLUG_ALL_TARGETS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_REMOVE_RETRY_TIMEOUT
ganeti._constants.html#DISK_REMOVE_RETRY_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DISK_REMOVE_RETRY_INTERVAL
ganeti._constants.html#DISK_REMOVE_RETRY_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.UUID_REGEX
ganeti._constants.html#UUID_REGEX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_SOCKET_PERMS
ganeti._constants.html#LUXI_SOCKET_PERMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_KEY_METHOD
ganeti._constants.html#LUXI_KEY_METHOD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_KEY_ARGS
ganeti._constants.html#LUXI_KEY_ARGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_KEY_SUCCESS
ganeti._constants.html#LUXI_KEY_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_KEY_RESULT
ganeti._constants.html#LUXI_KEY_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_KEY_VERSION
ganeti._constants.html#LUXI_KEY_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_SUBMIT_JOB
ganeti._constants.html#LUXI_REQ_SUBMIT_JOB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_SUBMIT_JOB_TO_DRAINED_QUEUE
ganeti._constants.html#LUXI_REQ_SUBMIT_JOB_TO_DRAINED_QUEUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_SUBMIT_MANY_JOBS
ganeti._constants.html#LUXI_REQ_SUBMIT_MANY_JOBS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_WAIT_FOR_JOB_CHANGE
ganeti._constants.html#LUXI_REQ_WAIT_FOR_JOB_CHANGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_PICKUP_JOB
ganeti._constants.html#LUXI_REQ_PICKUP_JOB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_CANCEL_JOB
ganeti._constants.html#LUXI_REQ_CANCEL_JOB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_ARCHIVE_JOB
ganeti._constants.html#LUXI_REQ_ARCHIVE_JOB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_CHANGE_JOB_PRIORITY
ganeti._constants.html#LUXI_REQ_CHANGE_JOB_PRIORITY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_AUTO_ARCHIVE_JOBS
ganeti._constants.html#LUXI_REQ_AUTO_ARCHIVE_JOBS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY
ganeti._constants.html#LUXI_REQ_QUERY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_FIELDS
ganeti._constants.html#LUXI_REQ_QUERY_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_JOBS
ganeti._constants.html#LUXI_REQ_QUERY_JOBS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_FILTERS
ganeti._constants.html#LUXI_REQ_QUERY_FILTERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_REPLACE_FILTER
ganeti._constants.html#LUXI_REQ_REPLACE_FILTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_DELETE_FILTER
ganeti._constants.html#LUXI_REQ_DELETE_FILTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_INSTANCES
ganeti._constants.html#LUXI_REQ_QUERY_INSTANCES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_NODES
ganeti._constants.html#LUXI_REQ_QUERY_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_GROUPS
ganeti._constants.html#LUXI_REQ_QUERY_GROUPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_NETWORKS
ganeti._constants.html#LUXI_REQ_QUERY_NETWORKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_EXPORTS
ganeti._constants.html#LUXI_REQ_QUERY_EXPORTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_CONFIG_VALUES
ganeti._constants.html#LUXI_REQ_QUERY_CONFIG_VALUES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_CLUSTER_INFO
ganeti._constants.html#LUXI_REQ_QUERY_CLUSTER_INFO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_QUERY_TAGS
ganeti._constants.html#LUXI_REQ_QUERY_TAGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_SET_DRAIN_FLAG
ganeti._constants.html#LUXI_REQ_SET_DRAIN_FLAG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_SET_WATCHER_PAUSE
ganeti._constants.html#LUXI_REQ_SET_WATCHER_PAUSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_REQ_ALL
ganeti._constants.html#LUXI_REQ_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_DEF_CTMO
ganeti._constants.html#LUXI_DEF_CTMO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_DEF_RWTO
ganeti._constants.html#LUXI_DEF_RWTO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_WFJC_TIMEOUT
ganeti._constants.html#LUXI_WFJC_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_LIVELOCK_PREFIX
ganeti._constants.html#LUXI_LIVELOCK_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.LUXI_CANCEL_JOB_TIMEOUT
ganeti._constants.html#LUXI_CANCEL_JOB_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MASTER_VOTING_RETRIES
ganeti._constants.html#MASTER_VOTING_RETRIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.MASTER_VOTING_RETRY_INTERVALL
ganeti._constants.html#MASTER_VOTING_RETRY_INTERVALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_AND
ganeti._constants.html#QLANG_OP_AND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_OR
ganeti._constants.html#QLANG_OP_OR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_NOT
ganeti._constants.html#QLANG_OP_NOT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_TRUE
ganeti._constants.html#QLANG_OP_TRUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_CONTAINS
ganeti._constants.html#QLANG_OP_CONTAINS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_EQUAL
ganeti._constants.html#QLANG_OP_EQUAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_EQUAL_LEGACY
ganeti._constants.html#QLANG_OP_EQUAL_LEGACY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_GE
ganeti._constants.html#QLANG_OP_GE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_GT
ganeti._constants.html#QLANG_OP_GT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_LE
ganeti._constants.html#QLANG_OP_LE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_LT
ganeti._constants.html#QLANG_OP_LT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_NOT_EQUAL
ganeti._constants.html#QLANG_OP_NOT_EQUAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_OP_REGEXP
ganeti._constants.html#QLANG_OP_REGEXP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_FILTER_DETECTION_CHARS
ganeti._constants.html#QLANG_FILTER_DETECTION_CHARS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.QLANG_GLOB_DETECTION_CHARS
ganeti._constants.html#QLANG_GLOB_DETECTION_CHARS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_ENVIRON
ganeti._constants.html#ERRORS_ECODE_ENVIRON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_EXISTS
ganeti._constants.html#ERRORS_ECODE_EXISTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_FAULT
ganeti._constants.html#ERRORS_ECODE_FAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_INVAL
ganeti._constants.html#ERRORS_ECODE_INVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_NOENT
ganeti._constants.html#ERRORS_ECODE_NOENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_NORES
ganeti._constants.html#ERRORS_ECODE_NORES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_NOTUNIQUE
ganeti._constants.html#ERRORS_ECODE_NOTUNIQUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_RESOLVER
ganeti._constants.html#ERRORS_ECODE_RESOLVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_STATE
ganeti._constants.html#ERRORS_ECODE_STATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_TEMP_NORES
ganeti._constants.html#ERRORS_ECODE_TEMP_NORES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ERRORS_ECODE_ALL
ganeti._constants.html#ERRORS_ECODE_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.JSTORE_JOBS_PER_ARCHIVE_DIRECTORY
ganeti._constants.html#JSTORE_JOBS_PER_ARCHIVE_DIRECTORY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GLUSTER_HOST
ganeti._constants.html#GLUSTER_HOST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GLUSTER_HOST_DEFAULT
ganeti._constants.html#GLUSTER_HOST_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GLUSTER_VOLUME
ganeti._constants.html#GLUSTER_VOLUME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GLUSTER_VOLUME_DEFAULT
ganeti._constants.html#GLUSTER_VOLUME_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GLUSTER_PORT
ganeti._constants.html#GLUSTER_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.GLUSTER_PORT_DEFAULT
ganeti._constants.html#GLUSTER_PORT_DEFAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_DOC
ganeti._constants.html#INSTANCE_COMMUNICATION_DOC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_MAC_PREFIX
ganeti._constants.html#INSTANCE_COMMUNICATION_MAC_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_NETWORK4
ganeti._constants.html#INSTANCE_COMMUNICATION_NETWORK4
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_NETWORK6
ganeti._constants.html#INSTANCE_COMMUNICATION_NETWORK6
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_NETWORK_LINK
ganeti._constants.html#INSTANCE_COMMUNICATION_NETWORK_LINK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_NETWORK_MODE
ganeti._constants.html#INSTANCE_COMMUNICATION_NETWORK_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.INSTANCE_COMMUNICATION_NIC_PREFIX
ganeti._constants.html#INSTANCE_COMMUNICATION_NIC_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.PRIVATE_PARAMETERS_BLACKLIST
ganeti._constants.html#PRIVATE_PARAMETERS_BLACKLIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEBUG_MODE_CONFIDENTIALITY_WARNING
ganeti._constants.html#DEBUG_MODE_CONFIDENTIALITY_WARNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.REDACTED
ganeti._constants.html#REDACTED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.STAT_SIZE
ganeti._constants.html#STAT_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HELPER_VM_STARTUP
ganeti._constants.html#HELPER_VM_STARTUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.HELPER_VM_SHUTDOWN
ganeti._constants.html#HELPER_VM_SHUTDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.ZEROING_TIMEOUT_PER_MIB
ganeti._constants.html#ZEROING_TIMEOUT_PER_MIB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPV4_NETWORK_MIN_SIZE
ganeti._constants.html#IPV4_NETWORK_MIN_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.IPV4_NETWORK_MAX_SIZE
ganeti._constants.html#IPV4_NETWORK_MAX_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_C_P_U_LOAD
ganeti._constants.html#DATA_COLLECTOR_C_P_U_LOAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_XEN_CPU_LOAD
ganeti._constants.html#DATA_COLLECTOR_XEN_CPU_LOAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_DISK_STATS
ganeti._constants.html#DATA_COLLECTOR_DISK_STATS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_DRBD
ganeti._constants.html#DATA_COLLECTOR_DRBD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_LV
ganeti._constants.html#DATA_COLLECTOR_LV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_INST_STATUS
ganeti._constants.html#DATA_COLLECTOR_INST_STATUS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_PARAMETER_INTERVAL
ganeti._constants.html#DATA_COLLECTOR_PARAMETER_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_NAMES
ganeti._constants.html#DATA_COLLECTOR_NAMES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTOR_STATE_ACTIVE
ganeti._constants.html#DATA_COLLECTOR_STATE_ACTIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTORS_ENABLED_NAME
ganeti._constants.html#DATA_COLLECTORS_ENABLED_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DATA_COLLECTORS_INTERVAL_NAME
ganeti._constants.html#DATA_COLLECTORS_INTERVAL_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.EX_TAGS_PREFIX
ganeti._constants.html#EX_TAGS_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.CLI_WFJC_FREQUENCY
ganeti._constants.html#CLI_WFJC_FREQUENCY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._constants.DEFAULT_WFJC_TIMEOUT
ganeti._constants.html#DEFAULT_WFJC_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._vcsversion.VCS_VERSION
ganeti._vcsversion.html#VCS_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.compat._all
ganeti.compat.html#_all
Function
Function
PRIVATE
Returns True if all elements in the iterable are True.
-
ganeti.compat._any
ganeti.compat.html#_any
Function
Function
PRIVATE
Returns True if any element of the iterable are True.
-
ganeti.compat.partition
ganeti.compat.html#partition
Function
Function
PUBLIC
Partition a list in two, based on the given predicate.
-
ganeti.compat._partial
ganeti.compat.html#_partial
Function
Function
PRIVATE
Decorator with partial application of arguments and keywords.
-
ganeti.compat.RomanOrRounded
ganeti.compat.html#RomanOrRounded
Function
Function
PUBLIC
Try to round the value to the closest integer and return it as a roman numeral. If the conversion is disabled, or if the roman module could not be loaded, round the value to the specified level and return it.
-
ganeti.compat.TryToRoman
ganeti.compat.html#TryToRoman
Function
Function
PUBLIC
Try to convert a value to roman numerals
-
ganeti.compat.UniqueFrozenset
ganeti.compat.html#UniqueFrozenset
Function
Function
PUBLIC
Makes frozenset from sequence after checking for duplicate elements.
-
ganeti.compat.fst
ganeti.compat.html#fst
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.compat.snd
ganeti.compat.html#snd
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.vcluster._GetRootDirectory
ganeti.vcluster.html#_GetRootDirectory
Function
Function
PRIVATE
Retrieves root directory from an environment variable.
-
ganeti.vcluster._GetHostname
ganeti.vcluster.html#_GetHostname
Function
Function
PRIVATE
Retrieves virtual hostname from an environment variable.
-
ganeti.vcluster._CheckHostname
ganeti.vcluster.html#_CheckHostname
Function
Function
PRIVATE
Very basic check for hostnames.
-
ganeti.vcluster._PreparePaths
ganeti.vcluster.html#_PreparePaths
Function
Function
PRIVATE
Checks if the root directory and hostname are acceptable.
-
ganeti.vcluster._VIRT_BASEDIR
ganeti.vcluster.html#_VIRT_BASEDIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.vcluster._VIRT_NODEROOT
ganeti.vcluster.html#_VIRT_NODEROOT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.vcluster._VIRT_HOSTNAME
ganeti.vcluster.html#_VIRT_HOSTNAME
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.vcluster.GetVirtualHostname
ganeti.vcluster.html#GetVirtualHostname
Function
Function
PUBLIC
Returns the virtual hostname.
-
ganeti.vcluster.MakeNodeRoot
ganeti.vcluster.html#MakeNodeRoot
Function
Function
PUBLIC
Appends a node name to the base directory.
-
ganeti.vcluster.ExchangeNodeRoot
ganeti.vcluster.html#ExchangeNodeRoot
Function
Function
PUBLIC
Replaces the node-specific root directory in a path.
-
ganeti.vcluster.EnvironmentForHost
ganeti.vcluster.html#EnvironmentForHost
Function
Function
PUBLIC
Returns the environment variables for a host.
-
ganeti.vcluster.AddNodePrefix
ganeti.vcluster.html#AddNodePrefix
Function
Function
PUBLIC
Adds a node-specific prefix to a path in a virtual cluster.
-
ganeti.vcluster._RemoveNodePrefix
ganeti.vcluster.html#_RemoveNodePrefix
Function
Function
PRIVATE
Removes the node-specific prefix from a path.
-
ganeti.vcluster.MakeVirtualPath
ganeti.vcluster.html#MakeVirtualPath
Function
Function
PUBLIC
Virtualizes a path.
-
ganeti.vcluster.LocalizeVirtualPath
ganeti.vcluster.html#LocalizeVirtualPath
Function
Function
PUBLIC
Localizes a virtual path.
-
ganeti.pathutils.DEFAULT_FILE_STORAGE_DIR
ganeti.pathutils.html#DEFAULT_FILE_STORAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.DEFAULT_SHARED_FILE_STORAGE_DIR
ganeti.pathutils.html#DEFAULT_SHARED_FILE_STORAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.DEFAULT_GLUSTER_STORAGE_DIR
ganeti.pathutils.html#DEFAULT_GLUSTER_STORAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.EXPORT_DIR
ganeti.pathutils.html#EXPORT_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.BACKUP_DIR
ganeti.pathutils.html#BACKUP_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.XEN_CONFIG_DIR
ganeti.pathutils.html#XEN_CONFIG_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SYSCONFDIR
ganeti.pathutils.html#SYSCONFDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOCALSTATEDIR
ganeti.pathutils.html#LOCALSTATEDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.DAEMON_UTIL
ganeti.pathutils.html#DAEMON_UTIL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.IMPORT_EXPORT_DAEMON
ganeti.pathutils.html#IMPORT_EXPORT_DAEMON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.KVM_CONSOLE_WRAPPER
ganeti.pathutils.html#KVM_CONSOLE_WRAPPER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.KVM_IFUP
ganeti.pathutils.html#KVM_IFUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.PREPARE_NODE_JOIN
ganeti.pathutils.html#PREPARE_NODE_JOIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SSH_UPDATE
ganeti.pathutils.html#SSH_UPDATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.NODE_DAEMON_SETUP
ganeti.pathutils.html#NODE_DAEMON_SETUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SSL_UPDATE
ganeti.pathutils.html#SSL_UPDATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.XEN_CONSOLE_WRAPPER
ganeti.pathutils.html#XEN_CONSOLE_WRAPPER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.CFGUPGRADE
ganeti.pathutils.html#CFGUPGRADE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.POST_UPGRADE
ganeti.pathutils.html#POST_UPGRADE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.ENSURE_DIRS
ganeti.pathutils.html#ENSURE_DIRS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.XEN_VIF_METAD_SETUP
ganeti.pathutils.html#XEN_VIF_METAD_SETUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.DATA_DIR
ganeti.pathutils.html#DATA_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOCK_DIR
ganeti.pathutils.html#LOCK_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_DIR
ganeti.pathutils.html#LOG_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.RUN_DIR
ganeti.pathutils.html#RUN_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.DEFAULT_MASTER_SETUP_SCRIPT
ganeti.pathutils.html#DEFAULT_MASTER_SETUP_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SSH_PUB_KEYS
ganeti.pathutils.html#SSH_PUB_KEYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.BDEV_CACHE_DIR
ganeti.pathutils.html#BDEV_CACHE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.DISK_LINKS_DIR
ganeti.pathutils.html#DISK_LINKS_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SOCKET_DIR
ganeti.pathutils.html#SOCKET_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.CRYPTO_KEYS_DIR
ganeti.pathutils.html#CRYPTO_KEYS_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.IMPORT_EXPORT_DIR
ganeti.pathutils.html#IMPORT_EXPORT_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.INSTANCE_STATUS_FILE
ganeti.pathutils.html#INSTANCE_STATUS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.INSTANCE_REASON_DIR
ganeti.pathutils.html#INSTANCE_REASON_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.UIDPOOL_LOCKDIR
ganeti.pathutils.html#UIDPOOL_LOCKDIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LIVELOCK_DIR
ganeti.pathutils.html#LIVELOCK_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LUXID_MESSAGE_DIR
ganeti.pathutils.html#LUXID_MESSAGE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SSCONF_LOCK_FILE
ganeti.pathutils.html#SSCONF_LOCK_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.CLUSTER_CONF_FILE
ganeti.pathutils.html#CLUSTER_CONF_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOCK_STATUS_FILE
ganeti.pathutils.html#LOCK_STATUS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.TEMP_RES_STATUS_FILE
ganeti.pathutils.html#TEMP_RES_STATUS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.RAPI_CERT_FILE
ganeti.pathutils.html#RAPI_CERT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.CONFD_HMAC_KEY
ganeti.pathutils.html#CONFD_HMAC_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SPICE_CERT_FILE
ganeti.pathutils.html#SPICE_CERT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SPICE_CACERT_FILE
ganeti.pathutils.html#SPICE_CACERT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.CLUSTER_DOMAIN_SECRET_FILE
ganeti.pathutils.html#CLUSTER_DOMAIN_SECRET_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.SSH_KNOWN_HOSTS_FILE
ganeti.pathutils.html#SSH_KNOWN_HOSTS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.RAPI_DATA_DIR
ganeti.pathutils.html#RAPI_DATA_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.RAPI_USERS_FILE
ganeti.pathutils.html#RAPI_USERS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.QUEUE_DIR
ganeti.pathutils.html#QUEUE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.INTENT_TO_UPGRADE
ganeti.pathutils.html#INTENT_TO_UPGRADE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.CONF_DIR
ganeti.pathutils.html#CONF_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.XEN_IFUP_OS
ganeti.pathutils.html#XEN_IFUP_OS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.USER_SCRIPTS_DIR
ganeti.pathutils.html#USER_SCRIPTS_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.VNC_PASSWORD_FILE
ganeti.pathutils.html#VNC_PASSWORD_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.HOOKS_BASE_DIR
ganeti.pathutils.html#HOOKS_BASE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.FILE_STORAGE_PATHS_FILE
ganeti.pathutils.html#FILE_STORAGE_PATHS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.RESTRICTED_COMMANDS_DIR
ganeti.pathutils.html#RESTRICTED_COMMANDS_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.NODED_CERT_FILE
ganeti.pathutils.html#NODED_CERT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.NODED_CLIENT_CERT_FILE
ganeti.pathutils.html#NODED_CLIENT_CERT_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.NODED_CERT_MODE
ganeti.pathutils.html#NODED_CERT_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.RESTRICTED_COMMANDS_LOCK_FILE
ganeti.pathutils.html#RESTRICTED_COMMANDS_LOCK_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.WATCHER_LOCK_FILE
ganeti.pathutils.html#WATCHER_LOCK_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.WATCHER_GROUP_STATE_FILE
ganeti.pathutils.html#WATCHER_GROUP_STATE_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.WATCHER_GROUP_INSTANCE_STATUS_FILE
ganeti.pathutils.html#WATCHER_GROUP_INSTANCE_STATUS_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.WATCHER_PAUSEFILE
ganeti.pathutils.html#WATCHER_PAUSEFILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.EXTERNAL_MASTER_SETUP_SCRIPT
ganeti.pathutils.html#EXTERNAL_MASTER_SETUP_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.MASTER_SOCKET
ganeti.pathutils.html#MASTER_SOCKET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.QUERY_SOCKET
ganeti.pathutils.html#QUERY_SOCKET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.WCONFD_SOCKET
ganeti.pathutils.html#WCONFD_SOCKET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.METAD_SOCKET
ganeti.pathutils.html#METAD_SOCKET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_OS_DIR
ganeti.pathutils.html#LOG_OS_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_ES_DIR
ganeti.pathutils.html#LOG_ES_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_XEN_DIR
ganeti.pathutils.html#LOG_XEN_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_KVM_DIR
ganeti.pathutils.html#LOG_KVM_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.JOB_QUEUE_LOCK_FILE
ganeti.pathutils.html#JOB_QUEUE_LOCK_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.JOB_QUEUE_VERSION_FILE
ganeti.pathutils.html#JOB_QUEUE_VERSION_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.JOB_QUEUE_SERIAL_FILE
ganeti.pathutils.html#JOB_QUEUE_SERIAL_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.JOB_QUEUE_ARCHIVE_DIR
ganeti.pathutils.html#JOB_QUEUE_ARCHIVE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.JOB_QUEUE_DRAIN_FILE
ganeti.pathutils.html#JOB_QUEUE_DRAIN_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.ALL_CERT_FILES
ganeti.pathutils.html#ALL_CERT_FILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.GetLogFilename
ganeti.pathutils.html#GetLogFilename
Function
Function
PUBLIC
Returns the full path for a daemon's log file.
-
ganeti.pathutils.LOG_WATCHER
ganeti.pathutils.html#LOG_WATCHER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_COMMANDS
ganeti.pathutils.html#LOG_COMMANDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.pathutils.LOG_BURNIN
ganeti.pathutils.html#LOG_BURNIN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.ALLOCATABLE_KEY
ganeti.constants.html#ALLOCATABLE_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.FAILED_KEY
ganeti.constants.html#FAILED_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.DAEMONS_LOGFILES
ganeti.constants.html#DAEMONS_LOGFILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.IE_MAGIC_RE
ganeti.constants.html#IE_MAGIC_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.EXT_PLUGIN_MASK
ganeti.constants.html#EXT_PLUGIN_MASK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.JOB_ID_TEMPLATE
ganeti.constants.html#JOB_ID_TEMPLATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.constants.JOB_FILE_RE
ganeti.constants.html#JOB_FILE_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.errors.GenericError
ganeti.errors.GenericError.html
Class
Exception
PUBLIC
Base exception for Ganeti.
-
ganeti.errors.LockError
ganeti.errors.LockError.html
Class
Exception
PUBLIC
Lock error exception.
-
ganeti.errors.PidFileLockError
ganeti.errors.PidFileLockError.html
Class
Exception
PUBLIC
PID file is already locked by another process.
-
ganeti.errors.HypervisorError
ganeti.errors.HypervisorError.html
Class
Exception
PUBLIC
Hypervisor-related exception.
-
ganeti.errors.HotplugError
ganeti.errors.HotplugError.html
Class
Exception
PUBLIC
Hotplug-related exception.
-
ganeti.errors.ProgrammerError
ganeti.errors.ProgrammerError.html
Class
Exception
PUBLIC
Programming-related error.
-
ganeti.errors.BlockDeviceError
ganeti.errors.BlockDeviceError.html
Class
Exception
PUBLIC
Block-device related exception.
-
ganeti.errors.ConfigurationError
ganeti.errors.ConfigurationError.html
Class
Exception
PUBLIC
Configuration related exception.
-
ganeti.errors.ConfigVersionMismatch
ganeti.errors.ConfigVersionMismatch.html
Class
Exception
PUBLIC
Version mismatch in the configuration file.
-
ganeti.errors.ConfigVerifyError
ganeti.errors.ConfigVerifyError.html
Class
Exception
PUBLIC
Error reported by configuration verification
-
ganeti.errors.AddressPoolError
ganeti.errors.AddressPoolError.html
Class
Exception
PUBLIC
Errors related to IP address pools.
-
ganeti.errors.ReservationError
ganeti.errors.ReservationError.html
Class
Exception
PUBLIC
Errors reserving a resource.
-
ganeti.errors.RemoteError
ganeti.errors.RemoteError.html
Class
Exception
PUBLIC
Programming-related error on remote call.
-
ganeti.errors.SignatureError
ganeti.errors.SignatureError.html
Class
Exception
PUBLIC
Error authenticating a remote message.
-
ganeti.errors.ParameterError
ganeti.errors.ParameterError.html
Class
Exception
PUBLIC
A passed parameter to a command is invalid.
-
ganeti.errors.ResultValidationError
ganeti.errors.ResultValidationError.html
Class
Exception
PUBLIC
The iallocation results fails validation.
-
ganeti.errors.OpPrereqError
ganeti.errors.OpPrereqError.html
Class
Exception
PUBLIC
Prerequisites for the OpCode are not fulfilled.
-
ganeti.errors.OpExecError
ganeti.errors.OpExecError.html
Class
Exception
PUBLIC
Error during OpCode execution.
-
ganeti.errors.OpResultError
ganeti.errors.OpResultError.html
Class
Exception
PUBLIC
Issue with OpCode result.
-
ganeti.errors.OpRetryNotSupportedError
ganeti.errors.OpRetryNotSupportedError.html
Class
Exception
PUBLIC
This opcode does not support retries
-
ganeti.errors.DeviceCreationError
ganeti.errors.DeviceCreationError.html
Class
Exception
PUBLIC
Error during the creation of a device.
-
ganeti.errors.DeviceCreationError.__init__
ganeti.errors.DeviceCreationError.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.errors.DeviceCreationError.message
ganeti.errors.DeviceCreationError.html#message
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.errors.DeviceCreationError.created_devices
ganeti.errors.DeviceCreationError.html#created_devices
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.errors.DeviceCreationError.__str__
ganeti.errors.DeviceCreationError.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.errors.OpCodeUnknown
ganeti.errors.OpCodeUnknown.html
Class
Exception
PUBLIC
Unknown opcode submitted.
-
ganeti.errors.JobLost
ganeti.errors.JobLost.html
Class
Exception
PUBLIC
Submitted job lost.
-
ganeti.errors.JobCanceled
ganeti.errors.JobCanceled.html
Class
Exception
PUBLIC
Submitted job was canceled.
-
ganeti.errors.JobFileCorrupted
ganeti.errors.JobFileCorrupted.html
Class
Exception
PUBLIC
Job file could not be properly decoded/restored.
-
ganeti.errors.ResolverError
ganeti.errors.ResolverError.html
Class
Exception
PUBLIC
Host name cannot be resolved.
-
ganeti.errors.HooksFailure
ganeti.errors.HooksFailure.html
Class
Exception
PUBLIC
A generic hook failure.
-
ganeti.errors.HooksAbort
ganeti.errors.HooksAbort.html
Class
Exception
PUBLIC
A required hook has failed.
-
ganeti.errors.UnitParseError
ganeti.errors.UnitParseError.html
Class
Exception
PUBLIC
Unable to parse size unit.
-
ganeti.errors.ParseError
ganeti.errors.ParseError.html
Class
Exception
PUBLIC
Generic parse error.
-
ganeti.errors.TypeEnforcementError
ganeti.errors.TypeEnforcementError.html
Class
Exception
PUBLIC
Unable to enforce data type.
-
ganeti.errors.X509CertError
ganeti.errors.X509CertError.html
Class
Exception
PUBLIC
Invalid X509 certificate.
-
ganeti.errors.TagError
ganeti.errors.TagError.html
Class
Exception
PUBLIC
Generic tag error.
-
ganeti.errors.CommandError
ganeti.errors.CommandError.html
Class
Exception
PUBLIC
External command error.
-
ganeti.errors.StorageError
ganeti.errors.StorageError.html
Class
Exception
PUBLIC
Storage-related exception.
-
ganeti.errors.InotifyError
ganeti.errors.InotifyError.html
Class
Exception
PUBLIC
Error raised when there is a failure setting up an inotify watcher.
-
ganeti.errors.QuitGanetiException
ganeti.errors.QuitGanetiException.html
Class
Exception
PUBLIC
Signal Ganeti that it must quit.
-
ganeti.errors.JobQueueError
ganeti.errors.JobQueueError.html
Class
Exception
PUBLIC
Job queue error.
-
ganeti.errors.JobQueueDrainError
ganeti.errors.JobQueueDrainError.html
Class
Exception
PUBLIC
Job queue is marked for drain error.
-
ganeti.errors.JobQueueFull
ganeti.errors.JobQueueFull.html
Class
Exception
PUBLIC
Job queue full error.
-
ganeti.errors.ConfdMagicError
ganeti.errors.ConfdMagicError.html
Class
Exception
PUBLIC
A magic fourcc error in Ganeti confd.
-
ganeti.errors.ConfdClientError
ganeti.errors.ConfdClientError.html
Class
Exception
PUBLIC
A magic fourcc error in Ganeti confd.
-
ganeti.errors.UdpDataSizeError
ganeti.errors.UdpDataSizeError.html
Class
Exception
PUBLIC
UDP payload too big.
-
ganeti.errors.NoCtypesError
ganeti.errors.NoCtypesError.html
Class
Exception
PUBLIC
python ctypes module is not found in the system.
-
ganeti.errors.IPAddressError
ganeti.errors.IPAddressError.html
Class
Exception
PUBLIC
Generic IP address error.
-
ganeti.errors.LuxiError
ganeti.errors.LuxiError.html
Class
Exception
PUBLIC
LUXI error.
-
ganeti.errors.QueryFilterParseError
ganeti.errors.QueryFilterParseError.html
Class
Exception
PUBLIC
Error while parsing query filter.
-
ganeti.errors.QueryFilterParseError.GetDetails
ganeti.errors.QueryFilterParseError.html#GetDetails
Function
Method
PUBLIC
Returns a list of strings with details about the error.
-
ganeti.errors.RapiTestResult
ganeti.errors.RapiTestResult.html
Class
Exception
PUBLIC
Exception containing results from RAPI test utilities.
-
ganeti.errors.FileStoragePathError
ganeti.errors.FileStoragePathError.html
Class
Exception
PUBLIC
Error from file storage path validation.
-
ganeti.errors.SshUpdateError
ganeti.errors.SshUpdateError.html
Class
Exception
PUBLIC
Error from updating the SSH setup.
-
ganeti.errors.JobSubmittedException
ganeti.errors.JobSubmittedException.html
Class
Exception
PUBLIC
Job was submitted, client should exit.
-
ganeti.errors.GetErrorClass
ganeti.errors.html#GetErrorClass
Function
Function
PUBLIC
Return the class of an exception.
-
ganeti.errors.EncodeException
ganeti.errors.html#EncodeException
Function
Function
PUBLIC
Encodes an exception into a format that
MaybeRaise will recognise.
-
ganeti.errors.GetEncodedError
ganeti.errors.html#GetEncodedError
Function
Function
PUBLIC
If this looks like an encoded Ganeti exception, return it.
-
ganeti.errors.MaybeRaise
ganeti.errors.html#MaybeRaise
Function
Function
PUBLIC
If this looks like an encoded Ganeti exception, raise it.
-
ganeti.utils.text._PARSEUNIT_REGEX
ganeti.utils.text.html#_PARSEUNIT_REGEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text._SHELL_UNQUOTED_RE
ganeti.utils.text.html#_SHELL_UNQUOTED_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text._SHELLPARAM_REGEX
ganeti.utils.text.html#_SHELLPARAM_REGEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text._ASCII_ELLIPSIS
ganeti.utils.text.html#_ASCII_ELLIPSIS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text._MAC_ADDR_OCTET_RE
ganeti.utils.text.html#_MAC_ADDR_OCTET_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text.MatchNameComponent
ganeti.utils.text.html#MatchNameComponent
Function
Function
PUBLIC
Try to match a name against a list.
-
ganeti.utils.text._DnsNameGlobHelper
ganeti.utils.text.html#_DnsNameGlobHelper
Function
Function
PRIVATE
-
ganeti.utils.text.DnsNameGlobPattern
ganeti.utils.text.html#DnsNameGlobPattern
Function
Function
PUBLIC
Generates regular expression from DNS name globbing pattern.
-
ganeti.utils.text.FormatUnit
ganeti.utils.text.html#FormatUnit
Function
Function
PUBLIC
Formats an incoming number of MiB with the appropriate unit.
-
ganeti.utils.text.ParseUnit
ganeti.utils.text.html#ParseUnit
Function
Function
PUBLIC
Tries to extract number and scale from the given string.
-
ganeti.utils.text.ShellQuote
ganeti.utils.text.html#ShellQuote
Function
Function
PUBLIC
Quotes shell argument according to POSIX.
-
ganeti.utils.text.ShellQuoteArgs
ganeti.utils.text.html#ShellQuoteArgs
Function
Function
PUBLIC
Quotes a list of shell arguments.
-
ganeti.utils.text.ShellCombineCommands
ganeti.utils.text.html#ShellCombineCommands
Function
Function
PUBLIC
Out of a list of shell comands construct a single one.
-
ganeti.utils.text.ShellWriter
ganeti.utils.text.ShellWriter.html
Class
Class
PUBLIC
Helper class to write scripts with indentation.
-
ganeti.utils.text.ShellWriter.INDENT_STR
ganeti.utils.text.ShellWriter.html#INDENT_STR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.text.ShellWriter.__init__
ganeti.utils.text.ShellWriter.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.text.ShellWriter._fh
ganeti.utils.text.ShellWriter.html#_fh
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.text.ShellWriter._indent_enabled
ganeti.utils.text.ShellWriter.html#_indent_enabled
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.text.ShellWriter._indent
ganeti.utils.text.ShellWriter.html#_indent
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.text.ShellWriter.IncIndent
ganeti.utils.text.ShellWriter.html#IncIndent
Function
Method
PUBLIC
Increase indentation level by 1.
-
ganeti.utils.text.ShellWriter.DecIndent
ganeti.utils.text.ShellWriter.html#DecIndent
Function
Method
PUBLIC
Decrease indentation level by 1.
-
ganeti.utils.text.ShellWriter.Write
ganeti.utils.text.ShellWriter.html#Write
Function
Method
PUBLIC
Write line to output file.
-
ganeti.utils.text.GenerateSecret
ganeti.utils.text.html#GenerateSecret
Function
Function
PUBLIC
Generates a random secret.
-
ganeti.utils.text._MakeMacAddrRegexp
ganeti.utils.text.html#_MakeMacAddrRegexp
Function
Function
PRIVATE
Builds a regular expression for verifying MAC addresses.
-
ganeti.utils.text._MAC_CHECK_RE
ganeti.utils.text.html#_MAC_CHECK_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text._MAC_PREFIX_CHECK_RE
ganeti.utils.text.html#_MAC_PREFIX_CHECK_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.text._MacAddressCheck
ganeti.utils.text.html#_MacAddressCheck
Function
Function
PRIVATE
Checks a MAC address using a regular expression.
-
ganeti.utils.text.NormalizeAndValidateMac
ganeti.utils.text.html#NormalizeAndValidateMac
Function
Function
PUBLIC
Normalizes and check if a MAC address is valid and contains six octets.
-
ganeti.utils.text.NormalizeAndValidateThreeOctetMacPrefix
ganeti.utils.text.html#NormalizeAndValidateThreeOctetMacPrefix
Function
Function
PUBLIC
Normalizes a potential MAC address prefix (three octets).
-
ganeti.utils.text.SafeEncode
ganeti.utils.text.html#SafeEncode
Function
Function
PUBLIC
Return a 'safe' version of a source string.
-
ganeti.utils.text.UnescapeAndSplit
ganeti.utils.text.html#UnescapeAndSplit
Function
Function
PUBLIC
Split and unescape a string based on a given separator.
-
ganeti.utils.text.EscapeAndJoin
ganeti.utils.text.html#EscapeAndJoin
Function
Function
PUBLIC
Encode a list in a way parsable by UnescapeAndSplit.
-
ganeti.utils.text.CommaJoin
ganeti.utils.text.html#CommaJoin
Function
Function
PUBLIC
Nicely join a set of identifiers.
-
ganeti.utils.text.FormatTime
ganeti.utils.text.html#FormatTime
Function
Function
PUBLIC
Formats a time value.
-
ganeti.utils.text.FormatSeconds
ganeti.utils.text.html#FormatSeconds
Function
Function
PUBLIC
Formats seconds for easier reading.
-
ganeti.utils.text.LineSplitter
ganeti.utils.text.LineSplitter.html
Class
Class
PUBLIC
Splits byte data chunks into lines of text separated by newline.
-
ganeti.utils.text.LineSplitter.__init__
ganeti.utils.text.LineSplitter.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.text.LineSplitter._line_fn
ganeti.utils.text.LineSplitter.html#_line_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.text.LineSplitter._lines
ganeti.utils.text.LineSplitter.html#_lines
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.text.LineSplitter._buffer
ganeti.utils.text.LineSplitter.html#_buffer
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.text.LineSplitter.write
ganeti.utils.text.LineSplitter.html#write
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.text.LineSplitter.flush
ganeti.utils.text.LineSplitter.html#flush
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.text.LineSplitter.close
ganeti.utils.text.LineSplitter.html#close
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.text.IsValidShellParam
ganeti.utils.text.html#IsValidShellParam
Function
Function
PUBLIC
Verifies is the given word is safe from the shell's p.o.v.
-
ganeti.utils.text.BuildShellCmd
ganeti.utils.text.html#BuildShellCmd
Function
Function
PUBLIC
Build a safe shell command line from the given arguments.
-
ganeti.utils.text.FormatOrdinal
ganeti.utils.text.html#FormatOrdinal
Function
Function
PUBLIC
Formats a number as an ordinal in the English language.
-
ganeti.utils.text.Truncate
ganeti.utils.text.html#Truncate
Function
Function
PUBLIC
Truncate string and add ellipsis if needed.
-
ganeti.utils.text.FilterEmptyLinesAndComments
ganeti.utils.text.html#FilterEmptyLinesAndComments
Function
Function
PUBLIC
Filters empty lines and comments from a line-based string.
-
ganeti.utils.text.FormatKeyValue
ganeti.utils.text.html#FormatKeyValue
Function
Function
PUBLIC
Formats a dictionary as "key=value" parameters.
-
ganeti.utils.algo._SORTER_GROUPS
ganeti.utils.algo.html#_SORTER_GROUPS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.algo._SORTER_RE
ganeti.utils.algo.html#_SORTER_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.algo.UniqueSequence
ganeti.utils.algo.html#UniqueSequence
Function
Function
PUBLIC
Returns a list with unique elements.
-
ganeti.utils.algo.JoinDisjointDicts
ganeti.utils.algo.html#JoinDisjointDicts
Function
Function
PUBLIC
Joins dictionaries with no conflicting keys.
-
ganeti.utils.algo.FindDuplicates
ganeti.utils.algo.html#FindDuplicates
Function
Function
PUBLIC
Identifies duplicates in a list.
-
ganeti.utils.algo.GetRepeatedKeys
ganeti.utils.algo.html#GetRepeatedKeys
Function
Function
PUBLIC
Return the set of keys defined multiple times in the given dicts.
-
ganeti.utils.algo._NiceSortAtom
ganeti.utils.algo._NiceSortAtom.html
Class
Class
PRIVATE
Helper class providing rich comparison between different types
-
ganeti.utils.algo._NiceSortAtom.__slots__
ganeti.utils.algo._NiceSortAtom.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__init__
ganeti.utils.algo._NiceSortAtom.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom._obj
ganeti.utils.algo._NiceSortAtom.html#_obj
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__lt__
ganeti.utils.algo._NiceSortAtom.html#__lt__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__eq__
ganeti.utils.algo._NiceSortAtom.html#__eq__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__ne__
ganeti.utils.algo._NiceSortAtom.html#__ne__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__gt__
ganeti.utils.algo._NiceSortAtom.html#__gt__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__ge__
ganeti.utils.algo._NiceSortAtom.html#__ge__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortAtom.__le__
ganeti.utils.algo._NiceSortAtom.html#__le__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.algo._NiceSortGetKey
ganeti.utils.algo.html#_NiceSortGetKey
Function
Function
PRIVATE
Get a suitable sort key.
-
ganeti.utils.algo.NiceSortKey
ganeti.utils.algo.html#NiceSortKey
Function
Function
PUBLIC
Extract key for sorting.
-
ganeti.utils.algo.NiceSort
ganeti.utils.algo.html#NiceSort
Function
Function
PUBLIC
Sort a list of strings based on digit and non-digit groupings.
-
ganeti.utils.algo.InvertDict
ganeti.utils.algo.html#InvertDict
Function
Function
PUBLIC
Inverts the key/value mapping of a dict.
-
ganeti.utils.algo.InsertAtPos
ganeti.utils.algo.html#InsertAtPos
Function
Function
PUBLIC
Inserts other at given pos into src.
-
ganeti.utils.algo.SequenceToDict
ganeti.utils.algo.html#SequenceToDict
Function
Function
PUBLIC
Converts a sequence to a dictionary with duplicate detection.
-
ganeti.utils.algo._MakeFlatToDict
ganeti.utils.algo.html#_MakeFlatToDict
Function
Function
PRIVATE
Helper function for FlatToDict.
-
ganeti.utils.algo.FlatToDict
ganeti.utils.algo.html#FlatToDict
Function
Function
PUBLIC
Converts a flat structure to a fully fledged dict.
-
ganeti.utils.algo.RunningTimeout
ganeti.utils.algo.RunningTimeout.html
Class
Class
PUBLIC
Class to calculate remaining timeout when doing several operations.
-
ganeti.utils.algo.RunningTimeout.__slots__
ganeti.utils.algo.RunningTimeout.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.utils.algo.RunningTimeout.__init__
ganeti.utils.algo.RunningTimeout.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.algo.RunningTimeout._timeout
ganeti.utils.algo.RunningTimeout.html#_timeout
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.algo.RunningTimeout._allow_negative
ganeti.utils.algo.RunningTimeout.html#_allow_negative
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.algo.RunningTimeout._time_fn
ganeti.utils.algo.RunningTimeout.html#_time_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.algo.RunningTimeout._start_time
ganeti.utils.algo.RunningTimeout.html#_start_time
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.algo.RunningTimeout.Remaining
ganeti.utils.algo.RunningTimeout.html#Remaining
Function
Method
PUBLIC
Returns the remaining timeout.
-
ganeti.utils.retry.RETRY_REMAINING_TIME
ganeti.utils.retry.html#RETRY_REMAINING_TIME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.retry.RetryTimeout
ganeti.utils.retry.RetryTimeout.html
Class
Exception
PUBLIC
Retry loop timed out.
-
ganeti.utils.retry.RetryTimeout.RaiseInner
ganeti.utils.retry.RetryTimeout.html#RaiseInner
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.retry.RetryAgain
ganeti.utils.retry.RetryAgain.html
Class
Exception
PUBLIC
Retry again.
-
ganeti.utils.retry._RetryDelayCalculator
ganeti.utils.retry._RetryDelayCalculator.html
Class
Class
PRIVATE
Calculator for increasing delays.
-
ganeti.utils.retry._RetryDelayCalculator.__slots__
ganeti.utils.retry._RetryDelayCalculator.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.utils.retry._RetryDelayCalculator.__init__
ganeti.utils.retry._RetryDelayCalculator.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.retry._RetryDelayCalculator._start
ganeti.utils.retry._RetryDelayCalculator.html#_start
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.retry._RetryDelayCalculator._factor
ganeti.utils.retry._RetryDelayCalculator.html#_factor
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.retry._RetryDelayCalculator._limit
ganeti.utils.retry._RetryDelayCalculator.html#_limit
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.retry._RetryDelayCalculator._next
ganeti.utils.retry._RetryDelayCalculator.html#_next
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.retry._RetryDelayCalculator.__call__
ganeti.utils.retry._RetryDelayCalculator.html#__call__
Function
Method
PUBLIC
Returns current delay and calculates the next one.
-
ganeti.utils.retry.Retry
ganeti.utils.retry.html#Retry
Function
Function
PUBLIC
Call a function repeatedly until it succeeds.
-
ganeti.utils.retry.SimpleRetry
ganeti.utils.retry.html#SimpleRetry
Function
Function
PUBLIC
A wrapper over
Retry implementing a simpler interface.
-
ganeti.utils.retry.CountRetry
ganeti.utils.retry.html#CountRetry
Function
Function
PUBLIC
-
ganeti.utils.retry.RetryByNumberOfTimes
ganeti.utils.retry.html#RetryByNumberOfTimes
Function
Function
PUBLIC
Retries calling a function up to the specified number of times.
-
ganeti.utils.filelock.LockFile
ganeti.utils.filelock.html#LockFile
Function
Function
PUBLIC
Locks a file using POSIX locks.
-
ganeti.utils.filelock.FileLock
ganeti.utils.filelock.FileLock.html
Class
Class
PUBLIC
Utility class for file locks.
-
ganeti.utils.filelock.FileLock.__init__
ganeti.utils.filelock.FileLock.html#__init__
Function
Method
PUBLIC
Constructor for FileLock.
-
ganeti.utils.filelock.FileLock.fd
ganeti.utils.filelock.FileLock.html#fd
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.filelock.FileLock.filename
ganeti.utils.filelock.FileLock.html#filename
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.filelock.FileLock.Open
ganeti.utils.filelock.FileLock.html#Open
Function
Class Method
PUBLIC
Creates and opens a file to be used as a file-based lock.
-
ganeti.utils.filelock.FileLock.__del__
ganeti.utils.filelock.FileLock.html#__del__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.filelock.FileLock.Close
ganeti.utils.filelock.FileLock.html#Close
Function
Method
PUBLIC
Close the file and release the lock.
-
ganeti.utils.filelock.FileLock._flock
ganeti.utils.filelock.FileLock.html#_flock
Function
Method
PRIVATE
Wrapper for fcntl.flock.
-
ganeti.utils.filelock.FileLock._Lock
ganeti.utils.filelock.FileLock.html#_Lock
Function
Static Method
PRIVATE
Undocumented
-
ganeti.utils.filelock.FileLock.Exclusive
ganeti.utils.filelock.FileLock.html#Exclusive
Function
Method
PUBLIC
Locks the file in exclusive mode.
-
ganeti.utils.filelock.FileLock.Shared
ganeti.utils.filelock.FileLock.html#Shared
Function
Method
PUBLIC
Locks the file in shared mode.
-
ganeti.utils.filelock.FileLock.Unlock
ganeti.utils.filelock.FileLock.html#Unlock
Function
Method
PUBLIC
Unlocks the file.
-
ganeti.utils.hash.Sha1Hmac
ganeti.utils.hash.html#Sha1Hmac
Function
Function
PUBLIC
Calculates the HMAC-SHA1 digest of a message.
-
ganeti.utils.hash.VerifySha1Hmac
ganeti.utils.hash.html#VerifySha1Hmac
Function
Function
PUBLIC
Verifies the HMAC-SHA1 digest of a text.
-
ganeti.utils.hash._FingerprintFile
ganeti.utils.hash.html#_FingerprintFile
Function
Function
PRIVATE
Compute the fingerprint of a file.
-
ganeti.utils.hash.FingerprintFiles
ganeti.utils.hash.html#FingerprintFiles
Function
Function
PUBLIC
Compute fingerprints for a list of files.
-
ganeti.utils.io._LOST_AND_FOUND
ganeti.utils.io.html#_LOST_AND_FOUND
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.io.KP_NEVER
ganeti.utils.io.html#KP_NEVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.io.KP_ALWAYS
ganeti.utils.io.html#KP_ALWAYS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.io.KP_IF_EXISTS
ganeti.utils.io.html#KP_IF_EXISTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.io.KEEP_PERMS_VALUES
ganeti.utils.io.html#KEEP_PERMS_VALUES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.io.ErrnoOrStr
ganeti.utils.io.html#ErrnoOrStr
Function
Function
PUBLIC
Format an EnvironmentError exception.
-
ganeti.utils.io.FileStatHelper
ganeti.utils.io.FileStatHelper.html
Class
Class
PUBLIC
Helper to store file handle's fstat.
-
ganeti.utils.io.FileStatHelper.__init__
ganeti.utils.io.FileStatHelper.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.io.FileStatHelper.st
ganeti.utils.io.FileStatHelper.html#st
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.io.FileStatHelper.__call__
ganeti.utils.io.FileStatHelper.html#__call__
Function
Method
PUBLIC
Calls fstat on file handle.
-
ganeti.utils.io.ReadBinaryFile
ganeti.utils.io.html#ReadBinaryFile
Function
Function
PUBLIC
Reads a binary file.
-
ganeti.utils.io.ReadFile
ganeti.utils.io.html#ReadFile
Function
Function
PUBLIC
Reads a text file.
-
ganeti.utils.io.WriteFile
ganeti.utils.io.html#WriteFile
Function
Function
PUBLIC
(Over)write a file atomically.
-
ganeti.utils.io.GetFileID
ganeti.utils.io.html#GetFileID
Function
Function
PUBLIC
Returns the file 'id', i.e. the dev/inode and mtime information.
-
ganeti.utils.io.VerifyFileID
ganeti.utils.io.html#VerifyFileID
Function
Function
PUBLIC
Verifies that two file IDs are matching.
-
ganeti.utils.io.SafeWriteFile
ganeti.utils.io.html#SafeWriteFile
Function
Function
PUBLIC
Wraper over
WriteFile that locks the target file.
-
ganeti.utils.io.ReadOneLineFile
ganeti.utils.io.html#ReadOneLineFile
Function
Function
PUBLIC
Return the first non-empty line from a file.
-
ganeti.utils.io.RemoveFile
ganeti.utils.io.html#RemoveFile
Function
Function
PUBLIC
Remove a file ignoring some errors.
-
ganeti.utils.io.RemoveDir
ganeti.utils.io.html#RemoveDir
Function
Function
PUBLIC
Remove an empty directory.
-
ganeti.utils.io.RenameFile
ganeti.utils.io.html#RenameFile
Function
Function
PUBLIC
Renames a file.
-
ganeti.utils.io.EnforcePermission
ganeti.utils.io.html#EnforcePermission
Function
Function
PUBLIC
Enforces that given path has given permissions.
-
ganeti.utils.io.MakeDirWithPerm
ganeti.utils.io.html#MakeDirWithPerm
Function
Function
PUBLIC
Enforces that given path is a dir and has given mode, uid and gid set.
-
ganeti.utils.io.Makedirs
ganeti.utils.io.html#Makedirs
Function
Function
PUBLIC
Super-mkdir; create a leaf directory and all intermediate ones.
-
ganeti.utils.io.TimestampForFilename
ganeti.utils.io.html#TimestampForFilename
Function
Function
PUBLIC
Returns the current time formatted for filenames.
-
ganeti.utils.io.CreateBackup
ganeti.utils.io.html#CreateBackup
Function
Function
PUBLIC
Creates a backup of a file.
-
ganeti.utils.io.ListVisibleFiles
ganeti.utils.io.html#ListVisibleFiles
Function
Function
PUBLIC
Returns a list of visible files in a directory.
-
ganeti.utils.io.EnsureDirs
ganeti.utils.io.html#EnsureDirs
Function
Function
PUBLIC
Make required directories, if they don't exist.
-
ganeti.utils.io.FindFile
ganeti.utils.io.html#FindFile
Function
Function
PUBLIC
Look for a filesystem object in a given path.
-
ganeti.utils.io.IsNormAbsPath
ganeti.utils.io.html#IsNormAbsPath
Function
Function
PUBLIC
Check whether a path is absolute and also normalized
-
ganeti.utils.io.IsBelowDir
ganeti.utils.io.html#IsBelowDir
Function
Function
PUBLIC
Check whether a path is below a root dir.
-
ganeti.utils.io.URL_RE
ganeti.utils.io.html#URL_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.io.IsUrl
ganeti.utils.io.html#IsUrl
Function
Function
PUBLIC
Check whether a path is a HTTP URL.
-
ganeti.utils.io.PathJoin
ganeti.utils.io.html#PathJoin
Function
Function
PUBLIC
Safe-join a list of path components.
-
ganeti.utils.io.TailFile
ganeti.utils.io.html#TailFile
Function
Function
PUBLIC
Return the last lines from a file.
-
ganeti.utils.io.BytesToMebibyte
ganeti.utils.io.html#BytesToMebibyte
Function
Function
PUBLIC
Converts bytes to mebibytes.
-
ganeti.utils.io.CalculateDirectorySize
ganeti.utils.io.html#CalculateDirectorySize
Function
Function
PUBLIC
Calculates the size of a directory recursively.
-
ganeti.utils.io.GetFilesystemStats
ganeti.utils.io.html#GetFilesystemStats
Function
Function
PUBLIC
Returns the total and free space on a filesystem.
-
ganeti.utils.io.ReadPidFile
ganeti.utils.io.html#ReadPidFile
Function
Function
PUBLIC
Read a pid from a file.
-
ganeti.utils.io._ParsePidFileContents
ganeti.utils.io.html#_ParsePidFileContents
Function
Function
PRIVATE
Tries to extract a process ID from a PID file's content.
-
ganeti.utils.io.ReadLockedPidFile
ganeti.utils.io.html#ReadLockedPidFile
Function
Function
PUBLIC
Reads a locked PID file.
-
ganeti.utils.io.DaemonPidFileName
ganeti.utils.io.html#DaemonPidFileName
Function
Function
PUBLIC
Compute a ganeti pid file absolute path
-
ganeti.utils.io.WritePidFile
ganeti.utils.io.html#WritePidFile
Function
Function
PUBLIC
Write the current process pidfile.
-
ganeti.utils.io.ReadWatcherPauseFile
ganeti.utils.io.html#ReadWatcherPauseFile
Function
Function
PUBLIC
Reads the watcher pause file.
-
ganeti.utils.io.NewUUID
ganeti.utils.io.html#NewUUID
Function
Function
PUBLIC
Returns a random UUID.
-
ganeti.utils.io.TemporaryFileManager
ganeti.utils.io.TemporaryFileManager.html
Class
Class
PUBLIC
Stores the list of files to be deleted and removes them on demand.
-
ganeti.utils.io.TemporaryFileManager.__init__
ganeti.utils.io.TemporaryFileManager.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.io.TemporaryFileManager._files
ganeti.utils.io.TemporaryFileManager.html#_files
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.io.TemporaryFileManager.__del__
ganeti.utils.io.TemporaryFileManager.html#__del__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.io.TemporaryFileManager.Add
ganeti.utils.io.TemporaryFileManager.html#Add
Function
Method
PUBLIC
Add file to list of files to be deleted.
-
ganeti.utils.io.TemporaryFileManager.Remove
ganeti.utils.io.TemporaryFileManager.html#Remove
Function
Method
PUBLIC
Remove file from list of files to be deleted.
-
ganeti.utils.io.TemporaryFileManager.Cleanup
ganeti.utils.io.TemporaryFileManager.html#Cleanup
Function
Method
PUBLIC
Delete all files marked for deletion
-
ganeti.utils.io.IsUserInGroup
ganeti.utils.io.html#IsUserInGroup
Function
Function
PUBLIC
Returns True if the user belongs to the group.
-
ganeti.utils.io.CanRead
ganeti.utils.io.html#CanRead
Function
Function
PUBLIC
Returns True if the user can access (read) the file.
-
ganeti.utils.io.OpenTTY
ganeti.utils.io.html#OpenTTY
Function
Function
PUBLIC
Returns a text I/O object pointing a TTY (/dev/tty by default)
-
ganeti.utils.livelock.LiveLock
ganeti.utils.livelock.LiveLock.html
Class
Class
PUBLIC
Utility for a lockfile needed to request resources from WconfD.
-
ganeti.utils.livelock.LiveLock.__init__
ganeti.utils.livelock.LiveLock.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.livelock.LiveLock.lockfile
ganeti.utils.livelock.LiveLock.html#lockfile
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.livelock.LiveLock.GetPath
ganeti.utils.livelock.LiveLock.html#GetPath
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.livelock.LiveLock.close
ganeti.utils.livelock.LiveLock.html#close
Function
Method
PUBLIC
Close the lockfile and clean it up.
-
ganeti.utils.livelock.LiveLock.__str__
ganeti.utils.livelock.LiveLock.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.livelock.GuessLockfileFor
ganeti.utils.livelock.html#GuessLockfileFor
Function
Function
PUBLIC
For a given name, take the latest file matching.
-
ganeti.utils.log._ReopenableLogHandler
ganeti.utils.log._ReopenableLogHandler.html
Class
Class
PRIVATE
Log handler with ability to reopen log file on request.
-
ganeti.utils.log._ReopenableLogHandler.__init__
ganeti.utils.log._ReopenableLogHandler.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.log._ReopenableLogHandler._reopen
ganeti.utils.log._ReopenableLogHandler.html#_reopen
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.log._ReopenableLogHandler.shouldRollover
ganeti.utils.log._ReopenableLogHandler.html#shouldRollover
Function
Method
PUBLIC
Determine whether log file should be reopened.
-
ganeti.utils.log._ReopenableLogHandler.doRollover
ganeti.utils.log._ReopenableLogHandler.html#doRollover
Function
Method
PUBLIC
Reopens the log file.
-
ganeti.utils.log._ReopenableLogHandler.stream
ganeti.utils.log._ReopenableLogHandler.html#stream
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.log._ReopenableLogHandler.RequestReopen
ganeti.utils.log._ReopenableLogHandler.html#RequestReopen
Function
Method
PUBLIC
Register a request to reopen the file.
-
ganeti.utils.log._LogErrorsToConsole
ganeti.utils.log.html#_LogErrorsToConsole
Function
Function
PRIVATE
Create wrapper class writing errors to console.
-
ganeti.utils.log._LogHandler
ganeti.utils.log.html#_LogHandler
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.utils.log._GetLogFormatter
ganeti.utils.log.html#_GetLogFormatter
Function
Function
PRIVATE
Build log formatter.
-
ganeti.utils.log._ReopenLogFiles
ganeti.utils.log.html#_ReopenLogFiles
Function
Function
PRIVATE
Wrapper for reopening all log handler's files in a sequence.
-
ganeti.utils.log.SetupLogging
ganeti.utils.log.html#SetupLogging
Function
Function
PUBLIC
Configures the logging module.
-
ganeti.utils.log.SetupToolLogging
ganeti.utils.log.html#SetupToolLogging
Function
Function
PUBLIC
Configures the logging module for tools.
-
ganeti.utils.lvm.CheckVolumeGroupSize
ganeti.utils.lvm.html#CheckVolumeGroupSize
Function
Function
PUBLIC
Checks if the volume group list is valid.
-
ganeti.utils.lvm.LvmExclusiveCheckNodePvs
ganeti.utils.lvm.html#LvmExclusiveCheckNodePvs
Function
Function
PUBLIC
Check consistency of PV sizes in a node for exclusive storage.
-
ganeti.utils.lvm.LvmExclusiveTestBadPvSizes
ganeti.utils.lvm.html#LvmExclusiveTestBadPvSizes
Function
Function
PUBLIC
Test if the given PV sizes are permitted with exclusive storage.
-
ganeti.utils.mlock._MCL_CURRENT
ganeti.utils.mlock.html#_MCL_CURRENT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.mlock._MCL_FUTURE
ganeti.utils.mlock.html#_MCL_FUTURE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.mlock.Mlockall
ganeti.utils.mlock.html#Mlockall
Function
Function
PUBLIC
Lock current process' virtual address space into RAM.
-
ganeti.utils.nodesetup.SetEtcHostsEntry
ganeti.utils.nodesetup.html#SetEtcHostsEntry
Function
Function
PUBLIC
Sets the name of an IP address and hostname in /etc/hosts.
-
ganeti.utils.nodesetup.AddHostToEtcHosts
ganeti.utils.nodesetup.html#AddHostToEtcHosts
Function
Function
PUBLIC
Wrapper around SetEtcHostsEntry.
-
ganeti.utils.nodesetup.RemoveEtcHostsEntry
ganeti.utils.nodesetup.html#RemoveEtcHostsEntry
Function
Function
PUBLIC
Removes a hostname from /etc/hosts.
-
ganeti.utils.nodesetup.RemoveHostFromEtcHosts
ganeti.utils.nodesetup.html#RemoveHostFromEtcHosts
Function
Function
PUBLIC
Wrapper around RemoveEtcHostsEntry.
-
ganeti.utils.wrapper.TestDelay
ganeti.utils.wrapper.html#TestDelay
Function
Function
PUBLIC
Sleep for a fixed amount of time.
-
ganeti.utils.wrapper.CloseFdNoError
ganeti.utils.wrapper.html#CloseFdNoError
Function
Function
PUBLIC
Close a file descriptor ignoring errors.
-
ganeti.utils.wrapper.SetCloseOnExecFlag
ganeti.utils.wrapper.html#SetCloseOnExecFlag
Function
Function
PUBLIC
Sets or unsets the close-on-exec flag on a file descriptor.
-
ganeti.utils.wrapper.SetNonblockFlag
ganeti.utils.wrapper.html#SetNonblockFlag
Function
Function
PUBLIC
Sets or unsets the O_NONBLOCK flag on on a file descriptor.
-
ganeti.utils.wrapper.RetryOnSignal
ganeti.utils.wrapper.html#RetryOnSignal
Function
Function
PUBLIC
Calls a function again if it failed due to EINTR.
-
ganeti.utils.wrapper.IgnoreProcessNotFound
ganeti.utils.wrapper.html#IgnoreProcessNotFound
Function
Function
PUBLIC
Ignores ESRCH when calling a process-related function.
-
ganeti.utils.wrapper.IgnoreSignals
ganeti.utils.wrapper.html#IgnoreSignals
Function
Function
PUBLIC
Tries to call a function ignoring failures due to EINTR.
-
ganeti.utils.wrapper.GetClosedTempfile
ganeti.utils.wrapper.html#GetClosedTempfile
Function
Function
PUBLIC
Creates a temporary file and returns its path.
-
ganeti.utils.wrapper.IsExecutable
ganeti.utils.wrapper.html#IsExecutable
Function
Function
PUBLIC
Checks whether a file exists and is executable.
-
ganeti.utils.wrapper.ResetTempfileModule
ganeti.utils.wrapper.html#ResetTempfileModule
Function
Function
PUBLIC
Resets the random name generator of the tempfile module.
-
ganeti.utils.process._no_fork
ganeti.utils.process.html#_no_fork
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.utils.process._TIMEOUT_NONE
ganeti.utils.process.html#_TIMEOUT_NONE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.process._TIMEOUT_TERM
ganeti.utils.process.html#_TIMEOUT_TERM
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.process._TIMEOUT_KILL
ganeti.utils.process.html#_TIMEOUT_KILL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.process.DisableFork
ganeti.utils.process.html#DisableFork
Function
Function
PUBLIC
Disables the use of fork(2).
-
ganeti.utils.process.RunResult
ganeti.utils.process.RunResult.html
Class
Class
PUBLIC
Holds the result of running external programs.
-
ganeti.utils.process.RunResult.exit_code
ganeti.utils.process.RunResult.html#exit_code
Attribute
Instance Variable
PUBLIC
the exit code of the program, or None (if the program didn't exit())
-
ganeti.utils.process.RunResult.signal
ganeti.utils.process.RunResult.html#signal
Attribute
Instance Variable
PUBLIC
the signal that caused the program to finish, or None (if the program wasn't terminated by a signal)
-
ganeti.utils.process.RunResult.stdout
ganeti.utils.process.RunResult.html#stdout
Attribute
Instance Variable
PUBLIC
the standard output of the program
-
ganeti.utils.process.RunResult.stderr
ganeti.utils.process.RunResult.html#stderr
Attribute
Instance Variable
PUBLIC
the standard error of the program
-
ganeti.utils.process.RunResult.failed
ganeti.utils.process.RunResult.html#failed
Attribute
Instance Variable
PUBLIC
True in case the program was terminated by a signal or exited with a non-zero exit code
-
ganeti.utils.process.RunResult.failed_by_timeout
ganeti.utils.process.RunResult.html#failed_by_timeout
Attribute
Instance Variable
PUBLIC
True in case the program was terminated by timeout
-
ganeti.utils.process.RunResult.fail_reason
ganeti.utils.process.RunResult.html#fail_reason
Attribute
Instance Variable
PUBLIC
a string detailing the termination reason
-
ganeti.utils.process.RunResult.__slots__
ganeti.utils.process.RunResult.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.utils.process.RunResult.__init__
ganeti.utils.process.RunResult.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.process.RunResult.cmd
ganeti.utils.process.RunResult.html#cmd
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.process.RunResult._GetOutput
ganeti.utils.process.RunResult.html#_GetOutput
Function
Method
PRIVATE
Returns the combined stdout and stderr for easier usage.
-
ganeti.utils.process.RunResult.output
ganeti.utils.process.RunResult.html#output
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.utils.process._BuildCmdEnvironment
ganeti.utils.process.html#_BuildCmdEnvironment
Function
Function
PRIVATE
Builds the environment for an external program.
-
ganeti.utils.process.RunCmd
ganeti.utils.process.html#RunCmd
Function
Function
PUBLIC
Execute a (shell) command.
-
ganeti.utils.process.SetupDaemonEnv
ganeti.utils.process.html#SetupDaemonEnv
Function
Function
PUBLIC
Setup a daemon's environment.
-
ganeti.utils.process.SetupDaemonFDs
ganeti.utils.process.html#SetupDaemonFDs
Function
Function
PUBLIC
Setups up a daemon's file descriptors.
-
ganeti.utils.process.StartDaemon
ganeti.utils.process.html#StartDaemon
Function
Function
PUBLIC
Start a daemon process after forking twice.
-
ganeti.utils.process._StartDaemonChild
ganeti.utils.process.html#_StartDaemonChild
Function
Function
PRIVATE
Child process for starting daemon.
-
ganeti.utils.process.WriteErrorToFD
ganeti.utils.process.html#WriteErrorToFD
Function
Function
PUBLIC
Possibly write an error message to a fd.
-
ganeti.utils.process._CheckIfAlive
ganeti.utils.process.html#_CheckIfAlive
Function
Function
PRIVATE
-
ganeti.utils.process._WaitForProcess
ganeti.utils.process.html#_WaitForProcess
Function
Function
PRIVATE
Waits for the child to terminate or until we reach timeout.
-
ganeti.utils.process._RunCmdPipe
ganeti.utils.process.html#_RunCmdPipe
Function
Function
PRIVATE
Run a command and return its output.
-
ganeti.utils.process._RunCmdFile
ganeti.utils.process.html#_RunCmdFile
Function
Function
PRIVATE
Run a command and save its output to a file.
-
ganeti.utils.process.RunParts
ganeti.utils.process.html#RunParts
Function
Function
PUBLIC
Run Scripts or programs in a directory
-
ganeti.utils.process._GetProcStatusPath
ganeti.utils.process.html#_GetProcStatusPath
Function
Function
PRIVATE
Returns the path for a PID's proc status file.
-
ganeti.utils.process.GetProcCmdline
ganeti.utils.process.html#GetProcCmdline
Function
Function
PUBLIC
Returns the command line of a pid as a list of arguments.
-
ganeti.utils.process.IsProcessAlive
ganeti.utils.process.html#IsProcessAlive
Function
Function
PUBLIC
Check if a given pid exists on the system.
-
ganeti.utils.process.IsDaemonAlive
ganeti.utils.process.html#IsDaemonAlive
Function
Function
PUBLIC
Determines whether a daemon is alive
-
ganeti.utils.process._ParseSigsetT
ganeti.utils.process.html#_ParseSigsetT
Function
Function
PRIVATE
Parse a rendered sigset_t value.
-
ganeti.utils.process._GetProcStatusField
ganeti.utils.process.html#_GetProcStatusField
Function
Function
PRIVATE
Retrieves a field from the contents of a proc status file.
-
ganeti.utils.process.IsProcessHandlingSignal
ganeti.utils.process.html#IsProcessHandlingSignal
Function
Function
PUBLIC
Checks whether a process is handling a signal.
-
ganeti.utils.process.Daemonize
ganeti.utils.process.html#Daemonize
Function
Function
PUBLIC
Daemonize the current process.
-
ganeti.utils.process.KillProcess
ganeti.utils.process.html#KillProcess
Function
Function
PUBLIC
Kill a process given by its pid.
-
ganeti.utils.process.RunInSeparateProcess
ganeti.utils.process.html#RunInSeparateProcess
Function
Function
PUBLIC
Runs a function in a separate process.
-
ganeti.utils.process.CloseFDs
ganeti.utils.process.html#CloseFDs
Function
Function
PUBLIC
Close file descriptors.
-
ganeti.utils.x509.HEX_CHAR_RE
ganeti.utils.x509.html#HEX_CHAR_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.x509.VALID_X509_SIGNATURE_SALT
ganeti.utils.x509.html#VALID_X509_SIGNATURE_SALT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.x509.X509_SIGNATURE
ganeti.utils.x509.html#X509_SIGNATURE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.x509.CERT_WARNING
ganeti.utils.x509.html#CERT_WARNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.x509.CERT_ERROR
ganeti.utils.x509.html#CERT_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.x509._ASN1_TIME_REGEX
ganeti.utils.x509.html#_ASN1_TIME_REGEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.x509._ParseAsn1Generalizedtime
ganeti.utils.x509.html#_ParseAsn1Generalizedtime
Function
Function
PRIVATE
Parses an ASN1 GENERALIZEDTIME timestamp as used by pyOpenSSL.
-
ganeti.utils.x509.GetX509CertValidity
ganeti.utils.x509.html#GetX509CertValidity
Function
Function
PUBLIC
Returns the validity period of the certificate.
-
ganeti.utils.x509._VerifyCertificateInner
ganeti.utils.x509.html#_VerifyCertificateInner
Function
Function
PRIVATE
Verifies certificate validity.
-
ganeti.utils.x509.VerifyX509Certificate
ganeti.utils.x509.html#VerifyX509Certificate
Function
Function
PUBLIC
Verifies a certificate for LUClusterVerify.
-
ganeti.utils.x509.SignX509Certificate
ganeti.utils.x509.html#SignX509Certificate
Function
Function
PUBLIC
Sign a X509 certificate.
-
ganeti.utils.x509.LoadSignedX509Certificate
ganeti.utils.x509.html#LoadSignedX509Certificate
Function
Function
PUBLIC
Verifies a signed X509 certificate.
-
ganeti.utils.x509.GenerateSelfSignedX509Cert
ganeti.utils.x509.html#GenerateSelfSignedX509Cert
Function
Function
PUBLIC
Generates a self-signed X509 certificate.
-
ganeti.utils.x509.GenerateSelfSignedSslCert
ganeti.utils.x509.html#GenerateSelfSignedSslCert
Function
Function
PUBLIC
Legacy function to generate self-signed X509 certificate.
-
ganeti.utils.x509.GenerateSignedX509Cert
ganeti.utils.x509.html#GenerateSignedX509Cert
Function
Function
PUBLIC
Generates a signed (but not self-signed) X509 certificate.
-
ganeti.utils.x509.GenerateSignedSslCert
ganeti.utils.x509.html#GenerateSignedSslCert
Function
Function
PUBLIC
Undocumented
-
ganeti.utils.x509.X509CertKeyCheck
ganeti.utils.x509.html#X509CertKeyCheck
Function
Function
PUBLIC
Function for verifying certificate with a certain private key.
-
ganeti.utils.x509.CheckNodeCertificate
ganeti.utils.x509.html#CheckNodeCertificate
Function
Function
PUBLIC
Checks the local node daemon certificate against given certificate.
-
ganeti.utils.security.UuidToInt
ganeti.utils.security.html#UuidToInt
Function
Function
PUBLIC
Undocumented
-
ganeti.utils.security.GetCertificateDigest
ganeti.utils.security.html#GetCertificateDigest
Function
Function
PUBLIC
Reads the SSL certificate and returns the sha1 digest.
-
ganeti.utils.security.GenerateNewSslCert
ganeti.utils.security.html#GenerateNewSslCert
Function
Function
PUBLIC
Creates a new server SSL certificate and backups the old one.
-
ganeti.utils.security.GenerateNewClientSslCert
ganeti.utils.security.html#GenerateNewClientSslCert
Function
Function
PUBLIC
Creates a new server SSL certificate and backups the old one.
-
ganeti.utils.security.VerifyCertificate
ganeti.utils.security.html#VerifyCertificate
Function
Function
PUBLIC
Verifies a SSL certificate.
-
ganeti.utils.security.IsCertificateSelfSigned
ganeti.utils.security.html#IsCertificateSelfSigned
Function
Function
PUBLIC
Checks whether the certificate issuer is the same as the owner.
-
ganeti.utils.storage.GetDiskTemplatesOfStorageTypes
ganeti.utils.storage.html#GetDiskTemplatesOfStorageTypes
Function
Function
PUBLIC
Given the storage type, returns a list of disk templates based on that storage type.
-
ganeti.utils.storage.IsDiskTemplateEnabled
ganeti.utils.storage.html#IsDiskTemplateEnabled
Function
Function
PUBLIC
Checks if a particular disk template is enabled.
-
ganeti.utils.storage.IsFileStorageEnabled
ganeti.utils.storage.html#IsFileStorageEnabled
Function
Function
PUBLIC
Checks if file storage is enabled.
-
ganeti.utils.storage.IsSharedFileStorageEnabled
ganeti.utils.storage.html#IsSharedFileStorageEnabled
Function
Function
PUBLIC
Checks if shared file storage is enabled.
-
ganeti.utils.storage.IsLvmEnabled
ganeti.utils.storage.html#IsLvmEnabled
Function
Function
PUBLIC
Check whether or not any lvm-based disk templates are enabled.
-
ganeti.utils.storage.LvmGetsEnabled
ganeti.utils.storage.html#LvmGetsEnabled
Function
Function
PUBLIC
Checks whether lvm was not enabled before, but will be enabled after the operation.
-
ganeti.utils.storage._GetDefaultStorageUnitForDiskTemplate
ganeti.utils.storage.html#_GetDefaultStorageUnitForDiskTemplate
Function
Function
PRIVATE
Retrieves the identifier of the default storage entity for the given storage type.
-
ganeti.utils.storage.DiskTemplateSupportsSpaceReporting
ganeti.utils.storage.html#DiskTemplateSupportsSpaceReporting
Function
Function
PUBLIC
Check whether the disk template supports storage space reporting.
-
ganeti.utils.storage.GetStorageUnits
ganeti.utils.storage.html#GetStorageUnits
Function
Function
PUBLIC
Get the cluster's storage units for the given disk templates.
-
ganeti.utils.storage.LookupSpaceInfoByDiskTemplate
ganeti.utils.storage.html#LookupSpaceInfoByDiskTemplate
Function
Function
PUBLIC
Looks up the storage space info for a given disk template.
-
ganeti.utils.storage.LookupSpaceInfoByStorageType
ganeti.utils.storage.html#LookupSpaceInfoByStorageType
Function
Function
PUBLIC
Looks up the storage space info for a given storage type.
-
ganeti.utils.storage.GetDiskLabels
ganeti.utils.storage.html#GetDiskLabels
Function
Function
PUBLIC
Generate disk labels for a number of disks
-
ganeti.utils.storage.CreateBdevPartitionMapping
ganeti.utils.storage.html#CreateBdevPartitionMapping
Function
Function
PUBLIC
Create dm device for each partition of disk image.
-
ganeti.utils.storage.ReleaseBdevPartitionMapping
ganeti.utils.storage.html#ReleaseBdevPartitionMapping
Function
Function
PUBLIC
Release allocated dm devices and loopback devices.
-
ganeti.utils.storage.osminor
ganeti.utils.storage.html#osminor
Function
Function
PUBLIC
Return the device minor number from a raw device number.
-
ganeti.utils.tags.GetExclusionPrefixes
ganeti.utils.tags.html#GetExclusionPrefixes
Function
Function
PUBLIC
Extract the exclusion tag prefixes from the cluster tags
-
ganeti.utils.tags.IsGoodTag
ganeti.utils.tags.html#IsGoodTag
Function
Function
PUBLIC
Decide if a string is a tag
-
ganeti.utils.version._FULL_VERSION_RE
ganeti.utils.version.html#_FULL_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.version._SHORT_VERSION_RE
ganeti.utils.version.html#_SHORT_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.version.FIRST_UPGRADE_VERSION
ganeti.utils.version.html#FIRST_UPGRADE_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.version.CURRENT_VERSION
ganeti.utils.version.html#CURRENT_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.version.BuildVersion
ganeti.utils.version.html#BuildVersion
Function
Function
PUBLIC
Calculates int version number from major, minor and revision numbers.
-
ganeti.utils.version.SplitVersion
ganeti.utils.version.html#SplitVersion
Function
Function
PUBLIC
Splits version number stored in an int.
-
ganeti.utils.version.ParseVersion
ganeti.utils.version.html#ParseVersion
Function
Function
PUBLIC
Parses a version string.
-
ganeti.utils.version.UpgradeRange
ganeti.utils.version.html#UpgradeRange
Function
Function
PUBLIC
Verify whether a version is within the range of automatic upgrades.
-
ganeti.utils.version.ShouldCfgdowngrade
ganeti.utils.version.html#ShouldCfgdowngrade
Function
Function
PUBLIC
Decide whether cfgupgrade --downgrade should be called.
-
ganeti.utils.version.IsCorrectConfigVersion
ganeti.utils.version.html#IsCorrectConfigVersion
Function
Function
PUBLIC
Decide whether configuration version is compatible with the target.
-
ganeti.utils.version.IsBefore
ganeti.utils.version.html#IsBefore
Function
Function
PUBLIC
Decide if a given version is strictly before a given version.
-
ganeti.utils.version.IsEqual
ganeti.utils.version.html#IsEqual
Function
Function
PUBLIC
Decide if a given version matches the given version.
-
ganeti.utils.bitarrays._AVAILABLE_SLOT
ganeti.utils.bitarrays.html#_AVAILABLE_SLOT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.bitarrays.GetFreeSlot
ganeti.utils.bitarrays.html#GetFreeSlot
Function
Function
PUBLIC
Helper method to get first available slot in a bitarray
-
ganeti.utils._VALID_SERVICE_NAME_RE
ganeti.utils.html#_VALID_SERVICE_NAME_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.utils.UUID_RE
ganeti.utils.html#UUID_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.utils.ForceDictType
ganeti.utils.html#ForceDictType
Function
Function
PUBLIC
Force the values of a dict to have certain types.
-
ganeti.utils.ValidateServiceName
ganeti.utils.html#ValidateServiceName
Function
Function
PUBLIC
Validate the given service name.
-
ganeti.utils._ComputeMissingKeys
ganeti.utils.html#_ComputeMissingKeys
Function
Function
PRIVATE
Helper functions to compute which keys a invalid.
-
ganeti.utils.VerifyDictOptions
ganeti.utils.html#VerifyDictOptions
Function
Function
PUBLIC
Verify a dict has only keys set which also are in the defaults dict.
-
ganeti.utils.ListVolumeGroups
ganeti.utils.html#ListVolumeGroups
Function
Function
PUBLIC
List volume groups and their size
-
ganeti.utils.BridgeExists
ganeti.utils.html#BridgeExists
Function
Function
PUBLIC
Check whether the given bridge exists in the system
-
ganeti.utils.TryConvert
ganeti.utils.html#TryConvert
Function
Function
PUBLIC
Try to convert a value ignoring errors.
-
ganeti.utils.ParseCpuMask
ganeti.utils.html#ParseCpuMask
Function
Function
PUBLIC
Parse a CPU mask definition and return the list of CPU IDs.
-
ganeti.utils.ParseMultiCpuMask
ganeti.utils.html#ParseMultiCpuMask
Function
Function
PUBLIC
Parse a multiple CPU mask definition and return the list of CPU IDs.
-
ganeti.utils.GetHomeDir
ganeti.utils.html#GetHomeDir
Function
Function
PUBLIC
Try to get the homedir of the given user.
-
ganeti.utils.FirstFree
ganeti.utils.html#FirstFree
Function
Function
PUBLIC
Returns the first non-existing integer from seq.
-
ganeti.utils.SingleWaitForFdCondition
ganeti.utils.html#SingleWaitForFdCondition
Function
Function
PUBLIC
Waits for a condition to occur on the socket.
-
ganeti.utils.FdConditionWaiterHelper
ganeti.utils.FdConditionWaiterHelper.html
Class
Class
PUBLIC
Retry helper for WaitForFdCondition.
-
ganeti.utils.FdConditionWaiterHelper.__init__
ganeti.utils.FdConditionWaiterHelper.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.FdConditionWaiterHelper.timeout
ganeti.utils.FdConditionWaiterHelper.html#timeout
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.FdConditionWaiterHelper.Poll
ganeti.utils.FdConditionWaiterHelper.html#Poll
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.FdConditionWaiterHelper.UpdateTimeout
ganeti.utils.FdConditionWaiterHelper.html#UpdateTimeout
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.WaitForFdCondition
ganeti.utils.html#WaitForFdCondition
Function
Function
PUBLIC
Waits for a condition to occur on the socket.
-
ganeti.utils.EnsureDaemon
ganeti.utils.html#EnsureDaemon
Function
Function
PUBLIC
Check for and start daemon if not alive.
-
ganeti.utils.StopDaemon
ganeti.utils.html#StopDaemon
Function
Function
PUBLIC
Stop daemon
-
ganeti.utils.SplitTime
ganeti.utils.html#SplitTime
Function
Function
PUBLIC
Splits time as floating point number into a tuple.
-
ganeti.utils.MergeTime
ganeti.utils.html#MergeTime
Function
Function
PUBLIC
Merges a tuple into time as a floating point number.
-
ganeti.utils.EpochNano
ganeti.utils.html#EpochNano
Function
Function
PUBLIC
Return the current timestamp expressed as number of nanoseconds since the unix epoch
-
ganeti.utils.FindMatch
ganeti.utils.html#FindMatch
Function
Function
PUBLIC
Tries to find an item in a dictionary matching a name.
-
ganeti.utils.GetMounts
ganeti.utils.html#GetMounts
Function
Function
PUBLIC
Returns the list of mounted filesystems.
-
ganeti.utils.SignalHandled
ganeti.utils.html#SignalHandled
Function
Function
PUBLIC
Signal Handled decoration.
-
ganeti.utils.TimeoutExpired
ganeti.utils.html#TimeoutExpired
Function
Function
PUBLIC
Checks whether a timeout has expired.
-
ganeti.utils.SignalWakeupFd
ganeti.utils.SignalWakeupFd.html
Class
Class
PUBLIC
No class docstring; 0/5 instance variable, 4/5 methods documented
-
ganeti.utils.SignalWakeupFd._SetWakeupFd
ganeti.utils.SignalWakeupFd.html#_SetWakeupFd
Function
Method
PRIVATE
Undocumented
-
ganeti.utils.SignalWakeupFd.__init__
ganeti.utils.SignalWakeupFd.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.utils.SignalWakeupFd._read_fh
ganeti.utils.SignalWakeupFd.html#_read_fh
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.SignalWakeupFd._write_fh
ganeti.utils.SignalWakeupFd.html#_write_fh
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.SignalWakeupFd._previous
ganeti.utils.SignalWakeupFd.html#_previous
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.SignalWakeupFd.fileno
ganeti.utils.SignalWakeupFd.html#fileno
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.SignalWakeupFd.read
ganeti.utils.SignalWakeupFd.html#read
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.SignalWakeupFd.Reset
ganeti.utils.SignalWakeupFd.html#Reset
Function
Method
PUBLIC
Restores the previous wakeup file descriptor.
-
ganeti.utils.SignalWakeupFd.Notify
ganeti.utils.SignalWakeupFd.html#Notify
Function
Method
PUBLIC
Notifies the wakeup file descriptor.
-
ganeti.utils.SignalWakeupFd.__del__
ganeti.utils.SignalWakeupFd.html#__del__
Function
Method
PUBLIC
Called before object deletion.
-
ganeti.utils.SignalHandler
ganeti.utils.SignalHandler.html
Class
Class
PUBLIC
Generic signal handler class.
-
ganeti.utils.SignalHandler.signum
ganeti.utils.SignalHandler.html#signum
Attribute
Instance Variable
PUBLIC
the signals we handle
-
ganeti.utils.SignalHandler.called
ganeti.utils.SignalHandler.html#called
Attribute
Instance Variable
PUBLIC
tracks whether any of the signals have been raised
-
ganeti.utils.SignalHandler.__init__
ganeti.utils.SignalHandler.html#__init__
Function
Method
PUBLIC
Constructs a new SignalHandler instance.
-
ganeti.utils.SignalHandler._handler_fn
ganeti.utils.SignalHandler.html#_handler_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.SignalHandler._wakeup
ganeti.utils.SignalHandler.html#_wakeup
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.SignalHandler._previous
ganeti.utils.SignalHandler.html#_previous
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.utils.SignalHandler.__del__
ganeti.utils.SignalHandler.html#__del__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.SignalHandler.Reset
ganeti.utils.SignalHandler.html#Reset
Function
Method
PUBLIC
Restore previous handler.
-
ganeti.utils.SignalHandler.Clear
ganeti.utils.SignalHandler.html#Clear
Function
Method
PUBLIC
-
ganeti.utils.SignalHandler._HandleSignal
ganeti.utils.SignalHandler.html#_HandleSignal
Function
Method
PRIVATE
Actual signal handling function.
-
ganeti.utils.SignalHandler.SetHandlerFn
ganeti.utils.SignalHandler.html#SetHandlerFn
Function
Method
PUBLIC
Set the signal handling function
-
ganeti.utils.FieldSet
ganeti.utils.FieldSet.html
Class
Class
PUBLIC
A simple field set.
-
ganeti.utils.FieldSet.__init__
ganeti.utils.FieldSet.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.utils.FieldSet.items
ganeti.utils.FieldSet.html#items
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.utils.FieldSet.Extend
ganeti.utils.FieldSet.html#Extend
Function
Method
PUBLIC
Extend the field set with the items from another one
-
ganeti.utils.FieldSet.Matches
ganeti.utils.FieldSet.html#Matches
Function
Method
PUBLIC
Checks if a field matches the current set
-
ganeti.utils.FieldSet.NonMatching
ganeti.utils.FieldSet.html#NonMatching
Function
Method
PUBLIC
Returns the list of fields not matching the current set
-
ganeti.utils.ValidateDeviceNames
ganeti.utils.html#ValidateDeviceNames
Function
Function
PUBLIC
Validate instance device names.
-
ganeti.utils.AllDiskOfType
ganeti.utils.html#AllDiskOfType
Function
Function
PUBLIC
Checks if the instance has only disks of any of the dev_types.
-
ganeti.utils.AnyDiskOfType
ganeti.utils.html#AnyDiskOfType
Function
Function
PUBLIC
Checks if the instance has some disks of any types in dev_types.
-
ganeti.utils.GetDiskTemplateString
ganeti.utils.html#GetDiskTemplateString
Function
Function
PUBLIC
Gives a summary disk template from disk devtypes.
-
ganeti.utils.GetDiskTemplate
ganeti.utils.html#GetDiskTemplate
Function
Function
PUBLIC
Gives a summary disk template from disks.
-
ganeti.utils.SendFds
ganeti.utils.html#SendFds
Function
Function
PUBLIC
Sends a set of file descriptors over a socket using sendmsg(2)
-
ganeti.netutils._STRUCT_UCRED
ganeti.netutils.html#_STRUCT_UCRED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.netutils._STRUCT_UCRED_SIZE
ganeti.netutils.html#_STRUCT_UCRED_SIZE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.netutils._IP_RE_TEXT
ganeti.netutils.html#_IP_RE_TEXT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.netutils._IP_FAMILY_RE
ganeti.netutils.html#_IP_FAMILY_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.netutils._NAME_TO_IP_VER
ganeti.netutils.html#_NAME_TO_IP_VER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.netutils._GetIpAddressesFromIpOutput
ganeti.netutils.html#_GetIpAddressesFromIpOutput
Function
Function
PRIVATE
Parses the output of the ip command and retrieves the IP addresses and version.
-
ganeti.netutils.GetSocketCredentials
ganeti.netutils.html#GetSocketCredentials
Function
Function
PUBLIC
Returns the credentials of the foreign process connected to a socket.
-
ganeti.netutils.IsValidInterface
ganeti.netutils.html#IsValidInterface
Function
Function
PUBLIC
Validate an interface name.
-
ganeti.netutils.GetInterfaceIpAddresses
ganeti.netutils.html#GetInterfaceIpAddresses
Function
Function
PUBLIC
Returns the IP addresses associated to the interface.
-
ganeti.netutils.GetHostname
ganeti.netutils.html#GetHostname
Function
Function
PUBLIC
Returns a Hostname object.
-
ganeti.netutils.Hostname
ganeti.netutils.Hostname.html
Class
Class
PUBLIC
Class implementing resolver and hostname functionality.
-
ganeti.netutils.Hostname._VALID_NAME_RE
ganeti.netutils.Hostname.html#_VALID_NAME_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.netutils.Hostname.__init__
ganeti.netutils.Hostname.html#__init__
Function
Method
PUBLIC
Initialize the host name object.
-
ganeti.netutils.Hostname.name
ganeti.netutils.Hostname.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.netutils.Hostname.ip
ganeti.netutils.Hostname.html#ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.netutils.Hostname.GetSysName
ganeti.netutils.Hostname.html#GetSysName
Function
Class Method
PUBLIC
Legacy method the get the current system's name.
-
ganeti.netutils.Hostname.GetFqdn
ganeti.netutils.Hostname.html#GetFqdn
Function
Class Method
PUBLIC
Return fqdn.
-
ganeti.netutils.Hostname.GetIP
ganeti.netutils.Hostname.html#GetIP
Function
Static Method
PUBLIC
Return IP address of given hostname.
-
ganeti.netutils.Hostname.GetNormalizedName
ganeti.netutils.Hostname.html#GetNormalizedName
Function
Class Method
PUBLIC
Validate and normalize the given hostname.
-
ganeti.netutils.ValidatePortNumber
ganeti.netutils.html#ValidatePortNumber
Function
Function
PUBLIC
Returns the validated integer port number if it is valid.
-
ganeti.netutils.TcpPing
ganeti.netutils.html#TcpPing
Function
Function
PUBLIC
Simple ping implementation using TCP connect(2).
-
ganeti.netutils.GetDaemonPort
ganeti.netutils.html#GetDaemonPort
Function
Function
PUBLIC
Get the daemon port for this cluster.
-
ganeti.netutils.IPAddress
ganeti.netutils.IPAddress.html
Class
Class
PUBLIC
Class that represents an IP address.
-
ganeti.netutils.IPAddress.iplen
ganeti.netutils.IPAddress.html#iplen
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IPAddress.family
ganeti.netutils.IPAddress.html#family
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IPAddress.loopback_cidr
ganeti.netutils.IPAddress.html#loopback_cidr
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IPAddress._GetIPIntFromString
ganeti.netutils.IPAddress.html#_GetIPIntFromString
Function
Static Method
PRIVATE
Abstract method to please pylint.
-
ganeti.netutils.IPAddress.IsValid
ganeti.netutils.IPAddress.html#IsValid
Function
Class Method
PUBLIC
Validate a IP address.
-
ganeti.netutils.IPAddress.ValidateNetmask
ganeti.netutils.IPAddress.html#ValidateNetmask
Function
Class Method
PUBLIC
Validate a netmask suffix in CIDR notation.
-
ganeti.netutils.IPAddress.Own
ganeti.netutils.IPAddress.html#Own
Function
Class Method
PUBLIC
Check if the current host has the the given IP address.
-
ganeti.netutils.IPAddress.InNetwork
ganeti.netutils.IPAddress.html#InNetwork
Function
Class Method
PUBLIC
Determine whether an address is within a network.
-
ganeti.netutils.IPAddress.GetAddressFamily
ganeti.netutils.IPAddress.html#GetAddressFamily
Function
Static Method
PUBLIC
Get the address family of the given address.
-
ganeti.netutils.IPAddress.GetVersionFromAddressFamily
ganeti.netutils.IPAddress.html#GetVersionFromAddressFamily
Function
Static Method
PUBLIC
Convert an IP address family to the corresponding IP version.
-
ganeti.netutils.IPAddress.GetAddressFamilyFromVersion
ganeti.netutils.IPAddress.html#GetAddressFamilyFromVersion
Function
Static Method
PUBLIC
Convert an IP version to the corresponding IP address family.
-
ganeti.netutils.IPAddress.GetClassFromIpVersion
ganeti.netutils.IPAddress.html#GetClassFromIpVersion
Function
Static Method
PUBLIC
Return the IPAddress subclass for the given IP version.
-
ganeti.netutils.IPAddress.GetClassFromIpFamily
ganeti.netutils.IPAddress.html#GetClassFromIpFamily
Function
Static Method
PUBLIC
Return the IPAddress subclass for the given IP family.
-
ganeti.netutils.IPAddress.IsLoopback
ganeti.netutils.IPAddress.html#IsLoopback
Function
Class Method
PUBLIC
Determine whether it is a loopback address.
-
ganeti.netutils.IP4Address
ganeti.netutils.IP4Address.html
Class
Class
PUBLIC
IPv4 address class.
-
ganeti.netutils.IP4Address.iplen
ganeti.netutils.IP4Address.html#iplen
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IP4Address.loopback_cidr
ganeti.netutils.IP4Address.html#loopback_cidr
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IP4Address.__init__
ganeti.netutils.IP4Address.html#__init__
Function
Method
PUBLIC
Constructor for IPv4 address.
-
ganeti.netutils.IP4Address.address
ganeti.netutils.IP4Address.html#address
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.netutils.IP4Address._GetIPIntFromString
ganeti.netutils.IP4Address.html#_GetIPIntFromString
Function
Static Method
PRIVATE
Get integer value of IPv4 address.
-
ganeti.netutils.IP6Address
ganeti.netutils.IP6Address.html
Class
Class
PUBLIC
IPv6 address class.
-
ganeti.netutils.IP6Address.iplen
ganeti.netutils.IP6Address.html#iplen
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IP6Address.loopback_cidr
ganeti.netutils.IP6Address.html#loopback_cidr
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.netutils.IP6Address.__init__
ganeti.netutils.IP6Address.html#__init__
Function
Method
PUBLIC
Constructor for IPv6 address.
-
ganeti.netutils.IP6Address.address
ganeti.netutils.IP6Address.html#address
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.netutils.IP6Address._GetIPIntFromString
ganeti.netutils.IP6Address.html#_GetIPIntFromString
Function
Static Method
PRIVATE
Get integer value of IPv6 address.
-
ganeti.netutils.FormatAddress
ganeti.netutils.html#FormatAddress
Function
Function
PUBLIC
Format a socket address
-
ganeti.outils._SEQUENCE_TYPES
ganeti.outils.html#_SEQUENCE_TYPES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.outils.AutoSlots
ganeti.outils.AutoSlots.html
Class
Class
PUBLIC
Meta base class for __slots__ definitions.
-
ganeti.outils.AutoSlots.__new__
ganeti.outils.AutoSlots.html#__new__
Function
Method
PUBLIC
Called when a class should be created.
-
ganeti.outils.AutoSlots._GetSlots
ganeti.outils.AutoSlots.html#_GetSlots
Function
Class Method
PRIVATE
Used to get the list of defined slots.
-
ganeti.outils.ValidatedSlots
ganeti.outils.ValidatedSlots.html
Class
Class
PUBLIC
Sets and validates slots.
-
ganeti.outils.ValidatedSlots.__slots__
ganeti.outils.ValidatedSlots.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.outils.ValidatedSlots.__init__
ganeti.outils.ValidatedSlots.html#__init__
Function
Method
PUBLIC
Constructor for BaseOpCode.
-
ganeti.outils.ValidatedSlots.GetAllSlots
ganeti.outils.ValidatedSlots.html#GetAllSlots
Function
Class Method
PUBLIC
Compute the list of all declared slots for a class.
-
ganeti.outils.ValidatedSlots.Validate
ganeti.outils.ValidatedSlots.html#Validate
Function
Method
PUBLIC
Validates the slots.
-
ganeti.outils.ContainerToDicts
ganeti.outils.html#ContainerToDicts
Function
Function
PUBLIC
Convert the elements of a container to standard Python types.
-
ganeti.outils.ContainerFromDicts
ganeti.outils.html#ContainerFromDicts
Function
Function
PUBLIC
Convert a container from standard python types.
-
ganeti.serializer._RE_EOLSP
ganeti.serializer.html#_RE_EOLSP
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.serializer.DumpJson
ganeti.serializer.html#DumpJson
Function
Function
PUBLIC
Serialize a given object.
-
ganeti.serializer.LoadJson
ganeti.serializer.html#LoadJson
Function
Function
PUBLIC
Unserialize data from bytes.
-
ganeti.serializer.WrapPrivateValues
ganeti.serializer.html#WrapPrivateValues
Function
Function
PUBLIC
Crawl a JSON decoded structure for private values and wrap them.
-
ganeti.serializer.DumpSignedJson
ganeti.serializer.html#DumpSignedJson
Function
Function
PUBLIC
Serialize a given object and authenticate it.
-
ganeti.serializer.LoadSignedJson
ganeti.serializer.html#LoadSignedJson
Function
Function
PUBLIC
Verify that a given message was signed with the given key, and load it.
-
ganeti.serializer.LoadAndVerifyJson
ganeti.serializer.html#LoadAndVerifyJson
Function
Function
PUBLIC
Parses and verifies JSON data.
-
ganeti.serializer.Private
ganeti.serializer.Private.html
Class
Class
PUBLIC
Wrap a value so it is hard to leak it accidentally.
-
ganeti.serializer.Private.__init__
ganeti.serializer.Private.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private._item
ganeti.serializer.Private.html#_item
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.serializer.Private._descr
ganeti.serializer.Private.html#_descr
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.serializer.Private.Get
ganeti.serializer.Private.html#Get
Function
Method
PUBLIC
Return the wrapped value.
-
ganeti.serializer.Private.__str__
ganeti.serializer.Private.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__repr__
ganeti.serializer.Private.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__eq__
ganeti.serializer.Private.html#__eq__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__hash__
ganeti.serializer.Private.html#__hash__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__format__
ganeti.serializer.Private.html#__format__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__copy__
ganeti.serializer.Private.html#__copy__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__deepcopy__
ganeti.serializer.Private.html#__deepcopy__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__getattr__
ganeti.serializer.Private.html#__getattr__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__call__
ganeti.serializer.Private.html#__call__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__getnewargs__
ganeti.serializer.Private.html#__getnewargs__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__bool__
ganeti.serializer.Private.html#__bool__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.Private.__slots__
ganeti.serializer.Private.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.serializer.PrivateDict
ganeti.serializer.PrivateDict.html
Class
Class
PUBLIC
A dictionary that turns its values to private fields.
-
ganeti.serializer.PrivateDict.__init__
ganeti.serializer.PrivateDict.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.PrivateDict.__setitem__
ganeti.serializer.PrivateDict.html#__setitem__
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.PrivateDict.update
ganeti.serializer.PrivateDict.html#update
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.PrivateDict.GetPrivate
ganeti.serializer.PrivateDict.html#GetPrivate
Function
Method
PUBLIC
Like dict.get, but extracting the value in the process.
-
ganeti.serializer.PrivateDict.Unprivate
ganeti.serializer.PrivateDict.html#Unprivate
Function
Method
PUBLIC
Turn this dict of Private() values to a dict of values.
-
ganeti.serializer.BinaryEncoder
ganeti.serializer.BinaryEncoder.html
Class
Class
PUBLIC
Undocumented
-
ganeti.serializer.BinaryEncoder.default
ganeti.serializer.BinaryEncoder.html#default
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.EncodeWithoutPrivateFields
ganeti.serializer.EncodeWithoutPrivateFields.html
Class
Class
PUBLIC
Undocumented
-
ganeti.serializer.EncodeWithoutPrivateFields.default
ganeti.serializer.EncodeWithoutPrivateFields.html#default
Function
Method
PUBLIC
Undocumented
-
ganeti.serializer.EncodeWithPrivateFields
ganeti.serializer.EncodeWithPrivateFields.html
Class
Class
PUBLIC
Undocumented
-
ganeti.serializer.EncodeWithPrivateFields.default
ganeti.serializer.EncodeWithPrivateFields.html#default
Function
Method
PUBLIC
Undocumented
-
ganeti.objects._TIMESTAMPS
ganeti.objects.html#_TIMESTAMPS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.objects._UUID
ganeti.objects.html#_UUID
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.objects.FillDict
ganeti.objects.html#FillDict
Function
Function
PUBLIC
Basic function to apply settings on top a default dict.
-
ganeti.objects.FillIPolicy
ganeti.objects.html#FillIPolicy
Function
Function
PUBLIC
Fills an instance policy with defaults.
-
ganeti.objects.FillDiskParams
ganeti.objects.html#FillDiskParams
Function
Function
PUBLIC
Fills the disk parameter defaults.
-
ganeti.objects.UpgradeGroupedParams
ganeti.objects.html#UpgradeGroupedParams
Function
Function
PUBLIC
Update all groups for the target parameter.
-
ganeti.objects.UpgradeBeParams
ganeti.objects.html#UpgradeBeParams
Function
Function
PUBLIC
Update the be parameters dict to the new format.
-
ganeti.objects.UpgradeDiskParams
ganeti.objects.html#UpgradeDiskParams
Function
Function
PUBLIC
Upgrade the disk parameters.
-
ganeti.objects.UpgradeNDParams
ganeti.objects.html#UpgradeNDParams
Function
Function
PUBLIC
Upgrade ndparams structure.
-
ganeti.objects.MakeEmptyIPolicy
ganeti.objects.html#MakeEmptyIPolicy
Function
Function
PUBLIC
Create empty IPolicy dictionary.
-
ganeti.objects.ConfigObject
ganeti.objects.ConfigObject.html
Class
Class
PUBLIC
A generic config object.
-
ganeti.objects.ConfigObject.__slots__
ganeti.objects.ConfigObject.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfigObject.__getattr__
ganeti.objects.ConfigObject.html#__getattr__
Function
Method
PUBLIC
Undocumented
-
ganeti.objects.ConfigObject.__setstate__
ganeti.objects.ConfigObject.html#__setstate__
Function
Method
PUBLIC
Undocumented
-
ganeti.objects.ConfigObject.Validate
ganeti.objects.ConfigObject.html#Validate
Function
Method
PUBLIC
Validates the slots.
-
ganeti.objects.ConfigObject.ToDict
ganeti.objects.ConfigObject.html#ToDict
Function
Method
PUBLIC
Convert to a dict holding only standard python types.
-
ganeti.objects.ConfigObject.FromDict
ganeti.objects.ConfigObject.html#FromDict
Function
Class Method
PUBLIC
Create an object from a dictionary.
-
ganeti.objects.ConfigObject.Copy
ganeti.objects.ConfigObject.html#Copy
Function
Method
PUBLIC
Makes a deep copy of the current object and its children.
-
ganeti.objects.ConfigObject.__repr__
ganeti.objects.ConfigObject.html#__repr__
Function
Method
PUBLIC
Implement __repr__ for ConfigObjects.
-
ganeti.objects.ConfigObject.UpgradeConfig
ganeti.objects.ConfigObject.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.TaggableObject
ganeti.objects.TaggableObject.html
Class
Class
PUBLIC
An generic class supporting tags.
-
ganeti.objects.TaggableObject.__slots__
ganeti.objects.TaggableObject.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.TaggableObject.VALID_TAG_RE
ganeti.objects.TaggableObject.html#VALID_TAG_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.objects.TaggableObject.ValidateTag
ganeti.objects.TaggableObject.html#ValidateTag
Function
Class Method
PUBLIC
Check if a tag is valid.
-
ganeti.objects.TaggableObject.GetTags
ganeti.objects.TaggableObject.html#GetTags
Function
Method
PUBLIC
Return the tags list.
-
ganeti.objects.TaggableObject.tags
ganeti.objects.TaggableObject.html#tags
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.TaggableObject.AddTag
ganeti.objects.TaggableObject.html#AddTag
Function
Method
PUBLIC
Add a new tag.
-
ganeti.objects.TaggableObject.RemoveTag
ganeti.objects.TaggableObject.html#RemoveTag
Function
Method
PUBLIC
Remove a tag.
-
ganeti.objects.TaggableObject.ToDict
ganeti.objects.TaggableObject.html#ToDict
Function
Method
PUBLIC
Taggable-object-specific conversion to standard python types.
-
ganeti.objects.TaggableObject.FromDict
ganeti.objects.TaggableObject.html#FromDict
Function
Class Method
PUBLIC
Custom function for instances.
-
ganeti.objects.MasterNetworkParameters
ganeti.objects.MasterNetworkParameters.html
Class
Class
PUBLIC
Network configuration parameters for the master
-
ganeti.objects.MasterNetworkParameters.uuid
ganeti.objects.MasterNetworkParameters.html#uuid
Attribute
Instance Variable
PUBLIC
master nodes UUID
-
ganeti.objects.MasterNetworkParameters.ip
ganeti.objects.MasterNetworkParameters.html#ip
Attribute
Instance Variable
PUBLIC
master IP
-
ganeti.objects.MasterNetworkParameters.netmask
ganeti.objects.MasterNetworkParameters.html#netmask
Attribute
Instance Variable
PUBLIC
master netmask
-
ganeti.objects.MasterNetworkParameters.netdev
ganeti.objects.MasterNetworkParameters.html#netdev
Attribute
Instance Variable
PUBLIC
master network device
-
ganeti.objects.MasterNetworkParameters.ip_family
ganeti.objects.MasterNetworkParameters.html#ip_family
Attribute
Instance Variable
PUBLIC
master IP family
-
ganeti.objects.MasterNetworkParameters.__slots__
ganeti.objects.MasterNetworkParameters.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfigData
ganeti.objects.ConfigData.html
Class
Class
PUBLIC
Top-level config object.
-
ganeti.objects.ConfigData.__slots__
ganeti.objects.ConfigData.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfigData.ToDict
ganeti.objects.ConfigData.html#ToDict
Function
Method
PUBLIC
Custom function for top-level config data.
-
ganeti.objects.ConfigData.FromDict
ganeti.objects.ConfigData.html#FromDict
Function
Class Method
PUBLIC
Custom function for top-level config data
-
ganeti.objects.ConfigData.DisksOfType
ganeti.objects.ConfigData.html#DisksOfType
Function
Method
PUBLIC
Check if in there is at disk of the given type in the configuration.
-
ganeti.objects.ConfigData.UpgradeConfig
ganeti.objects.ConfigData.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.ConfigData.nodegroups
ganeti.objects.ConfigData.html#nodegroups
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfigData.networks
ganeti.objects.ConfigData.html#networks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfigData.filters
ganeti.objects.ConfigData.html#filters
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfigData._UpgradeEnabledDiskTemplates
ganeti.objects.ConfigData.html#_UpgradeEnabledDiskTemplates
Function
Method
PRIVATE
Upgrade the cluster's enabled disk templates by inspecting the currently enabled and/or used disk templates.
-
ganeti.objects.NIC
ganeti.objects.NIC.html
Class
Class
PUBLIC
Config object representing a network card.
-
ganeti.objects.NIC.__slots__
ganeti.objects.NIC.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.NIC.CheckParameterSyntax
ganeti.objects.NIC.html#CheckParameterSyntax
Function
Class Method
PUBLIC
Check the given parameters for validity.
-
ganeti.objects.Filter
ganeti.objects.Filter.html
Class
Class
PUBLIC
Config object representing a filter rule.
-
ganeti.objects.Filter.__slots__
ganeti.objects.Filter.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk
ganeti.objects.Disk.html
Class
Class
PUBLIC
Config object representing a block device.
-
ganeti.objects.Disk.__slots__
ganeti.objects.Disk.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk._ComputeAllNodes
ganeti.objects.Disk.html#_ComputeAllNodes
Function
Method
PRIVATE
Compute the list of all nodes covered by a device and its children.
-
ganeti.objects.Disk.all_nodes
ganeti.objects.Disk.html#all_nodes
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.CreateOnSecondary
ganeti.objects.Disk.html#CreateOnSecondary
Function
Method
PUBLIC
Test if this device needs to be created on a secondary node.
-
ganeti.objects.Disk.AssembleOnSecondary
ganeti.objects.Disk.html#AssembleOnSecondary
Function
Method
PUBLIC
Test if this device needs to be assembled on a secondary node.
-
ganeti.objects.Disk.OpenOnSecondary
ganeti.objects.Disk.html#OpenOnSecondary
Function
Method
PUBLIC
Test if this device needs to be opened on a secondary node.
-
ganeti.objects.Disk.SupportsSnapshots
ganeti.objects.Disk.html#SupportsSnapshots
Function
Method
PUBLIC
Test if this device supports snapshots.
-
ganeti.objects.Disk.StaticDevPath
ganeti.objects.Disk.html#StaticDevPath
Function
Method
PUBLIC
Return the device path if this device type has a static one.
-
ganeti.objects.Disk.ChildrenNeeded
ganeti.objects.Disk.html#ChildrenNeeded
Function
Method
PUBLIC
Compute the needed number of children for activation.
-
ganeti.objects.Disk.IsBasedOnDiskType
ganeti.objects.Disk.html#IsBasedOnDiskType
Function
Method
PUBLIC
Check if the disk or its children are based on the given type.
-
ganeti.objects.Disk.GetNodes
ganeti.objects.Disk.html#GetNodes
Function
Method
PUBLIC
This function returns the nodes this device lives on.
-
ganeti.objects.Disk.GetPrimaryNode
ganeti.objects.Disk.html#GetPrimaryNode
Function
Method
PUBLIC
This function returns the primary node of the device.
-
ganeti.objects.Disk.ComputeNodeTree
ganeti.objects.Disk.html#ComputeNodeTree
Function
Method
PUBLIC
Compute the node/disk tree for this disk and its children.
-
ganeti.objects.Disk.ComputeGrowth
ganeti.objects.Disk.html#ComputeGrowth
Function
Method
PUBLIC
Compute the per-VG growth requirements.
-
ganeti.objects.Disk.RecordGrow
ganeti.objects.Disk.html#RecordGrow
Function
Method
PUBLIC
Update the size of this disk after growth.
-
ganeti.objects.Disk.Update
ganeti.objects.Disk.html#Update
Function
Method
PUBLIC
Apply changes to size, spindles and mode.
-
ganeti.objects.Disk.size
ganeti.objects.Disk.html#size
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.mode
ganeti.objects.Disk.html#mode
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.spindles
ganeti.objects.Disk.html#spindles
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.UnsetSize
ganeti.objects.Disk.html#UnsetSize
Function
Method
PUBLIC
Sets recursively the size to zero for the disk and its children.
-
ganeti.objects.Disk.UpdateDynamicDiskParams
ganeti.objects.Disk.html#UpdateDynamicDiskParams
Function
Method
PUBLIC
Updates the dynamic disk params for the given node.
-
ganeti.objects.Disk.dynamic_params
ganeti.objects.Disk.html#dynamic_params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.ToDict
ganeti.objects.Disk.html#ToDict
Function
Method
PUBLIC
Disk-specific conversion to standard python types.
-
ganeti.objects.Disk.FromDict
ganeti.objects.Disk.html#FromDict
Function
Class Method
PUBLIC
Custom function for Disks
-
ganeti.objects.Disk.__str__
ganeti.objects.Disk.html#__str__
Function
Method
PUBLIC
Custom str() formatter for disks.
-
ganeti.objects.Disk.Verify
ganeti.objects.Disk.html#Verify
Function
Method
PUBLIC
Checks that this disk is correctly configured.
-
ganeti.objects.Disk.UpgradeConfig
ganeti.objects.Disk.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.Disk.params
ganeti.objects.Disk.html#params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.serial_no
ganeti.objects.Disk.html#serial_no
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.mtime
ganeti.objects.Disk.html#mtime
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.ctime
ganeti.objects.Disk.html#ctime
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.dev_type
ganeti.objects.Disk.html#dev_type
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Disk.ComputeLDParams
ganeti.objects.Disk.html#ComputeLDParams
Function
Static Method
PUBLIC
Computes Logical Disk parameters from Disk Template parameters.
-
ganeti.objects.InstancePolicy
ganeti.objects.InstancePolicy.html
Class
Class
PUBLIC
Config object representing instance policy limits dictionary.
-
ganeti.objects.InstancePolicy.UpgradeDiskTemplates
ganeti.objects.InstancePolicy.html#UpgradeDiskTemplates
Function
Class Method
PUBLIC
Upgrades the ipolicy configuration.
-
ganeti.objects.InstancePolicy.CheckParameterSyntax
ganeti.objects.InstancePolicy.html#CheckParameterSyntax
Function
Class Method
PUBLIC
Check the instance policy for validity.
-
ganeti.objects.InstancePolicy._CheckIncompleteSpec
ganeti.objects.InstancePolicy.html#_CheckIncompleteSpec
Function
Class Method
PRIVATE
Undocumented
-
ganeti.objects.InstancePolicy.CheckISpecSyntax
ganeti.objects.InstancePolicy.html#CheckISpecSyntax
Function
Class Method
PUBLIC
Check the instance policy specs for validity.
-
ganeti.objects.InstancePolicy._CheckISpecParamSyntax
ganeti.objects.InstancePolicy.html#_CheckISpecParamSyntax
Function
Class Method
PRIVATE
Check the instance policy specs for validity on a given key.
-
ganeti.objects.InstancePolicy.CheckDiskTemplates
ganeti.objects.InstancePolicy.html#CheckDiskTemplates
Function
Class Method
PUBLIC
Checks the disk templates for validity.
-
ganeti.objects.InstancePolicy.CheckParameter
ganeti.objects.InstancePolicy.html#CheckParameter
Function
Class Method
PUBLIC
Checks a parameter.
-
ganeti.objects.GetOSImage
ganeti.objects.html#GetOSImage
Function
Function
PUBLIC
Gets the OS image value from the OS parameters.
-
ganeti.objects.PutOSImage
ganeti.objects.html#PutOSImage
Function
Function
PUBLIC
Update OS image value in the OS parameters
-
ganeti.objects.Instance
ganeti.objects.Instance.html
Class
Class
PUBLIC
Config object representing an instance.
-
ganeti.objects.Instance.__slots__
ganeti.objects.Instance.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Instance.FindDisk
ganeti.objects.Instance.html#FindDisk
Function
Method
PUBLIC
Find a disk given having a specified index.
-
ganeti.objects.Instance.ToDict
ganeti.objects.Instance.html#ToDict
Function
Method
PUBLIC
Instance-specific conversion to standard python types.
-
ganeti.objects.Instance.FromDict
ganeti.objects.Instance.html#FromDict
Function
Class Method
PUBLIC
Custom function for instances.
-
ganeti.objects.Instance.UpgradeConfig
ganeti.objects.Instance.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.Instance.admin_state_source
ganeti.objects.Instance.html#admin_state_source
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Instance.disks
ganeti.objects.Instance.html#disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Instance.osparams
ganeti.objects.Instance.html#osparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Instance.osparams_private
ganeti.objects.Instance.html#osparams_private
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Instance.disks_active
ganeti.objects.Instance.html#disks_active
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.OS
ganeti.objects.OS.html
Class
Class
PUBLIC
Config object representing an operating system.
-
ganeti.objects.OS.supported_parameters
ganeti.objects.OS.html#supported_parameters
Attribute
Instance Variable
PUBLIC
a list of tuples, name and description, containing the supported parameters by this OS
-
ganeti.objects.OS.VARIANT_DELIM
ganeti.objects.OS.html#VARIANT_DELIM
Attribute
Constant
PUBLIC
the variant delimiter
-
ganeti.objects.OS.__slots__
ganeti.objects.OS.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.OS.SplitNameVariant
ganeti.objects.OS.html#SplitNameVariant
Function
Class Method
PUBLIC
Splits the name into the proper name and variant.
-
ganeti.objects.OS.GetName
ganeti.objects.OS.html#GetName
Function
Class Method
PUBLIC
Returns the proper name of the os (without the variant).
-
ganeti.objects.OS.GetVariant
ganeti.objects.OS.html#GetVariant
Function
Class Method
PUBLIC
Returns the variant the os (without the base name).
-
ganeti.objects.OS.IsTrusted
ganeti.objects.OS.html#IsTrusted
Function
Method
PUBLIC
Returns whether this OS is trusted.
-
ganeti.objects.ExtStorage
ganeti.objects.ExtStorage.html
Class
Class
PUBLIC
Config object representing an External Storage Provider.
-
ganeti.objects.ExtStorage.__slots__
ganeti.objects.ExtStorage.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeHvState
ganeti.objects.NodeHvState.html
Class
Class
PUBLIC
Hypvervisor state on a node.
-
ganeti.objects.NodeHvState.mem_total
ganeti.objects.NodeHvState.html#mem_total
Attribute
Instance Variable
PUBLIC
Total amount of memory
-
ganeti.objects.NodeHvState.mem_node
ganeti.objects.NodeHvState.html#mem_node
Attribute
Instance Variable
PUBLIC
Memory used by, or reserved for, the node itself (not always available)
-
ganeti.objects.NodeHvState.mem_hv
ganeti.objects.NodeHvState.html#mem_hv
Attribute
Instance Variable
PUBLIC
Memory used by hypervisor or lost due to instance allocation rounding
-
ganeti.objects.NodeHvState.mem_inst
ganeti.objects.NodeHvState.html#mem_inst
Attribute
Instance Variable
PUBLIC
Memory used by instances living on node
-
ganeti.objects.NodeHvState.cpu_total
ganeti.objects.NodeHvState.html#cpu_total
Attribute
Instance Variable
PUBLIC
Total node CPU core count
-
ganeti.objects.NodeHvState.cpu_node
ganeti.objects.NodeHvState.html#cpu_node
Attribute
Instance Variable
PUBLIC
Number of CPU cores reserved for the node itself
-
ganeti.objects.NodeHvState.__slots__
ganeti.objects.NodeHvState.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeDiskState
ganeti.objects.NodeDiskState.html
Class
Class
PUBLIC
Disk state on a node.
-
ganeti.objects.NodeDiskState.__slots__
ganeti.objects.NodeDiskState.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Node
ganeti.objects.Node.html
Class
Class
PUBLIC
Config object representing a node.
-
ganeti.objects.Node.hv_state
ganeti.objects.Node.html#hv_state
Attribute
Instance Variable
PUBLIC
Hypervisor state (e.g. number of CPUs)
-
ganeti.objects.Node.hv_state_static
ganeti.objects.Node.html#hv_state_static
Attribute
Instance Variable
PUBLIC
Hypervisor state overriden by user
-
ganeti.objects.Node.disk_state
ganeti.objects.Node.html#disk_state
Attribute
Instance Variable
PUBLIC
Disk state (e.g. free space)
-
ganeti.objects.Node.disk_state_static
ganeti.objects.Node.html#disk_state_static
Attribute
Instance Variable
PUBLIC
Disk state overriden by user
-
ganeti.objects.Node.__slots__
ganeti.objects.Node.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Node.UpgradeConfig
ganeti.objects.Node.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.Node.master_capable
ganeti.objects.Node.html#master_capable
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Node.vm_capable
ganeti.objects.Node.html#vm_capable
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Node.ndparams
ganeti.objects.Node.html#ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Node.powered
ganeti.objects.Node.html#powered
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Node.ToDict
ganeti.objects.Node.html#ToDict
Function
Method
PUBLIC
Custom function for serializing.
-
ganeti.objects.Node.FromDict
ganeti.objects.Node.html#FromDict
Function
Class Method
PUBLIC
Custom function for deserializing.
-
ganeti.objects.NodeGroup
ganeti.objects.NodeGroup.html
Class
Class
PUBLIC
Config object representing a node group.
-
ganeti.objects.NodeGroup.__slots__
ganeti.objects.NodeGroup.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.ToDict
ganeti.objects.NodeGroup.html#ToDict
Function
Method
PUBLIC
Custom function for nodegroup.
-
ganeti.objects.NodeGroup.FromDict
ganeti.objects.NodeGroup.html#FromDict
Function
Class Method
PUBLIC
Custom function for nodegroup.
-
ganeti.objects.NodeGroup.UpgradeConfig
ganeti.objects.NodeGroup.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.NodeGroup.ndparams
ganeti.objects.NodeGroup.html#ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.serial_no
ganeti.objects.NodeGroup.html#serial_no
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.alloc_policy
ganeti.objects.NodeGroup.html#alloc_policy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.mtime
ganeti.objects.NodeGroup.html#mtime
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.diskparams
ganeti.objects.NodeGroup.html#diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.ipolicy
ganeti.objects.NodeGroup.html#ipolicy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.networks
ganeti.objects.NodeGroup.html#networks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.NodeGroup.FillND
ganeti.objects.NodeGroup.html#FillND
Function
Method
PUBLIC
-
ganeti.objects.NodeGroup.SimpleFillND
ganeti.objects.NodeGroup.html#SimpleFillND
Function
Method
PUBLIC
Fill a given ndparams dict with defaults.
-
ganeti.objects.Cluster
ganeti.objects.Cluster.html
Class
Class
PUBLIC
Config object representing the cluster.
-
ganeti.objects.Cluster.__slots__
ganeti.objects.Cluster.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.UpgradeConfig
ganeti.objects.Cluster.html#UpgradeConfig
Function
Method
PUBLIC
Fill defaults for missing configuration values.
-
ganeti.objects.Cluster.hvparams
ganeti.objects.Cluster.html#hvparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.os_hvp
ganeti.objects.Cluster.html#os_hvp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.osparams
ganeti.objects.Cluster.html#osparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.osparams_private_cluster
ganeti.objects.Cluster.html#osparams_private_cluster
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.ndparams
ganeti.objects.Cluster.html#ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.beparams
ganeti.objects.Cluster.html#beparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.nicparams
ganeti.objects.Cluster.html#nicparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.modify_etc_hosts
ganeti.objects.Cluster.html#modify_etc_hosts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.modify_ssh_setup
ganeti.objects.Cluster.html#modify_ssh_setup
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.default_bridge
ganeti.objects.Cluster.html#default_bridge
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.enabled_hypervisors
ganeti.objects.Cluster.html#enabled_hypervisors
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.default_hypervisor
ganeti.objects.Cluster.html#default_hypervisor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.maintain_node_health
ganeti.objects.Cluster.html#maintain_node_health
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.uid_pool
ganeti.objects.Cluster.html#uid_pool
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.default_iallocator
ganeti.objects.Cluster.html#default_iallocator
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.default_iallocator_params
ganeti.objects.Cluster.html#default_iallocator_params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.reserved_lvs
ganeti.objects.Cluster.html#reserved_lvs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.hidden_os
ganeti.objects.Cluster.html#hidden_os
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.blacklisted_os
ganeti.objects.Cluster.html#blacklisted_os
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.primary_ip_family
ganeti.objects.Cluster.html#primary_ip_family
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.master_netmask
ganeti.objects.Cluster.html#master_netmask
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.prealloc_wipe_disks
ganeti.objects.Cluster.html#prealloc_wipe_disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.shared_file_storage_dir
ganeti.objects.Cluster.html#shared_file_storage_dir
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.gluster_storage_dir
ganeti.objects.Cluster.html#gluster_storage_dir
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.use_external_mip_script
ganeti.objects.Cluster.html#use_external_mip_script
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.diskparams
ganeti.objects.Cluster.html#diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.ipolicy
ganeti.objects.Cluster.html#ipolicy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.hv_state_static
ganeti.objects.Cluster.html#hv_state_static
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.disk_state_static
ganeti.objects.Cluster.html#disk_state_static
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.candidate_certs
ganeti.objects.Cluster.html#candidate_certs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.max_running_jobs
ganeti.objects.Cluster.html#max_running_jobs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.max_tracked_jobs
ganeti.objects.Cluster.html#max_tracked_jobs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.instance_communication_network
ganeti.objects.Cluster.html#instance_communication_network
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.install_image
ganeti.objects.Cluster.html#install_image
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.compression_tools
ganeti.objects.Cluster.html#compression_tools
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.enabled_user_shutdown
ganeti.objects.Cluster.html#enabled_user_shutdown
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.ssh_key_type
ganeti.objects.Cluster.html#ssh_key_type
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.ssh_key_bits
ganeti.objects.Cluster.html#ssh_key_bits
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.objects.Cluster.primary_hypervisor
ganeti.objects.Cluster.html#primary_hypervisor
Attribute
Property
PUBLIC
The first hypervisor is the primary.
-
ganeti.objects.Cluster.ToDict
ganeti.objects.Cluster.html#ToDict
Function
Method
PUBLIC
Custom function for cluster.
-
ganeti.objects.Cluster.FromDict
ganeti.objects.Cluster.html#FromDict
Function
Class Method
PUBLIC
Custom function for cluster.
-
ganeti.objects.Cluster.SimpleFillDP
ganeti.objects.Cluster.html#SimpleFillDP
Function
Method
PUBLIC
Fill a given diskparams dict with cluster defaults.
-
ganeti.objects.Cluster.GetHVDefaults
ganeti.objects.Cluster.html#GetHVDefaults
Function
Method
PUBLIC
Get the default hypervisor parameters for the cluster.
-
ganeti.objects.Cluster.SimpleFillHV
ganeti.objects.Cluster.html#SimpleFillHV
Function
Method
PUBLIC
Fill a given hvparams dict with cluster defaults.
-
ganeti.objects.Cluster.FillHV
ganeti.objects.Cluster.html#FillHV
Function
Method
PUBLIC
Fill an instance's hvparams dict with cluster defaults.
-
ganeti.objects.Cluster.SimpleFillBE
ganeti.objects.Cluster.html#SimpleFillBE
Function
Method
PUBLIC
Fill a given beparams dict with cluster defaults.
-
ganeti.objects.Cluster.FillBE
ganeti.objects.Cluster.html#FillBE
Function
Method
PUBLIC
Fill an instance's beparams dict with cluster defaults.
-
ganeti.objects.Cluster.SimpleFillNIC
ganeti.objects.Cluster.html#SimpleFillNIC
Function
Method
PUBLIC
Fill a given nicparams dict with cluster defaults.
-
ganeti.objects.Cluster.SimpleFillOS
ganeti.objects.Cluster.html#SimpleFillOS
Function
Method
PUBLIC
Fill an instance's osparams dict with cluster defaults.
-
ganeti.objects.Cluster.SimpleFillHvState
ganeti.objects.Cluster.html#SimpleFillHvState
Function
Static Method
PUBLIC
Fill an hv_state sub dict with cluster defaults.
-
ganeti.objects.Cluster.SimpleFillDiskState
ganeti.objects.Cluster.html#SimpleFillDiskState
Function
Static Method
PUBLIC
Fill an disk_state sub dict with cluster defaults.
-
ganeti.objects.Cluster.FillND
ganeti.objects.Cluster.html#FillND
Function
Method
PUBLIC
-
ganeti.objects.Cluster.FillNDGroup
ganeti.objects.Cluster.html#FillNDGroup
Function
Method
PUBLIC
-
ganeti.objects.Cluster.SimpleFillND
ganeti.objects.Cluster.html#SimpleFillND
Function
Method
PUBLIC
Fill a given ndparams dict with defaults.
-
ganeti.objects.Cluster.SimpleFillIPolicy
ganeti.objects.Cluster.html#SimpleFillIPolicy
Function
Method
PUBLIC
Fill instance policy dict with defaults.
-
ganeti.objects.Cluster.IsDiskTemplateEnabled
ganeti.objects.Cluster.html#IsDiskTemplateEnabled
Function
Method
PUBLIC
Checks if a particular disk template is enabled.
-
ganeti.objects.Cluster.IsFileStorageEnabled
ganeti.objects.Cluster.html#IsFileStorageEnabled
Function
Method
PUBLIC
Checks if file storage is enabled.
-
ganeti.objects.Cluster.IsSharedFileStorageEnabled
ganeti.objects.Cluster.html#IsSharedFileStorageEnabled
Function
Method
PUBLIC
Checks if shared file storage is enabled.
-
ganeti.objects.BlockDevStatus
ganeti.objects.BlockDevStatus.html
Class
Class
PUBLIC
Config object representing the status of a block device.
-
ganeti.objects.BlockDevStatus.__slots__
ganeti.objects.BlockDevStatus.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ImportExportStatus
ganeti.objects.ImportExportStatus.html
Class
Class
PUBLIC
Config object representing the status of an import or export.
-
ganeti.objects.ImportExportStatus.__slots__
ganeti.objects.ImportExportStatus.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ImportExportOptions
ganeti.objects.ImportExportOptions.html
Class
Class
PUBLIC
Options for import/export daemon
-
ganeti.objects.ImportExportOptions.key_name
ganeti.objects.ImportExportOptions.html#key_name
Attribute
Instance Variable
PUBLIC
X509 key name (None for cluster certificate)
-
ganeti.objects.ImportExportOptions.ca_pem
ganeti.objects.ImportExportOptions.html#ca_pem
Attribute
Instance Variable
PUBLIC
Remote peer CA in PEM format (None for cluster certificate)
-
ganeti.objects.ImportExportOptions.compress
ganeti.objects.ImportExportOptions.html#compress
Attribute
Instance Variable
PUBLIC
Compression tool to use
-
ganeti.objects.ImportExportOptions.magic
ganeti.objects.ImportExportOptions.html#magic
Attribute
Instance Variable
PUBLIC
Used to ensure the connection goes to the right disk
-
ganeti.objects.ImportExportOptions.ipv6
ganeti.objects.ImportExportOptions.html#ipv6
Attribute
Instance Variable
PUBLIC
Whether to use IPv6
-
ganeti.objects.ImportExportOptions.connect_timeout
ganeti.objects.ImportExportOptions.html#connect_timeout
Attribute
Instance Variable
PUBLIC
Number of seconds for establishing connection
-
ganeti.objects.ImportExportOptions.__slots__
ganeti.objects.ImportExportOptions.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfdRequest
ganeti.objects.ConfdRequest.html
Class
Class
PUBLIC
Object holding a confd request.
-
ganeti.objects.ConfdRequest.protocol
ganeti.objects.ConfdRequest.html#protocol
Attribute
Instance Variable
PUBLIC
confd protocol version
-
ganeti.objects.ConfdRequest.type
ganeti.objects.ConfdRequest.html#type
Attribute
Instance Variable
PUBLIC
confd query type
-
ganeti.objects.ConfdRequest.query
ganeti.objects.ConfdRequest.html#query
Attribute
Instance Variable
PUBLIC
query request
-
ganeti.objects.ConfdRequest.rsalt
ganeti.objects.ConfdRequest.html#rsalt
Attribute
Instance Variable
PUBLIC
requested reply salt
-
ganeti.objects.ConfdRequest.__slots__
ganeti.objects.ConfdRequest.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.ConfdReply
ganeti.objects.ConfdReply.html
Class
Class
PUBLIC
Object holding a confd reply.
-
ganeti.objects.ConfdReply.protocol
ganeti.objects.ConfdReply.html#protocol
Attribute
Instance Variable
PUBLIC
confd protocol version
-
ganeti.objects.ConfdReply.status
ganeti.objects.ConfdReply.html#status
Attribute
Instance Variable
PUBLIC
reply status code (ok, error)
-
ganeti.objects.ConfdReply.answer
ganeti.objects.ConfdReply.html#answer
Attribute
Instance Variable
PUBLIC
confd query reply
-
ganeti.objects.ConfdReply.serial
ganeti.objects.ConfdReply.html#serial
Attribute
Instance Variable
PUBLIC
configuration serial number
-
ganeti.objects.ConfdReply.__slots__
ganeti.objects.ConfdReply.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.QueryFieldDefinition
ganeti.objects.QueryFieldDefinition.html
Class
Class
PUBLIC
Object holding a query field definition.
-
ganeti.objects.QueryFieldDefinition.name
ganeti.objects.QueryFieldDefinition.html#name
Attribute
Instance Variable
PUBLIC
Field name
-
ganeti.objects.QueryFieldDefinition.title
ganeti.objects.QueryFieldDefinition.html#title
Attribute
Instance Variable
PUBLIC
Human-readable title
-
ganeti.objects.QueryFieldDefinition.kind
ganeti.objects.QueryFieldDefinition.html#kind
Attribute
Instance Variable
PUBLIC
Field type
-
ganeti.objects.QueryFieldDefinition.doc
ganeti.objects.QueryFieldDefinition.html#doc
Attribute
Instance Variable
PUBLIC
Human-readable description
-
ganeti.objects.QueryFieldDefinition.__slots__
ganeti.objects.QueryFieldDefinition.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects._QueryResponseBase
ganeti.objects._QueryResponseBase.html
Class
Class
PRIVATE
No class docstring; 0/1 class variable, 1/1 method, 1/1 class method documented
-
ganeti.objects._QueryResponseBase.__slots__
ganeti.objects._QueryResponseBase.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects._QueryResponseBase.ToDict
ganeti.objects._QueryResponseBase.html#ToDict
Function
Method
PUBLIC
Custom function for serializing.
-
ganeti.objects._QueryResponseBase.FromDict
ganeti.objects._QueryResponseBase.html#FromDict
Function
Class Method
PUBLIC
Custom function for de-serializing.
-
ganeti.objects.QueryResponse
ganeti.objects.QueryResponse.html
Class
Class
PUBLIC
Object holding the response to a query.
-
ganeti.objects.QueryResponse.fields
ganeti.objects.QueryResponse.html#fields
Attribute
Instance Variable
PUBLIC
-
ganeti.objects.QueryResponse.data
ganeti.objects.QueryResponse.html#data
Attribute
Instance Variable
PUBLIC
Requested data
-
ganeti.objects.QueryResponse.__slots__
ganeti.objects.QueryResponse.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.QueryFieldsRequest
ganeti.objects.QueryFieldsRequest.html
Class
Class
PUBLIC
Object holding a request for querying available fields.
-
ganeti.objects.QueryFieldsRequest.__slots__
ganeti.objects.QueryFieldsRequest.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.QueryFieldsResponse
ganeti.objects.QueryFieldsResponse.html
Class
Class
PUBLIC
Object holding the response to a query for fields.
-
ganeti.objects.QueryFieldsResponse.fields
ganeti.objects.QueryFieldsResponse.html#fields
Attribute
Instance Variable
PUBLIC
-
ganeti.objects.QueryFieldsResponse.__slots__
ganeti.objects.QueryFieldsResponse.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.MigrationStatus
ganeti.objects.MigrationStatus.html
Class
Class
PUBLIC
Object holding the status of a migration.
-
ganeti.objects.MigrationStatus.__slots__
ganeti.objects.MigrationStatus.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.InstanceConsole
ganeti.objects.InstanceConsole.html
Class
Class
PUBLIC
Object describing how to access the console of an instance.
-
ganeti.objects.InstanceConsole.__slots__
ganeti.objects.InstanceConsole.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.InstanceConsole.Validate
ganeti.objects.InstanceConsole.html#Validate
Function
Method
PUBLIC
Validates contents of this object.
-
ganeti.objects.Network
ganeti.objects.Network.html
Class
Class
PUBLIC
Object representing a network definition for ganeti.
-
ganeti.objects.Network.__slots__
ganeti.objects.Network.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.Network.HooksDict
ganeti.objects.Network.html#HooksDict
Function
Method
PUBLIC
Export a dictionary used by hooks with a network's information.
-
ganeti.objects.Network.FromDict
ganeti.objects.Network.html#FromDict
Function
Class Method
PUBLIC
Custom function for networks.
-
ganeti.objects.SerializableConfigParser
ganeti.objects.SerializableConfigParser.html
Class
Class
PUBLIC
Simple wrapper over ConfigParse that allows serialization.
-
ganeti.objects.SerializableConfigParser.Dumps
ganeti.objects.SerializableConfigParser.html#Dumps
Function
Method
PUBLIC
Dump this instance and return the string representation.
-
ganeti.objects.SerializableConfigParser.Loads
ganeti.objects.SerializableConfigParser.html#Loads
Function
Class Method
PUBLIC
Load data from a string.
-
ganeti.objects.SerializableConfigParser.get
ganeti.objects.SerializableConfigParser.html#get
Function
Method
PUBLIC
Undocumented
-
ganeti.objects.LvmPvInfo
ganeti.objects.LvmPvInfo.html
Class
Class
PUBLIC
Information about an LVM physical volume (PV).
-
ganeti.objects.LvmPvInfo.name
ganeti.objects.LvmPvInfo.html#name
Attribute
Instance Variable
PUBLIC
name of the PV
-
ganeti.objects.LvmPvInfo.vg_name
ganeti.objects.LvmPvInfo.html#vg_name
Attribute
Instance Variable
PUBLIC
name of the volume group containing the PV
-
ganeti.objects.LvmPvInfo.size
ganeti.objects.LvmPvInfo.html#size
Attribute
Instance Variable
PUBLIC
size of the PV in MiB
-
ganeti.objects.LvmPvInfo.free
ganeti.objects.LvmPvInfo.html#free
Attribute
Instance Variable
PUBLIC
free space in the PV, in MiB
-
ganeti.objects.LvmPvInfo.attributes
ganeti.objects.LvmPvInfo.html#attributes
Attribute
Instance Variable
PUBLIC
PV attributes
-
ganeti.objects.LvmPvInfo.lv_list
ganeti.objects.LvmPvInfo.html#lv_list
Attribute
Instance Variable
PUBLIC
names of the LVs hosted on the PV
-
ganeti.objects.LvmPvInfo.__slots__
ganeti.objects.LvmPvInfo.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.objects.LvmPvInfo.IsEmpty
ganeti.objects.LvmPvInfo.html#IsEmpty
Function
Method
PUBLIC
Is this PV empty?
-
ganeti.objects.LvmPvInfo.IsAllocatable
ganeti.objects.LvmPvInfo.html#IsAllocatable
Function
Method
PUBLIC
Is this PV allocatable?
-
ganeti.rpc_defs.SINGLE
ganeti.rpc_defs.html#SINGLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.MULTI
ganeti.rpc_defs.html#MULTI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ACCEPT_OFFLINE_NODE
ganeti.rpc_defs.html#ACCEPT_OFFLINE_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_OBJECT_DICT
ganeti.rpc_defs.html#ED_OBJECT_DICT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_OBJECT_DICT_LIST
ganeti.rpc_defs.html#ED_OBJECT_DICT_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_INST_DICT
ganeti.rpc_defs.html#ED_INST_DICT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_INST_DICT_HVP_BEP_DP
ganeti.rpc_defs.html#ED_INST_DICT_HVP_BEP_DP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_NODE_TO_DISK_DICT_DP
ganeti.rpc_defs.html#ED_NODE_TO_DISK_DICT_DP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_INST_DICT_OSP_DP
ganeti.rpc_defs.html#ED_INST_DICT_OSP_DP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_IMPEXP_IO
ganeti.rpc_defs.html#ED_IMPEXP_IO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_FILE_DETAILS
ganeti.rpc_defs.html#ED_FILE_DETAILS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_FINALIZE_EXPORT_DISKS
ganeti.rpc_defs.html#ED_FINALIZE_EXPORT_DISKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_COMPRESS
ganeti.rpc_defs.html#ED_COMPRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_BLOCKDEV_RENAME
ganeti.rpc_defs.html#ED_BLOCKDEV_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_DISKS_DICT_DP
ganeti.rpc_defs.html#ED_DISKS_DICT_DP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_MULTI_DISKS_DICT_DP
ganeti.rpc_defs.html#ED_MULTI_DISKS_DICT_DP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_SINGLE_DISK_DICT_DP
ganeti.rpc_defs.html#ED_SINGLE_DISK_DICT_DP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_NIC_DICT
ganeti.rpc_defs.html#ED_NIC_DICT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs.ED_DEVICE_DICT
ganeti.rpc_defs.html#ED_DEVICE_DICT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rpc_defs._Prepare
ganeti.rpc_defs.html#_Prepare
Function
Function
PRIVATE
Converts list of calls to dictionary.
-
ganeti.rpc_defs._MigrationStatusPostProc
ganeti.rpc_defs.html#_MigrationStatusPostProc
Function
Function
PRIVATE
-
ganeti.rpc_defs._BlockdevFindPostProc
ganeti.rpc_defs.html#_BlockdevFindPostProc
Function
Function
PRIVATE
-
ganeti.rpc_defs._BlockdevGetMirrorStatusPostProc
ganeti.rpc_defs.html#_BlockdevGetMirrorStatusPostProc
Function
Function
PRIVATE
Post-processor for call_blockdev_getmirrorstatus.
-
ganeti.rpc_defs._BlockdevGetMirrorStatusMultiPreProc
ganeti.rpc_defs.html#_BlockdevGetMirrorStatusMultiPreProc
Function
Function
PRIVATE
Prepares the appropriate node values for blockdev_getmirrorstatus_multi.
-
ganeti.rpc_defs._BlockdevGetMirrorStatusMultiPostProc
ganeti.rpc_defs.html#_BlockdevGetMirrorStatusMultiPostProc
Function
Function
PRIVATE
Post-processor for call_blockdev_getmirrorstatus_multi.
-
ganeti.rpc_defs._NodeInfoPreProc
ganeti.rpc_defs.html#_NodeInfoPreProc
Function
Function
PRIVATE
Prepare the storage_units argument for node_info calls.
-
ganeti.rpc_defs._ImpExpStatusPostProc
ganeti.rpc_defs.html#_ImpExpStatusPostProc
Function
Function
PRIVATE
Post-processor for import/export status.
-
ganeti.rpc_defs._TestDelayTimeout
ganeti.rpc_defs.html#_TestDelayTimeout
Function
Function
PRIVATE
Calculate timeout for "test_delay" RPC.
-
ganeti.rpc_defs._FILE_STORAGE_CALLS
ganeti.rpc_defs.html#_FILE_STORAGE_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._STORAGE_CALLS
ganeti.rpc_defs.html#_STORAGE_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._INSTANCE_CALLS
ganeti.rpc_defs.html#_INSTANCE_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._IMPEXP_CALLS
ganeti.rpc_defs.html#_IMPEXP_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._X509_CALLS
ganeti.rpc_defs.html#_X509_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._BLOCKDEV_CALLS
ganeti.rpc_defs.html#_BLOCKDEV_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._OS_CALLS
ganeti.rpc_defs.html#_OS_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._EXTSTORAGE_CALLS
ganeti.rpc_defs.html#_EXTSTORAGE_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._NODE_CALLS
ganeti.rpc_defs.html#_NODE_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs._MISC_CALLS
ganeti.rpc_defs.html#_MISC_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc_defs.CALLS
ganeti.rpc_defs.html#CALLS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti._generated_rpc.RpcClientBootstrap
ganeti._generated_rpc.RpcClientBootstrap.html
Class
Class
PUBLIC
No class docstring; 0/1 constant, 7/7 methods documented
-
ganeti._generated_rpc.RpcClientBootstrap._CALLS
ganeti._generated_rpc.RpcClientBootstrap.html#_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._generated_rpc.RpcClientBootstrap.call_master_node_name
ganeti._generated_rpc.RpcClientBootstrap.html#call_master_node_name
Function
Method
PUBLIC
Wrapper for RPC call 'master_node_name'
-
ganeti._generated_rpc.RpcClientBootstrap.call_node_activate_master_ip
ganeti._generated_rpc.RpcClientBootstrap.html#call_node_activate_master_ip
Function
Method
PUBLIC
Wrapper for RPC call 'node_activate_master_ip'
-
ganeti._generated_rpc.RpcClientBootstrap.call_node_change_master_netmask
ganeti._generated_rpc.RpcClientBootstrap.html#call_node_change_master_netmask
Function
Method
PUBLIC
Wrapper for RPC call 'node_change_master_netmask'
-
ganeti._generated_rpc.RpcClientBootstrap.call_node_deactivate_master_ip
ganeti._generated_rpc.RpcClientBootstrap.html#call_node_deactivate_master_ip
Function
Method
PUBLIC
Wrapper for RPC call 'node_deactivate_master_ip'
-
ganeti._generated_rpc.RpcClientBootstrap.call_node_leave_cluster
ganeti._generated_rpc.RpcClientBootstrap.html#call_node_leave_cluster
Function
Method
PUBLIC
Wrapper for RPC call 'node_leave_cluster'
-
ganeti._generated_rpc.RpcClientBootstrap.call_node_start_master_daemons
ganeti._generated_rpc.RpcClientBootstrap.html#call_node_start_master_daemons
Function
Method
PUBLIC
Wrapper for RPC call 'node_start_master_daemons'
-
ganeti._generated_rpc.RpcClientBootstrap.call_node_stop_master
ganeti._generated_rpc.RpcClientBootstrap.html#call_node_stop_master
Function
Method
PUBLIC
Wrapper for RPC call 'node_stop_master'
-
ganeti._generated_rpc.RpcClientConfig
ganeti._generated_rpc.RpcClientConfig.html
Class
Class
PUBLIC
No class docstring; 0/1 constant, 3/3 methods documented
-
ganeti._generated_rpc.RpcClientConfig._CALLS
ganeti._generated_rpc.RpcClientConfig.html#_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._generated_rpc.RpcClientConfig.call_upload_file
ganeti._generated_rpc.RpcClientConfig.html#call_upload_file
Function
Method
PUBLIC
Wrapper for RPC call 'upload_file'
-
ganeti._generated_rpc.RpcClientConfig.call_upload_file_single
ganeti._generated_rpc.RpcClientConfig.html#call_upload_file_single
Function
Method
PUBLIC
Wrapper for RPC call 'upload_file_single'
-
ganeti._generated_rpc.RpcClientConfig.call_write_ssconf_files
ganeti._generated_rpc.RpcClientConfig.html#call_write_ssconf_files
Function
Method
PUBLIC
Wrapper for RPC call 'write_ssconf_files'
-
ganeti._generated_rpc.RpcClientDefault
ganeti._generated_rpc.RpcClientDefault.html
Class
Class
PUBLIC
No class docstring; 0/1 constant, 91/91 methods documented
-
ganeti._generated_rpc.RpcClientDefault._CALLS
ganeti._generated_rpc.RpcClientDefault.html#_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._generated_rpc.RpcClientDefault.call_accept_instance
ganeti._generated_rpc.RpcClientDefault.html#call_accept_instance
Function
Method
PUBLIC
Wrapper for RPC call 'accept_instance'
-
ganeti._generated_rpc.RpcClientDefault.call_all_instances_info
ganeti._generated_rpc.RpcClientDefault.html#call_all_instances_info
Function
Method
PUBLIC
Wrapper for RPC call 'all_instances_info'
-
ganeti._generated_rpc.RpcClientDefault.call_bdev_sizes
ganeti._generated_rpc.RpcClientDefault.html#call_bdev_sizes
Function
Method
PUBLIC
Wrapper for RPC call 'bdev_sizes'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_addchildren
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_addchildren
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_addchildren'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_assemble
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_assemble
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_assemble'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_close
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_close
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_close'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_convert
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_convert
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_convert'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_create
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_create
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_create'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_find
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_find
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_find'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_getdimensions
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_getdimensions
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_getdimensions'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_getmirrorstatus
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_getmirrorstatus
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_getmirrorstatus'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_getmirrorstatus_multi
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_getmirrorstatus_multi
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_getmirrorstatus_multi'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_grow
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_grow
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_grow'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_image
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_image
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_image'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_open
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_open
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_open'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_pause_resume_sync
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_pause_resume_sync
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_pause_resume_sync'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_remove
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_remove
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_remove'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_removechildren
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_removechildren
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_removechildren'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_rename
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_rename
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_rename'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_setinfo
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_setinfo
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_setinfo'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_shutdown
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_shutdown
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_shutdown'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_snapshot
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_snapshot
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_snapshot'
-
ganeti._generated_rpc.RpcClientDefault.call_blockdev_wipe
ganeti._generated_rpc.RpcClientDefault.html#call_blockdev_wipe
Function
Method
PUBLIC
Wrapper for RPC call 'blockdev_wipe'
-
ganeti._generated_rpc.RpcClientDefault.call_bridges_exist
ganeti._generated_rpc.RpcClientDefault.html#call_bridges_exist
Function
Method
PUBLIC
Wrapper for RPC call 'bridges_exist'
-
ganeti._generated_rpc.RpcClientDefault.call_drbd_attach_net
ganeti._generated_rpc.RpcClientDefault.html#call_drbd_attach_net
Function
Method
PUBLIC
Wrapper for RPC call 'drbd_attach_net'
-
ganeti._generated_rpc.RpcClientDefault.call_drbd_disconnect_net
ganeti._generated_rpc.RpcClientDefault.html#call_drbd_disconnect_net
Function
Method
PUBLIC
Wrapper for RPC call 'drbd_disconnect_net'
-
ganeti._generated_rpc.RpcClientDefault.call_drbd_helper
ganeti._generated_rpc.RpcClientDefault.html#call_drbd_helper
Function
Method
PUBLIC
Wrapper for RPC call 'drbd_helper'
-
ganeti._generated_rpc.RpcClientDefault.call_drbd_needs_activation
ganeti._generated_rpc.RpcClientDefault.html#call_drbd_needs_activation
Function
Method
PUBLIC
Wrapper for RPC call 'drbd_needs_activation'
-
ganeti._generated_rpc.RpcClientDefault.call_drbd_wait_sync
ganeti._generated_rpc.RpcClientDefault.html#call_drbd_wait_sync
Function
Method
PUBLIC
Wrapper for RPC call 'drbd_wait_sync'
-
ganeti._generated_rpc.RpcClientDefault.call_etc_hosts_modify
ganeti._generated_rpc.RpcClientDefault.html#call_etc_hosts_modify
Function
Method
PUBLIC
Wrapper for RPC call 'etc_hosts_modify'
-
ganeti._generated_rpc.RpcClientDefault.call_export_info
ganeti._generated_rpc.RpcClientDefault.html#call_export_info
Function
Method
PUBLIC
Wrapper for RPC call 'export_info'
-
ganeti._generated_rpc.RpcClientDefault.call_export_list
ganeti._generated_rpc.RpcClientDefault.html#call_export_list
Function
Method
PUBLIC
Wrapper for RPC call 'export_list'
-
ganeti._generated_rpc.RpcClientDefault.call_export_remove
ganeti._generated_rpc.RpcClientDefault.html#call_export_remove
Function
Method
PUBLIC
Wrapper for RPC call 'export_remove'
-
ganeti._generated_rpc.RpcClientDefault.call_export_start
ganeti._generated_rpc.RpcClientDefault.html#call_export_start
Function
Method
PUBLIC
Wrapper for RPC call 'export_start'
-
ganeti._generated_rpc.RpcClientDefault.call_extstorage_diagnose
ganeti._generated_rpc.RpcClientDefault.html#call_extstorage_diagnose
Function
Method
PUBLIC
Wrapper for RPC call 'extstorage_diagnose'
-
ganeti._generated_rpc.RpcClientDefault.call_file_storage_dir_create
ganeti._generated_rpc.RpcClientDefault.html#call_file_storage_dir_create
Function
Method
PUBLIC
Wrapper for RPC call 'file_storage_dir_create'
-
ganeti._generated_rpc.RpcClientDefault.call_file_storage_dir_remove
ganeti._generated_rpc.RpcClientDefault.html#call_file_storage_dir_remove
Function
Method
PUBLIC
Wrapper for RPC call 'file_storage_dir_remove'
-
ganeti._generated_rpc.RpcClientDefault.call_file_storage_dir_rename
ganeti._generated_rpc.RpcClientDefault.html#call_file_storage_dir_rename
Function
Method
PUBLIC
Wrapper for RPC call 'file_storage_dir_rename'
-
ganeti._generated_rpc.RpcClientDefault.call_finalize_export
ganeti._generated_rpc.RpcClientDefault.html#call_finalize_export
Function
Method
PUBLIC
Wrapper for RPC call 'finalize_export'
-
ganeti._generated_rpc.RpcClientDefault.call_get_file_info
ganeti._generated_rpc.RpcClientDefault.html#call_get_file_info
Function
Method
PUBLIC
Wrapper for RPC call 'get_file_info'
-
ganeti._generated_rpc.RpcClientDefault.call_get_watcher_pause
ganeti._generated_rpc.RpcClientDefault.html#call_get_watcher_pause
Function
Method
PUBLIC
Wrapper for RPC call 'get_watcher_pause'
-
ganeti._generated_rpc.RpcClientDefault.call_hooks_runner
ganeti._generated_rpc.RpcClientDefault.html#call_hooks_runner
Function
Method
PUBLIC
Wrapper for RPC call 'hooks_runner'
-
ganeti._generated_rpc.RpcClientDefault.call_hotplug_device
ganeti._generated_rpc.RpcClientDefault.html#call_hotplug_device
Function
Method
PUBLIC
Wrapper for RPC call 'hotplug_device'
-
ganeti._generated_rpc.RpcClientDefault.call_hotplug_supported
ganeti._generated_rpc.RpcClientDefault.html#call_hotplug_supported
Function
Method
PUBLIC
Wrapper for RPC call 'hotplug_supported'
-
ganeti._generated_rpc.RpcClientDefault.call_hypervisor_validate_params
ganeti._generated_rpc.RpcClientDefault.html#call_hypervisor_validate_params
Function
Method
PUBLIC
Wrapper for RPC call 'hypervisor_validate_params'
-
ganeti._generated_rpc.RpcClientDefault.call_iallocator_runner
ganeti._generated_rpc.RpcClientDefault.html#call_iallocator_runner
Function
Method
PUBLIC
Wrapper for RPC call 'iallocator_runner'
-
ganeti._generated_rpc.RpcClientDefault.call_impexp_abort
ganeti._generated_rpc.RpcClientDefault.html#call_impexp_abort
Function
Method
PUBLIC
Wrapper for RPC call 'impexp_abort'
-
ganeti._generated_rpc.RpcClientDefault.call_impexp_cleanup
ganeti._generated_rpc.RpcClientDefault.html#call_impexp_cleanup
Function
Method
PUBLIC
Wrapper for RPC call 'impexp_cleanup'
-
ganeti._generated_rpc.RpcClientDefault.call_impexp_status
ganeti._generated_rpc.RpcClientDefault.html#call_impexp_status
Function
Method
PUBLIC
Wrapper for RPC call 'impexp_status'
-
ganeti._generated_rpc.RpcClientDefault.call_import_start
ganeti._generated_rpc.RpcClientDefault.html#call_import_start
Function
Method
PUBLIC
Wrapper for RPC call 'import_start'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_balloon_memory
ganeti._generated_rpc.RpcClientDefault.html#call_instance_balloon_memory
Function
Method
PUBLIC
Wrapper for RPC call 'instance_balloon_memory'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_finalize_migration_dst
ganeti._generated_rpc.RpcClientDefault.html#call_instance_finalize_migration_dst
Function
Method
PUBLIC
Wrapper for RPC call 'instance_finalize_migration_dst'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_finalize_migration_src
ganeti._generated_rpc.RpcClientDefault.html#call_instance_finalize_migration_src
Function
Method
PUBLIC
Wrapper for RPC call 'instance_finalize_migration_src'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_get_migration_status
ganeti._generated_rpc.RpcClientDefault.html#call_instance_get_migration_status
Function
Method
PUBLIC
Wrapper for RPC call 'instance_get_migration_status'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_info
ganeti._generated_rpc.RpcClientDefault.html#call_instance_info
Function
Method
PUBLIC
Wrapper for RPC call 'instance_info'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_list
ganeti._generated_rpc.RpcClientDefault.html#call_instance_list
Function
Method
PUBLIC
Wrapper for RPC call 'instance_list'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_metadata_modify
ganeti._generated_rpc.RpcClientDefault.html#call_instance_metadata_modify
Function
Method
PUBLIC
Wrapper for RPC call 'instance_metadata_modify'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_migratable
ganeti._generated_rpc.RpcClientDefault.html#call_instance_migratable
Function
Method
PUBLIC
Wrapper for RPC call 'instance_migratable'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_migrate
ganeti._generated_rpc.RpcClientDefault.html#call_instance_migrate
Function
Method
PUBLIC
Wrapper for RPC call 'instance_migrate'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_os_add
ganeti._generated_rpc.RpcClientDefault.html#call_instance_os_add
Function
Method
PUBLIC
Wrapper for RPC call 'instance_os_add'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_reboot
ganeti._generated_rpc.RpcClientDefault.html#call_instance_reboot
Function
Method
PUBLIC
Wrapper for RPC call 'instance_reboot'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_run_rename
ganeti._generated_rpc.RpcClientDefault.html#call_instance_run_rename
Function
Method
PUBLIC
Wrapper for RPC call 'instance_run_rename'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_shutdown
ganeti._generated_rpc.RpcClientDefault.html#call_instance_shutdown
Function
Method
PUBLIC
Wrapper for RPC call 'instance_shutdown'
-
ganeti._generated_rpc.RpcClientDefault.call_instance_start
ganeti._generated_rpc.RpcClientDefault.html#call_instance_start
Function
Method
PUBLIC
Wrapper for RPC call 'instance_start'
-
ganeti._generated_rpc.RpcClientDefault.call_lv_list
ganeti._generated_rpc.RpcClientDefault.html#call_lv_list
Function
Method
PUBLIC
Wrapper for RPC call 'lv_list'
-
ganeti._generated_rpc.RpcClientDefault.call_migration_info
ganeti._generated_rpc.RpcClientDefault.html#call_migration_info
Function
Method
PUBLIC
Wrapper for RPC call 'migration_info'
-
ganeti._generated_rpc.RpcClientDefault.call_node_configure_ovs
ganeti._generated_rpc.RpcClientDefault.html#call_node_configure_ovs
Function
Method
PUBLIC
Wrapper for RPC call 'node_configure_ovs'
-
ganeti._generated_rpc.RpcClientDefault.call_node_crypto_tokens
ganeti._generated_rpc.RpcClientDefault.html#call_node_crypto_tokens
Function
Method
PUBLIC
Wrapper for RPC call 'node_crypto_tokens'
-
ganeti._generated_rpc.RpcClientDefault.call_node_demote_from_mc
ganeti._generated_rpc.RpcClientDefault.html#call_node_demote_from_mc
Function
Method
PUBLIC
Wrapper for RPC call 'node_demote_from_mc'
-
ganeti._generated_rpc.RpcClientDefault.call_node_ensure_daemon
ganeti._generated_rpc.RpcClientDefault.html#call_node_ensure_daemon
Function
Method
PUBLIC
Wrapper for RPC call 'node_ensure_daemon'
-
ganeti._generated_rpc.RpcClientDefault.call_node_has_ip_address
ganeti._generated_rpc.RpcClientDefault.html#call_node_has_ip_address
Function
Method
PUBLIC
Wrapper for RPC call 'node_has_ip_address'
-
ganeti._generated_rpc.RpcClientDefault.call_node_info
ganeti._generated_rpc.RpcClientDefault.html#call_node_info
Function
Method
PUBLIC
Wrapper for RPC call 'node_info'
-
ganeti._generated_rpc.RpcClientDefault.call_node_powercycle
ganeti._generated_rpc.RpcClientDefault.html#call_node_powercycle
Function
Method
PUBLIC
Wrapper for RPC call 'node_powercycle'
-
ganeti._generated_rpc.RpcClientDefault.call_node_ssh_key_add
ganeti._generated_rpc.RpcClientDefault.html#call_node_ssh_key_add
Function
Method
PUBLIC
Wrapper for RPC call 'node_ssh_key_add'
-
ganeti._generated_rpc.RpcClientDefault.call_node_ssh_key_remove
ganeti._generated_rpc.RpcClientDefault.html#call_node_ssh_key_remove
Function
Method
PUBLIC
Wrapper for RPC call 'node_ssh_key_remove'
-
ganeti._generated_rpc.RpcClientDefault.call_node_ssh_keys_renew
ganeti._generated_rpc.RpcClientDefault.html#call_node_ssh_keys_renew
Function
Method
PUBLIC
Wrapper for RPC call 'node_ssh_keys_renew'
-
ganeti._generated_rpc.RpcClientDefault.call_node_verify
ganeti._generated_rpc.RpcClientDefault.html#call_node_verify
Function
Method
PUBLIC
Wrapper for RPC call 'node_verify'
-
ganeti._generated_rpc.RpcClientDefault.call_node_volumes
ganeti._generated_rpc.RpcClientDefault.html#call_node_volumes
Function
Method
PUBLIC
Wrapper for RPC call 'node_volumes'
-
ganeti._generated_rpc.RpcClientDefault.call_os_diagnose
ganeti._generated_rpc.RpcClientDefault.html#call_os_diagnose
Function
Method
PUBLIC
Wrapper for RPC call 'os_diagnose'
-
ganeti._generated_rpc.RpcClientDefault.call_os_export
ganeti._generated_rpc.RpcClientDefault.html#call_os_export
Function
Method
PUBLIC
Wrapper for RPC call 'os_export'
-
ganeti._generated_rpc.RpcClientDefault.call_os_validate
ganeti._generated_rpc.RpcClientDefault.html#call_os_validate
Function
Method
PUBLIC
Wrapper for RPC call 'os_validate'
-
ganeti._generated_rpc.RpcClientDefault.call_restricted_command
ganeti._generated_rpc.RpcClientDefault.html#call_restricted_command
Function
Method
PUBLIC
Wrapper for RPC call 'restricted_command'
-
ganeti._generated_rpc.RpcClientDefault.call_run_oob
ganeti._generated_rpc.RpcClientDefault.html#call_run_oob
Function
Method
PUBLIC
Wrapper for RPC call 'run_oob'
-
ganeti._generated_rpc.RpcClientDefault.call_set_watcher_pause
ganeti._generated_rpc.RpcClientDefault.html#call_set_watcher_pause
Function
Method
PUBLIC
Wrapper for RPC call 'set_watcher_pause'
-
ganeti._generated_rpc.RpcClientDefault.call_storage_execute
ganeti._generated_rpc.RpcClientDefault.html#call_storage_execute
Function
Method
PUBLIC
Wrapper for RPC call 'storage_execute'
-
ganeti._generated_rpc.RpcClientDefault.call_storage_list
ganeti._generated_rpc.RpcClientDefault.html#call_storage_list
Function
Method
PUBLIC
Wrapper for RPC call 'storage_list'
-
ganeti._generated_rpc.RpcClientDefault.call_storage_modify
ganeti._generated_rpc.RpcClientDefault.html#call_storage_modify
Function
Method
PUBLIC
Wrapper for RPC call 'storage_modify'
-
ganeti._generated_rpc.RpcClientDefault.call_test_delay
ganeti._generated_rpc.RpcClientDefault.html#call_test_delay
Function
Method
PUBLIC
Wrapper for RPC call 'test_delay'
-
ganeti._generated_rpc.RpcClientDefault.call_vg_list
ganeti._generated_rpc.RpcClientDefault.html#call_vg_list
Function
Method
PUBLIC
Wrapper for RPC call 'vg_list'
-
ganeti._generated_rpc.RpcClientDefault.call_x509_cert_create
ganeti._generated_rpc.RpcClientDefault.html#call_x509_cert_create
Function
Method
PUBLIC
Wrapper for RPC call 'x509_cert_create'
-
ganeti._generated_rpc.RpcClientDefault.call_x509_cert_remove
ganeti._generated_rpc.RpcClientDefault.html#call_x509_cert_remove
Function
Method
PUBLIC
Wrapper for RPC call 'x509_cert_remove'
-
ganeti._generated_rpc.RpcClientDnsOnly
ganeti._generated_rpc.RpcClientDnsOnly.html
Class
Class
PUBLIC
No class docstring; 0/1 constant, 2/2 methods documented
-
ganeti._generated_rpc.RpcClientDnsOnly._CALLS
ganeti._generated_rpc.RpcClientDnsOnly.html#_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._generated_rpc.RpcClientDnsOnly.call_node_verify_light
ganeti._generated_rpc.RpcClientDnsOnly.html#call_node_verify_light
Function
Method
PUBLIC
Wrapper for RPC call 'node_verify_light'
-
ganeti._generated_rpc.RpcClientDnsOnly.call_version
ganeti._generated_rpc.RpcClientDnsOnly.html#call_version
Function
Method
PUBLIC
Wrapper for RPC call 'version'
-
ganeti._generated_rpc.RpcClientJobQueue
ganeti._generated_rpc.RpcClientJobQueue.html
Class
Class
PUBLIC
No class docstring; 0/1 constant, 4/4 methods documented
-
ganeti._generated_rpc.RpcClientJobQueue._CALLS
ganeti._generated_rpc.RpcClientJobQueue.html#_CALLS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti._generated_rpc.RpcClientJobQueue.call_jobqueue_purge
ganeti._generated_rpc.RpcClientJobQueue.html#call_jobqueue_purge
Function
Method
PUBLIC
Wrapper for RPC call 'jobqueue_purge'
-
ganeti._generated_rpc.RpcClientJobQueue.call_jobqueue_rename
ganeti._generated_rpc.RpcClientJobQueue.html#call_jobqueue_rename
Function
Method
PUBLIC
Wrapper for RPC call 'jobqueue_rename'
-
ganeti._generated_rpc.RpcClientJobQueue.call_jobqueue_set_drain_flag
ganeti._generated_rpc.RpcClientJobQueue.html#call_jobqueue_set_drain_flag
Function
Method
PUBLIC
Wrapper for RPC call 'jobqueue_set_drain_flag'
-
ganeti._generated_rpc.RpcClientJobQueue.call_jobqueue_update
ganeti._generated_rpc.RpcClientJobQueue.html#call_jobqueue_update
Function
Method
PUBLIC
Wrapper for RPC call 'jobqueue_update'
-
ganeti.ssconf.SSCONF_LOCK_TIMEOUT
ganeti.ssconf.html#SSCONF_LOCK_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ssconf._MAX_SIZE
ganeti.ssconf.html#_MAX_SIZE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.ssconf.ReadSsconfFile
ganeti.ssconf.html#ReadSsconfFile
Function
Function
PUBLIC
Reads an ssconf file and verifies its size.
-
ganeti.ssconf.SimpleStore
ganeti.ssconf.SimpleStore.html
Class
Class
PUBLIC
Interface to static cluster data.
-
ganeti.ssconf.SimpleStore.__init__
ganeti.ssconf.SimpleStore.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.ssconf.SimpleStore._cfg_dir
ganeti.ssconf.SimpleStore.html#_cfg_dir
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.ssconf.SimpleStore._lockfile
ganeti.ssconf.SimpleStore.html#_lockfile
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.ssconf.SimpleStore.KeyToFilename
ganeti.ssconf.SimpleStore.html#KeyToFilename
Function
Method
PUBLIC
Convert a given key into filename.
-
ganeti.ssconf.SimpleStore._ReadFile
ganeti.ssconf.SimpleStore.html#_ReadFile
Function
Method
PRIVATE
Generic routine to read keys.
-
ganeti.ssconf.SimpleStore.ReadAll
ganeti.ssconf.SimpleStore.html#ReadAll
Function
Method
PUBLIC
Reads all keys and returns their values.
-
ganeti.ssconf.SimpleStore.WriteFiles
ganeti.ssconf.SimpleStore.html#WriteFiles
Function
Method
PUBLIC
Writes ssconf files used by external scripts.
-
ganeti.ssconf.SimpleStore.GetFileList
ganeti.ssconf.SimpleStore.html#GetFileList
Function
Method
PUBLIC
Return the list of all config files.
-
ganeti.ssconf.SimpleStore.GetClusterName
ganeti.ssconf.SimpleStore.html#GetClusterName
Function
Method
PUBLIC
Get the cluster name.
-
ganeti.ssconf.SimpleStore.GetFileStorageDir
ganeti.ssconf.SimpleStore.html#GetFileStorageDir
Function
Method
PUBLIC
Get the file storage dir.
-
ganeti.ssconf.SimpleStore.GetSharedFileStorageDir
ganeti.ssconf.SimpleStore.html#GetSharedFileStorageDir
Function
Method
PUBLIC
Get the shared file storage dir.
-
ganeti.ssconf.SimpleStore.GetGlusterStorageDir
ganeti.ssconf.SimpleStore.html#GetGlusterStorageDir
Function
Method
PUBLIC
Get the Gluster storage dir.
-
ganeti.ssconf.SimpleStore.GetMasterCandidates
ganeti.ssconf.SimpleStore.html#GetMasterCandidates
Function
Method
PUBLIC
Return the list of master candidates.
-
ganeti.ssconf.SimpleStore.GetMasterCandidatesIPList
ganeti.ssconf.SimpleStore.html#GetMasterCandidatesIPList
Function
Method
PUBLIC
Return the list of master candidates' primary IP.
-
ganeti.ssconf.SimpleStore._GetDictOfSsconfMap
ganeti.ssconf.SimpleStore.html#_GetDictOfSsconfMap
Function
Method
PRIVATE
Reads a file with lines like key=value and returns a dict.
-
ganeti.ssconf.SimpleStore.GetMasterCandidatesCertMap
ganeti.ssconf.SimpleStore.html#GetMasterCandidatesCertMap
Function
Method
PUBLIC
Returns the map of master candidate UUIDs to ssl cert.
-
ganeti.ssconf.SimpleStore.GetSshPortMap
ganeti.ssconf.SimpleStore.html#GetSshPortMap
Function
Method
PUBLIC
Returns the map of node names to SSH port.
-
ganeti.ssconf.SimpleStore.GetMasterIP
ganeti.ssconf.SimpleStore.html#GetMasterIP
Function
Method
PUBLIC
Get the IP of the master node for this cluster.
-
ganeti.ssconf.SimpleStore.GetMasterNetdev
ganeti.ssconf.SimpleStore.html#GetMasterNetdev
Function
Method
PUBLIC
Get the netdev to which we'll add the master ip.
-
ganeti.ssconf.SimpleStore.GetMasterNetmask
ganeti.ssconf.SimpleStore.html#GetMasterNetmask
Function
Method
PUBLIC
Get the master netmask.
-
ganeti.ssconf.SimpleStore.GetMasterNode
ganeti.ssconf.SimpleStore.html#GetMasterNode
Function
Method
PUBLIC
Get the hostname of the master node for this cluster.
-
ganeti.ssconf.SimpleStore.GetNodeList
ganeti.ssconf.SimpleStore.html#GetNodeList
Function
Method
PUBLIC
Return the list of cluster nodes.
-
ganeti.ssconf.SimpleStore.GetOnlineNodeList
ganeti.ssconf.SimpleStore.html#GetOnlineNodeList
Function
Method
PUBLIC
Return the list of online cluster nodes.
-
ganeti.ssconf.SimpleStore.GetNodePrimaryIPList
ganeti.ssconf.SimpleStore.html#GetNodePrimaryIPList
Function
Method
PUBLIC
Return the list of cluster nodes' primary IP.
-
ganeti.ssconf.SimpleStore.GetNodeSecondaryIPList
ganeti.ssconf.SimpleStore.html#GetNodeSecondaryIPList
Function
Method
PUBLIC
Return the list of cluster nodes' secondary IP.
-
ganeti.ssconf.SimpleStore.GetNodesVmCapable
ganeti.ssconf.SimpleStore.html#GetNodesVmCapable
Function
Method
PUBLIC
Return the cluster nodes' vm capable value.
-
ganeti.ssconf.SimpleStore.GetNodegroupList
ganeti.ssconf.SimpleStore.html#GetNodegroupList
Function
Method
PUBLIC
Return the list of nodegroups.
-
ganeti.ssconf.SimpleStore.GetNetworkList
ganeti.ssconf.SimpleStore.html#GetNetworkList
Function
Method
PUBLIC
Return the list of networks.
-
ganeti.ssconf.SimpleStore.GetClusterTags
ganeti.ssconf.SimpleStore.html#GetClusterTags
Function
Method
PUBLIC
Return the cluster tags.
-
ganeti.ssconf.SimpleStore.GetHypervisorList
ganeti.ssconf.SimpleStore.html#GetHypervisorList
Function
Method
PUBLIC
Return the list of enabled hypervisors.
-
ganeti.ssconf.SimpleStore.GetHvparamsForHypervisor
ganeti.ssconf.SimpleStore.html#GetHvparamsForHypervisor
Function
Method
PUBLIC
Return the hypervisor parameters of the given hypervisor.
-
ganeti.ssconf.SimpleStore.GetHvparams
ganeti.ssconf.SimpleStore.html#GetHvparams
Function
Method
PUBLIC
Return the hypervisor parameters of all hypervisors.
-
ganeti.ssconf.SimpleStore.GetMaintainNodeHealth
ganeti.ssconf.SimpleStore.html#GetMaintainNodeHealth
Function
Method
PUBLIC
Return the value of the maintain_node_health option.
-
ganeti.ssconf.SimpleStore.GetUidPool
ganeti.ssconf.SimpleStore.html#GetUidPool
Function
Method
PUBLIC
Return the user-id pool definition string.
-
ganeti.ssconf.SimpleStore.GetPrimaryIPFamily
ganeti.ssconf.SimpleStore.html#GetPrimaryIPFamily
Function
Method
PUBLIC
Return the cluster-wide primary address family.
-
ganeti.ssconf.SimpleStore.GetEnabledUserShutdown
ganeti.ssconf.SimpleStore.html#GetEnabledUserShutdown
Function
Method
PUBLIC
Return whether user shutdown is enabled.
-
ganeti.ssconf.WriteSsconfFiles
ganeti.ssconf.html#WriteSsconfFiles
Function
Function
PUBLIC
Update all ssconf files.
-
ganeti.ssconf.GetMasterAndMyself
ganeti.ssconf.html#GetMasterAndMyself
Function
Function
PUBLIC
Get the master node and my own hostname.
-
ganeti.ssconf.CheckMaster
ganeti.ssconf.html#CheckMaster
Function
Function
PUBLIC
Checks the node setup.
-
ganeti.ssconf.VerifyClusterName
ganeti.ssconf.html#VerifyClusterName
Function
Function
PUBLIC
Verifies cluster name against a local cluster name.
-
ganeti.ssconf.VerifyKeys
ganeti.ssconf.html#VerifyKeys
Function
Function
PUBLIC
Raises an exception if unknown ssconf keys are given.
-
ganeti.rpc.errors.ProtocolError
ganeti.rpc.errors.ProtocolError.html
Class
Exception
PUBLIC
Denotes an error in the LUXI protocol.
-
ganeti.rpc.errors.ConnectionClosedError
ganeti.rpc.errors.ConnectionClosedError.html
Class
Exception
PUBLIC
Connection closed error.
-
ganeti.rpc.errors.TimeoutError
ganeti.rpc.errors.TimeoutError.html
Class
Exception
PUBLIC
Operation timeout error.
-
ganeti.rpc.errors.RequestError
ganeti.rpc.errors.RequestError.html
Class
Exception
PUBLIC
Error on request.
-
ganeti.rpc.errors.NoMasterError
ganeti.rpc.errors.NoMasterError.html
Class
Exception
PUBLIC
The master cannot be reached.
-
ganeti.rpc.errors.PermissionError
ganeti.rpc.errors.PermissionError.html
Class
Exception
PUBLIC
Permission denied while connecting to the master socket.
-
ganeti.rpc.transport.Transport
ganeti.rpc.transport.Transport.html
Class
Class
PUBLIC
Low-level transport class.
-
ganeti.rpc.transport.Transport.__init__
ganeti.rpc.transport.Transport.html#__init__
Function
Method
PUBLIC
Constructor for the Client class.
-
ganeti.rpc.transport.Transport.address
ganeti.rpc.transport.Transport.html#address
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.transport.Transport._ctimeout
ganeti.rpc.transport.Transport.html#_ctimeout
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.Transport._rwtimeout
ganeti.rpc.transport.Transport.html#_rwtimeout
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.Transport.socket
ganeti.rpc.transport.Transport.html#socket
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.transport.Transport._buffer
ganeti.rpc.transport.Transport.html#_buffer
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.Transport._msgs
ganeti.rpc.transport.Transport.html#_msgs
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.Transport._Connect
ganeti.rpc.transport.Transport.html#_Connect
Function
Static Method
PRIVATE
Undocumented
-
ganeti.rpc.transport.Transport._CheckSocket
ganeti.rpc.transport.Transport.html#_CheckSocket
Function
Method
PRIVATE
Make sure we are connected.
-
ganeti.rpc.transport.Transport.Send
ganeti.rpc.transport.Transport.html#Send
Function
Method
PUBLIC
Send a message.
-
ganeti.rpc.transport.Transport.Recv
ganeti.rpc.transport.Transport.html#Recv
Function
Method
PUBLIC
Try to receive a message from the socket.
-
ganeti.rpc.transport.Transport.Call
ganeti.rpc.transport.Transport.html#Call
Function
Method
PUBLIC
Send a message and wait for the response.
-
ganeti.rpc.transport.Transport.RetryOnNetworkError
ganeti.rpc.transport.Transport.html#RetryOnNetworkError
Function
Static Method
PUBLIC
Calls a given function, retrying if it fails on a network IO exception.
-
ganeti.rpc.transport.Transport.Close
ganeti.rpc.transport.Transport.html#Close
Function
Method
PUBLIC
Close the socket
-
ganeti.rpc.transport.FdTransport
ganeti.rpc.transport.FdTransport.html
Class
Class
PUBLIC
Low-level transport class that works on arbitrary file descriptors.
-
ganeti.rpc.transport.FdTransport.__init__
ganeti.rpc.transport.FdTransport.html#__init__
Function
Method
PUBLIC
Constructor for the Client class.
-
ganeti.rpc.transport.FdTransport._rstream
ganeti.rpc.transport.FdTransport.html#_rstream
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.FdTransport._wstream
ganeti.rpc.transport.FdTransport.html#_wstream
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.FdTransport._buffer
ganeti.rpc.transport.FdTransport.html#_buffer
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.FdTransport._msgs
ganeti.rpc.transport.FdTransport.html#_msgs
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.transport.FdTransport._CheckSocket
ganeti.rpc.transport.FdTransport.html#_CheckSocket
Function
Method
PRIVATE
Make sure we are connected.
-
ganeti.rpc.transport.FdTransport.Send
ganeti.rpc.transport.FdTransport.html#Send
Function
Method
PUBLIC
Send a message.
-
ganeti.rpc.transport.FdTransport.Recv
ganeti.rpc.transport.FdTransport.html#Recv
Function
Method
PUBLIC
Try to receive a message from the read part of the socket.
-
ganeti.rpc.transport.FdTransport.Call
ganeti.rpc.transport.FdTransport.html#Call
Function
Method
PUBLIC
Send a message and wait for the response.
-
ganeti.rpc.transport.FdTransport.Close
ganeti.rpc.transport.FdTransport.html#Close
Function
Method
PUBLIC
Close the socket
-
ganeti.rpc.transport.FdTransport.close
ganeti.rpc.transport.FdTransport.html#close
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client
ganeti.luxi.Client.html
Class
Class
PUBLIC
High-level client implementation.
-
ganeti.luxi.Client.__init__
ganeti.luxi.Client.html#__init__
Function
Method
PUBLIC
Constructor for the Client class.
-
ganeti.luxi.Client.version
ganeti.luxi.Client.html#version
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.luxi.Client.address
ganeti.luxi.Client.html#address
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.luxi.Client._GetAddress
ganeti.luxi.Client.html#_GetAddress
Function
Method
PRIVATE
Returns the socket address
-
ganeti.luxi.Client.SetQueueDrainFlag
ganeti.luxi.Client.html#SetQueueDrainFlag
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.SetWatcherPause
ganeti.luxi.Client.html#SetWatcherPause
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.PickupJob
ganeti.luxi.Client.html#PickupJob
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.SubmitJob
ganeti.luxi.Client.html#SubmitJob
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.SubmitJobToDrainedQueue
ganeti.luxi.Client.html#SubmitJobToDrainedQueue
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.SubmitManyJobs
ganeti.luxi.Client.html#SubmitManyJobs
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client._PrepareJobId
ganeti.luxi.Client.html#_PrepareJobId
Function
Static Method
PRIVATE
Undocumented
-
ganeti.luxi.Client.CancelJob
ganeti.luxi.Client.html#CancelJob
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.ArchiveJob
ganeti.luxi.Client.html#ArchiveJob
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.ChangeJobPriority
ganeti.luxi.Client.html#ChangeJobPriority
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.AutoArchiveJobs
ganeti.luxi.Client.html#AutoArchiveJobs
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.WaitForJobChangeOnce
ganeti.luxi.Client.html#WaitForJobChangeOnce
Function
Method
PUBLIC
Waits for changes on a job.
-
ganeti.luxi.Client.WaitForJobChange
ganeti.luxi.Client.html#WaitForJobChange
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.Query
ganeti.luxi.Client.html#Query
Function
Method
PUBLIC
Query for resources/items.
-
ganeti.luxi.Client.QueryFields
ganeti.luxi.Client.html#QueryFields
Function
Method
PUBLIC
Query for available fields.
-
ganeti.luxi.Client.QueryJobs
ganeti.luxi.Client.html#QueryJobs
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryFilters
ganeti.luxi.Client.html#QueryFilters
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.ReplaceFilter
ganeti.luxi.Client.html#ReplaceFilter
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.DeleteFilter
ganeti.luxi.Client.html#DeleteFilter
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryInstances
ganeti.luxi.Client.html#QueryInstances
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryNodes
ganeti.luxi.Client.html#QueryNodes
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryGroups
ganeti.luxi.Client.html#QueryGroups
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryNetworks
ganeti.luxi.Client.html#QueryNetworks
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryExports
ganeti.luxi.Client.html#QueryExports
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryClusterInfo
ganeti.luxi.Client.html#QueryClusterInfo
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryConfigValues
ganeti.luxi.Client.html#QueryConfigValues
Function
Method
PUBLIC
Undocumented
-
ganeti.luxi.Client.QueryTags
ganeti.luxi.Client.html#QueryTags
Function
Method
PUBLIC
Undocumented
-
ganeti.runtime._priv
ganeti.runtime.html#_priv
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.runtime._priv_lock
ganeti.runtime.html#_priv_lock
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.runtime._arch
ganeti.runtime.html#_arch
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.runtime.GetUid
ganeti.runtime.html#GetUid
Function
Function
PUBLIC
Retrieve the uid from the database.
-
ganeti.runtime.GetGid
ganeti.runtime.html#GetGid
Function
Function
PUBLIC
Retrieve the gid from the database.
-
ganeti.runtime.GetentResolver
ganeti.runtime.GetentResolver.html
Class
Class
PUBLIC
Resolves Ganeti uids and gids by name.
-
ganeti.runtime.GetentResolver.masterd_uid
ganeti.runtime.GetentResolver.html#masterd_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the masterd user
-
ganeti.runtime.GetentResolver.masterd_gid
ganeti.runtime.GetentResolver.html#masterd_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the masterd group
-
ganeti.runtime.GetentResolver.confd_uid
ganeti.runtime.GetentResolver.html#confd_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the confd user
-
ganeti.runtime.GetentResolver.confd_gid
ganeti.runtime.GetentResolver.html#confd_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the confd group
-
ganeti.runtime.GetentResolver.wconfd_uid
ganeti.runtime.GetentResolver.html#wconfd_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the wconfd user
-
ganeti.runtime.GetentResolver.wconfd_gid
ganeti.runtime.GetentResolver.html#wconfd_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the wconfd group
-
ganeti.runtime.GetentResolver.luxid_uid
ganeti.runtime.GetentResolver.html#luxid_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the luxid user
-
ganeti.runtime.GetentResolver.luxid_gid
ganeti.runtime.GetentResolver.html#luxid_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the luxid group
-
ganeti.runtime.GetentResolver.rapi_uid
ganeti.runtime.GetentResolver.html#rapi_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the rapi user
-
ganeti.runtime.GetentResolver.rapi_gid
ganeti.runtime.GetentResolver.html#rapi_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the rapi group
-
ganeti.runtime.GetentResolver.noded_uid
ganeti.runtime.GetentResolver.html#noded_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the noded user
-
ganeti.runtime.GetentResolver.noded_gid
ganeti.runtime.GetentResolver.html#noded_gid
Attribute
Instance Variable
PUBLIC
The resolved uid of the noded group
-
ganeti.runtime.GetentResolver.mond_uid
ganeti.runtime.GetentResolver.html#mond_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the mond user
-
ganeti.runtime.GetentResolver.mond_gid
ganeti.runtime.GetentResolver.html#mond_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the mond group
-
ganeti.runtime.GetentResolver.metad_uid
ganeti.runtime.GetentResolver.html#metad_uid
Attribute
Instance Variable
PUBLIC
The resolved uid of the metad user
-
ganeti.runtime.GetentResolver.metad_gid
ganeti.runtime.GetentResolver.html#metad_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the metad group
-
ganeti.runtime.GetentResolver.daemons_gid
ganeti.runtime.GetentResolver.html#daemons_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the daemons group
-
ganeti.runtime.GetentResolver.admin_gid
ganeti.runtime.GetentResolver.html#admin_gid
Attribute
Instance Variable
PUBLIC
The resolved gid of the admin group
-
ganeti.runtime.GetentResolver.__init__
ganeti.runtime.GetentResolver.html#__init__
Function
Method
PUBLIC
Initialize the resolver.
-
ganeti.runtime.GetentResolver._uid2user
ganeti.runtime.GetentResolver.html#_uid2user
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.runtime.GetentResolver._gid2group
ganeti.runtime.GetentResolver.html#_gid2group
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.runtime.GetentResolver._user2uid
ganeti.runtime.GetentResolver.html#_user2uid
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.runtime.GetentResolver._group2gid
ganeti.runtime.GetentResolver.html#_group2gid
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.runtime.GetentResolver.LookupUid
ganeti.runtime.GetentResolver.html#LookupUid
Function
Method
PUBLIC
Looks which Ganeti user belongs to this uid.
-
ganeti.runtime.GetentResolver.LookupGid
ganeti.runtime.GetentResolver.html#LookupGid
Function
Method
PUBLIC
Looks which Ganeti group belongs to this gid.
-
ganeti.runtime.GetentResolver.LookupUser
ganeti.runtime.GetentResolver.html#LookupUser
Function
Method
PUBLIC
Looks which uid belongs to this name.
-
ganeti.runtime.GetentResolver.LookupGroup
ganeti.runtime.GetentResolver.html#LookupGroup
Function
Method
PUBLIC
Looks which gid belongs to this name.
-
ganeti.runtime.GetEnts
ganeti.runtime.html#GetEnts
Function
Function
PUBLIC
Singleton wrapper around resolver instance.
-
ganeti.runtime.InitArchInfo
ganeti.runtime.html#InitArchInfo
Function
Function
PUBLIC
Initialize architecture information.
-
ganeti.runtime.GetArchInfo
ganeti.runtime.html#GetArchInfo
Function
Function
PUBLIC
Returns previsouly initialized architecture information.
-
ganeti.runtime.GetClient
ganeti.runtime.html#GetClient
Function
Function
PUBLIC
Connects to the a luxi socket and returns a client.
-
ganeti.daemon.GanetiBaseAsyncoreDispatcher
ganeti.daemon.GanetiBaseAsyncoreDispatcher.html
Class
Class
PUBLIC
Base Ganeti Asyncore Dispacher
-
ganeti.daemon.GanetiBaseAsyncoreDispatcher.handle_error
ganeti.daemon.GanetiBaseAsyncoreDispatcher.html#handle_error
Function
Method
PUBLIC
Log an error in handling any request, and proceed.
-
ganeti.daemon.GanetiBaseAsyncoreDispatcher.writable
ganeti.daemon.GanetiBaseAsyncoreDispatcher.html#writable
Function
Method
PUBLIC
Most of the time we don't want to check for writability.
-
ganeti.daemon.AsyncUDPSocket
ganeti.daemon.AsyncUDPSocket.html
Class
Class
PUBLIC
An improved asyncore udp socket.
-
ganeti.daemon.AsyncUDPSocket.__init__
ganeti.daemon.AsyncUDPSocket.html#__init__
Function
Method
PUBLIC
Constructor for AsyncUDPSocket
-
ganeti.daemon.AsyncUDPSocket._out_queue
ganeti.daemon.AsyncUDPSocket.html#_out_queue
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.daemon.AsyncUDPSocket._family
ganeti.daemon.AsyncUDPSocket.html#_family
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.daemon.AsyncUDPSocket.handle_connect
ganeti.daemon.AsyncUDPSocket.html#handle_connect
Function
Method
PUBLIC
Undocumented
-
ganeti.daemon.AsyncUDPSocket.handle_read
ganeti.daemon.AsyncUDPSocket.html#handle_read
Function
Method
PUBLIC
Undocumented
-
ganeti.daemon.AsyncUDPSocket.handle_datagram
ganeti.daemon.AsyncUDPSocket.html#handle_datagram
Function
Method
PUBLIC
Handle an already read udp datagram
-
ganeti.daemon.AsyncUDPSocket.writable
ganeti.daemon.AsyncUDPSocket.html#writable
Function
Method
PUBLIC
Most of the time we don't want to check for writability.
-
ganeti.daemon.AsyncUDPSocket.handle_write
ganeti.daemon.AsyncUDPSocket.html#handle_write
Function
Method
PUBLIC
Undocumented
-
ganeti.daemon.AsyncUDPSocket.enqueue_send
ganeti.daemon.AsyncUDPSocket.html#enqueue_send
Function
Method
PUBLIC
Enqueue a datagram to be sent when possible
-
ganeti.daemon.AsyncUDPSocket.process_next_packet
ganeti.daemon.AsyncUDPSocket.html#process_next_packet
Function
Method
PUBLIC
Process the next datagram, waiting for it if necessary.
-
ganeti.daemon.AsyncAwaker
ganeti.daemon.AsyncAwaker.html
Class
Class
PUBLIC
A way to notify the asyncore loop that something is going on.
-
ganeti.daemon.AsyncAwaker.__init__
ganeti.daemon.AsyncAwaker.html#__init__
Function
Method
PUBLIC
Constructor for AsyncAwaker
-
ganeti.daemon.AsyncAwaker.in_socket
ganeti.daemon.AsyncAwaker.html#in_socket
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.out_socket
ganeti.daemon.AsyncAwaker.html#out_socket
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.need_signal
ganeti.daemon.AsyncAwaker.html#need_signal
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.signal_fn
ganeti.daemon.AsyncAwaker.html#signal_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.connected
ganeti.daemon.AsyncAwaker.html#connected
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.handle_read
ganeti.daemon.AsyncAwaker.html#handle_read
Function
Method
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.close
ganeti.daemon.AsyncAwaker.html#close
Function
Method
PUBLIC
Undocumented
-
ganeti.daemon.AsyncAwaker.signal
ganeti.daemon.AsyncAwaker.html#signal
Function
Method
PUBLIC
Signal the asyncore main loop.
-
ganeti.daemon._ShutdownCheck
ganeti.daemon._ShutdownCheck.html
Class
Class
PRIVATE
-
ganeti.daemon._ShutdownCheck.__init__
ganeti.daemon._ShutdownCheck.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.daemon._ShutdownCheck._fn
ganeti.daemon._ShutdownCheck.html#_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.daemon._ShutdownCheck._defer
ganeti.daemon._ShutdownCheck.html#_defer
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.daemon._ShutdownCheck.CanShutdown
ganeti.daemon._ShutdownCheck.html#CanShutdown
Function
Method
PUBLIC
Checks whether mainloop can be stopped.
-
ganeti.daemon.Mainloop
ganeti.daemon.Mainloop.html
Class
Class
PUBLIC
Generic mainloop for daemons
-
ganeti.daemon.Mainloop._SHUTDOWN_TIMEOUT_PRIORITY
ganeti.daemon.Mainloop.html#_SHUTDOWN_TIMEOUT_PRIORITY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.daemon.Mainloop.__init__
ganeti.daemon.Mainloop.html#__init__
Function
Method
PUBLIC
Constructs a new Mainloop instance.
-
ganeti.daemon.Mainloop._signal_wait
ganeti.daemon.Mainloop.html#_signal_wait
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.daemon.Mainloop.awaker
ganeti.daemon.Mainloop.html#awaker
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.daemon.Mainloop.Run
ganeti.daemon.Mainloop.html#Run
Function
Method
PUBLIC
Runs the mainloop.
-
ganeti.daemon.Mainloop._CallSignalWaiters
ganeti.daemon.Mainloop.html#_CallSignalWaiters
Function
Method
PRIVATE
Calls all signal waiters for a certain signal.
-
ganeti.daemon.Mainloop.RegisterSignal
ganeti.daemon.Mainloop.html#RegisterSignal
Function
Method
PUBLIC
Registers a receiver for signal notifications
-
ganeti.daemon._VerifyDaemonUser
ganeti.daemon.html#_VerifyDaemonUser
Function
Function
PRIVATE
Verifies the process uid matches the configured uid.
-
ganeti.daemon._BeautifyError
ganeti.daemon.html#_BeautifyError
Function
Function
PRIVATE
Try to format an error better.
-
ganeti.daemon._HandleSigHup
ganeti.daemon.html#_HandleSigHup
Function
Function
PRIVATE
Handler for SIGHUP.
-
ganeti.daemon.GenericMain
ganeti.daemon.html#GenericMain
Function
Function
PUBLIC
Shared main function for daemons.
-
ganeti.asyncnotifier.AsyncNotifier
ganeti.asyncnotifier.AsyncNotifier.html
Class
Class
PUBLIC
An asyncore dispatcher for inotify events.
-
ganeti.asyncnotifier.AsyncNotifier.__init__
ganeti.asyncnotifier.AsyncNotifier.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.asyncnotifier.AsyncNotifier.notifier
ganeti.asyncnotifier.AsyncNotifier.html#notifier
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.asyncnotifier.AsyncNotifier.fd
ganeti.asyncnotifier.AsyncNotifier.html#fd
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.asyncnotifier.AsyncNotifier.handle_read
ganeti.asyncnotifier.AsyncNotifier.html#handle_read
Function
Method
PUBLIC
Undocumented
-
ganeti.asyncnotifier.ErrorLoggingAsyncNotifier
ganeti.asyncnotifier.ErrorLoggingAsyncNotifier.html
Class
Class
PUBLIC
An asyncnotifier that can survive errors in the callbacks.
-
ganeti.asyncnotifier.FileEventHandlerBase
ganeti.asyncnotifier.FileEventHandlerBase.html
Class
Class
PUBLIC
Base class for file event handlers.
-
ganeti.asyncnotifier.FileEventHandlerBase.watch_manager
ganeti.asyncnotifier.FileEventHandlerBase.html#watch_manager
Attribute
Instance Variable
PUBLIC
Inotify watch manager
-
ganeti.asyncnotifier.FileEventHandlerBase.__init__
ganeti.asyncnotifier.FileEventHandlerBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.asyncnotifier.FileEventHandlerBase.process_default
ganeti.asyncnotifier.FileEventHandlerBase.html#process_default
Function
Method
PUBLIC
Undocumented
-
ganeti.asyncnotifier.FileEventHandlerBase.AddWatch
ganeti.asyncnotifier.FileEventHandlerBase.html#AddWatch
Function
Method
PUBLIC
Adds a file watch.
-
ganeti.asyncnotifier.FileEventHandlerBase.RemoveWatch
ganeti.asyncnotifier.FileEventHandlerBase.html#RemoveWatch
Function
Method
PUBLIC
Removes a handle from the watcher.
-
ganeti.asyncnotifier.SingleFileEventHandler
ganeti.asyncnotifier.SingleFileEventHandler.html
Class
Class
PUBLIC
Handle modify events for a single file.
-
ganeti.asyncnotifier.SingleFileEventHandler.__init__
ganeti.asyncnotifier.SingleFileEventHandler.html#__init__
Function
Method
PUBLIC
Constructor for SingleFileEventHandler
-
ganeti.asyncnotifier.SingleFileEventHandler._callback
ganeti.asyncnotifier.SingleFileEventHandler.html#_callback
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.asyncnotifier.SingleFileEventHandler._filename
ganeti.asyncnotifier.SingleFileEventHandler.html#_filename
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.asyncnotifier.SingleFileEventHandler._watch_handle
ganeti.asyncnotifier.SingleFileEventHandler.html#_watch_handle
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.asyncnotifier.SingleFileEventHandler.enable
ganeti.asyncnotifier.SingleFileEventHandler.html#enable
Function
Method
PUBLIC
Watch the given file.
-
ganeti.asyncnotifier.SingleFileEventHandler.disable
ganeti.asyncnotifier.SingleFileEventHandler.html#disable
Function
Method
PUBLIC
Stop watching the given file.
-
ganeti.asyncnotifier.SingleFileEventHandler.process_IN_IGNORED
ganeti.asyncnotifier.SingleFileEventHandler.html#process_IN_IGNORED
Function
Method
PUBLIC
Undocumented
-
ganeti.asyncnotifier.SingleFileEventHandler.process_IN_MODIFY
ganeti.asyncnotifier.SingleFileEventHandler.html#process_IN_MODIFY
Function
Method
PUBLIC
Undocumented
-
ganeti.backend._ALLOWED_UPLOAD_FILES
ganeti.backend.html#_ALLOWED_UPLOAD_FILES
Attribute
Constant
PRIVATE
denotes which files are accepted in the
UploadFile function
-
ganeti.backend._ALLOWED_CLEAN_DIRS
ganeti.backend.html#_ALLOWED_CLEAN_DIRS
Attribute
Constant
PRIVATE
-
ganeti.http.HTTP_GANETI_VERSION
ganeti.http.html#HTTP_GANETI_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_OK
ganeti.http.html#HTTP_OK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_NO_CONTENT
ganeti.http.html#HTTP_NO_CONTENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_NOT_MODIFIED
ganeti.http.html#HTTP_NOT_MODIFIED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_0_9
ganeti.http.html#HTTP_0_9
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_1_0
ganeti.http.html#HTTP_1_0
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_1_1
ganeti.http.html#HTTP_1_1
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_GET
ganeti.http.html#HTTP_GET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_HEAD
ganeti.http.html#HTTP_HEAD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_POST
ganeti.http.html#HTTP_POST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_PUT
ganeti.http.html#HTTP_PUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_DELETE
ganeti.http.html#HTTP_DELETE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_ETAG
ganeti.http.html#HTTP_ETAG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_HOST
ganeti.http.html#HTTP_HOST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_SERVER
ganeti.http.html#HTTP_SERVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_DATE
ganeti.http.html#HTTP_DATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_USER_AGENT
ganeti.http.html#HTTP_USER_AGENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_CONTENT_TYPE
ganeti.http.html#HTTP_CONTENT_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_CONTENT_LENGTH
ganeti.http.html#HTTP_CONTENT_LENGTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_CONNECTION
ganeti.http.html#HTTP_CONNECTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_KEEP_ALIVE
ganeti.http.html#HTTP_KEEP_ALIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_WWW_AUTHENTICATE
ganeti.http.html#HTTP_WWW_AUTHENTICATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_AUTHORIZATION
ganeti.http.html#HTTP_AUTHORIZATION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_AUTHENTICATION_INFO
ganeti.http.html#HTTP_AUTHENTICATION_INFO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_ALLOW
ganeti.http.html#HTTP_ALLOW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_APP_OCTET_STREAM
ganeti.http.html#HTTP_APP_OCTET_STREAM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HTTP_APP_JSON
ganeti.http.html#HTTP_APP_JSON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http._SSL_UNEXPECTED_EOF
ganeti.http.html#_SSL_UNEXPECTED_EOF
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.http._SSL_SHUTDOWN_DURING_INIT
ganeti.http.html#_SSL_SHUTDOWN_DURING_INIT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.http.SOCKOP_SEND
ganeti.http.html#SOCKOP_SEND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.SOCKOP_RECV
ganeti.http.html#SOCKOP_RECV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.SOCKOP_SHUTDOWN
ganeti.http.html#SOCKOP_SHUTDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.SOCKOP_HANDSHAKE
ganeti.http.html#SOCKOP_HANDSHAKE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.SOCK_BUF_SIZE
ganeti.http.html#SOCK_BUF_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HttpError
ganeti.http.HttpError.html
Class
Exception
PUBLIC
Internal exception for HTTP errors.
-
ganeti.http.HttpConnectionClosed
ganeti.http.HttpConnectionClosed.html
Class
Exception
PUBLIC
Internal exception for a closed connection.
-
ganeti.http.HttpSessionHandshakeUnexpectedEOF
ganeti.http.HttpSessionHandshakeUnexpectedEOF.html
Class
Exception
PUBLIC
Internal exception for errors during SSL handshake.
-
ganeti.http.HttpSocketTimeout
ganeti.http.HttpSocketTimeout.html
Class
Exception
PUBLIC
Internal exception for socket timeouts.
-
ganeti.http.HttpException
ganeti.http.HttpException.html
Class
Exception
PUBLIC
Undocumented
-
ganeti.http.HttpException.code
ganeti.http.HttpException.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpException.message
ganeti.http.HttpException.html#message
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpException.__init__
ganeti.http.HttpException.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpBadRequest
ganeti.http.HttpBadRequest.html
Class
Exception
PUBLIC
400 Bad Request
-
ganeti.http.HttpBadRequest.code
ganeti.http.HttpBadRequest.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpUnauthorized
ganeti.http.HttpUnauthorized.html
Class
Exception
PUBLIC
401 Unauthorized
-
ganeti.http.HttpUnauthorized.code
ganeti.http.HttpUnauthorized.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpForbidden
ganeti.http.HttpForbidden.html
Class
Exception
PUBLIC
403 Forbidden
-
ganeti.http.HttpForbidden.code
ganeti.http.HttpForbidden.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpNotFound
ganeti.http.HttpNotFound.html
Class
Exception
PUBLIC
404 Not Found
-
ganeti.http.HttpNotFound.code
ganeti.http.HttpNotFound.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMethodNotAllowed
ganeti.http.HttpMethodNotAllowed.html
Class
Exception
PUBLIC
405 Method Not Allowed
-
ganeti.http.HttpMethodNotAllowed.code
ganeti.http.HttpMethodNotAllowed.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpNotAcceptable
ganeti.http.HttpNotAcceptable.html
Class
Exception
PUBLIC
406 Not Acceptable
-
ganeti.http.HttpNotAcceptable.code
ganeti.http.HttpNotAcceptable.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpRequestTimeout
ganeti.http.HttpRequestTimeout.html
Class
Exception
PUBLIC
408 Request Timeout
-
ganeti.http.HttpRequestTimeout.code
ganeti.http.HttpRequestTimeout.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpConflict
ganeti.http.HttpConflict.html
Class
Exception
PUBLIC
409 Conflict
-
ganeti.http.HttpConflict.code
ganeti.http.HttpConflict.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpGone
ganeti.http.HttpGone.html
Class
Exception
PUBLIC
410 Gone
-
ganeti.http.HttpGone.code
ganeti.http.HttpGone.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpLengthRequired
ganeti.http.HttpLengthRequired.html
Class
Exception
PUBLIC
411 Length Required
-
ganeti.http.HttpLengthRequired.code
ganeti.http.HttpLengthRequired.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpPreconditionFailed
ganeti.http.HttpPreconditionFailed.html
Class
Exception
PUBLIC
412 Precondition Failed
-
ganeti.http.HttpPreconditionFailed.code
ganeti.http.HttpPreconditionFailed.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpUnsupportedMediaType
ganeti.http.HttpUnsupportedMediaType.html
Class
Exception
PUBLIC
415 Unsupported Media Type
-
ganeti.http.HttpUnsupportedMediaType.code
ganeti.http.HttpUnsupportedMediaType.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpInternalServerError
ganeti.http.HttpInternalServerError.html
Class
Exception
PUBLIC
500 Internal Server Error
-
ganeti.http.HttpInternalServerError.code
ganeti.http.HttpInternalServerError.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpNotImplemented
ganeti.http.HttpNotImplemented.html
Class
Exception
PUBLIC
501 Not Implemented
-
ganeti.http.HttpNotImplemented.code
ganeti.http.HttpNotImplemented.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpBadGateway
ganeti.http.HttpBadGateway.html
Class
Exception
PUBLIC
502 Bad Gateway
-
ganeti.http.HttpBadGateway.code
ganeti.http.HttpBadGateway.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpServiceUnavailable
ganeti.http.HttpServiceUnavailable.html
Class
Exception
PUBLIC
503 Service Unavailable
-
ganeti.http.HttpServiceUnavailable.code
ganeti.http.HttpServiceUnavailable.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpGatewayTimeout
ganeti.http.HttpGatewayTimeout.html
Class
Exception
PUBLIC
504 Gateway Timeout
-
ganeti.http.HttpGatewayTimeout.code
ganeti.http.HttpGatewayTimeout.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.HttpVersionNotSupported
ganeti.http.HttpVersionNotSupported.html
Class
Exception
PUBLIC
505 HTTP Version Not Supported
-
ganeti.http.HttpVersionNotSupported.code
ganeti.http.HttpVersionNotSupported.html#code
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.http.SocketOperation
ganeti.http.html#SocketOperation
Function
Function
PUBLIC
Wrapper around socket functions.
-
ganeti.http.ShutdownConnection
ganeti.http.html#ShutdownConnection
Function
Function
PUBLIC
Closes the connection.
-
ganeti.http.Handshake
ganeti.http.html#Handshake
Function
Function
PUBLIC
Shakes peer's hands.
-
ganeti.http.HttpSslParams
ganeti.http.HttpSslParams.html
Class
Class
PUBLIC
Data class for SSL key and certificate.
-
ganeti.http.HttpSslParams.__init__
ganeti.http.HttpSslParams.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.http.HttpSslParams.ssl_key_pem
ganeti.http.HttpSslParams.html#ssl_key_pem
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.ssl_cert_pem
ganeti.http.HttpSslParams.html#ssl_cert_pem
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.ssl_cert_path
ganeti.http.HttpSslParams.html#ssl_cert_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.ssl_chain_path
ganeti.http.HttpSslParams.html#ssl_chain_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.GetCertificateDigest
ganeti.http.HttpSslParams.html#GetCertificateDigest
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.GetCertificateFilename
ganeti.http.HttpSslParams.html#GetCertificateFilename
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.GetChain
ganeti.http.HttpSslParams.html#GetChain
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.GetKey
ganeti.http.HttpSslParams.html#GetKey
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpSslParams.GetCertificate
ganeti.http.HttpSslParams.html#GetCertificate
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpBase
ganeti.http.HttpBase.html
Class
Class
PUBLIC
Base class for HTTP server and client.
-
ganeti.http.HttpBase.__init__
ganeti.http.HttpBase.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpBase.using_ssl
ganeti.http.HttpBase.html#using_ssl
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpBase._ssl_params
ganeti.http.HttpBase.html#_ssl_params
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.HttpBase._ssl_key
ganeti.http.HttpBase.html#_ssl_key
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.HttpBase._ssl_cert
ganeti.http.HttpBase.html#_ssl_cert
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.HttpBase._CreateSocket
ganeti.http.HttpBase.html#_CreateSocket
Function
Method
PRIVATE
Creates a TCP socket and initializes SSL if needed.
-
ganeti.http.HttpBase._ssl_chain
ganeti.http.HttpBase.html#_ssl_chain
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.HttpBase.GetSslCiphers
ganeti.http.HttpBase.html#GetSslCiphers
Function
Method
PUBLIC
Returns the ciphers string for SSL.
-
ganeti.http.HttpBase._SSLVerifyCallback
ganeti.http.HttpBase.html#_SSLVerifyCallback
Function
Method
PRIVATE
Verify the certificate provided by the peer
-
ganeti.http.HttpMessage
ganeti.http.HttpMessage.html
Class
Class
PUBLIC
Data structure for HTTP message.
-
ganeti.http.HttpMessage.__init__
ganeti.http.HttpMessage.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpMessage.start_line
ganeti.http.HttpMessage.html#start_line
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessage.body
ganeti.http.HttpMessage.html#body
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpClientToServerStartLine
ganeti.http.HttpClientToServerStartLine.html
Class
Class
PUBLIC
Data structure for HTTP request start line.
-
ganeti.http.HttpClientToServerStartLine.__init__
ganeti.http.HttpClientToServerStartLine.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpClientToServerStartLine.method
ganeti.http.HttpClientToServerStartLine.html#method
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpClientToServerStartLine.path
ganeti.http.HttpClientToServerStartLine.html#path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpClientToServerStartLine.version
ganeti.http.HttpClientToServerStartLine.html#version
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpClientToServerStartLine.__str__
ganeti.http.HttpClientToServerStartLine.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpServerToClientStartLine
ganeti.http.HttpServerToClientStartLine.html
Class
Class
PUBLIC
Data structure for HTTP response start line.
-
ganeti.http.HttpServerToClientStartLine.__init__
ganeti.http.HttpServerToClientStartLine.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpServerToClientStartLine.version
ganeti.http.HttpServerToClientStartLine.html#version
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpServerToClientStartLine.code
ganeti.http.HttpServerToClientStartLine.html#code
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpServerToClientStartLine.reason
ganeti.http.HttpServerToClientStartLine.html#reason
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpServerToClientStartLine.__str__
ganeti.http.HttpServerToClientStartLine.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.HttpMessageWriter
ganeti.http.HttpMessageWriter.html
Class
Class
PUBLIC
Writes an HTTP message to a socket.
-
ganeti.http.HttpMessageWriter.__init__
ganeti.http.HttpMessageWriter.html#__init__
Function
Method
PUBLIC
Initializes this class and writes an HTTP message to a socket.
-
ganeti.http.HttpMessageWriter._msg
ganeti.http.HttpMessageWriter.html#_msg
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.HttpMessageWriter._PrepareMessage
ganeti.http.HttpMessageWriter.html#_PrepareMessage
Function
Method
PRIVATE
Prepares the HTTP message by setting mandatory headers.
-
ganeti.http.HttpMessageWriter._FormatMessage
ganeti.http.HttpMessageWriter.html#_FormatMessage
Function
Method
PRIVATE
Serializes the HTTP message into a string.
-
ganeti.http.HttpMessageWriter.HasMessageBody
ganeti.http.HttpMessageWriter.html#HasMessageBody
Function
Method
PUBLIC
Checks whether the HTTP message contains a body.
-
ganeti.http.HttpMessageReader
ganeti.http.HttpMessageReader.html
Class
Class
PUBLIC
Reads HTTP message from socket.
-
ganeti.http.HttpMessageReader.START_LINE_LENGTH_MAX
ganeti.http.HttpMessageReader.html#START_LINE_LENGTH_MAX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.PS_START_LINE
ganeti.http.HttpMessageReader.html#PS_START_LINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.PS_BODY
ganeti.http.HttpMessageReader.html#PS_BODY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.PS_COMPLETE
ganeti.http.HttpMessageReader.html#PS_COMPLETE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.__init__
ganeti.http.HttpMessageReader.html#__init__
Function
Method
PUBLIC
Reads an HTTP message from a socket.
-
ganeti.http.HttpMessageReader.sock
ganeti.http.HttpMessageReader.html#sock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.msg
ganeti.http.HttpMessageReader.html#msg
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.start_line_buffer
ganeti.http.HttpMessageReader.html#start_line_buffer
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.body_buffer
ganeti.http.HttpMessageReader.html#body_buffer
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.parser_status
ganeti.http.HttpMessageReader.html#parser_status
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.content_length
ganeti.http.HttpMessageReader.html#content_length
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader.peer_will_close
ganeti.http.HttpMessageReader.html#peer_will_close
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.HttpMessageReader._ContinueParsing
ganeti.http.HttpMessageReader.html#_ContinueParsing
Function
Method
PRIVATE
Main function for HTTP message state machine.
-
ganeti.http.HttpMessageReader._CheckStartLineLength
ganeti.http.HttpMessageReader.html#_CheckStartLineLength
Function
Method
PRIVATE
Limits the start line buffer size.
-
ganeti.http.HttpMessageReader.ParseStartLine
ganeti.http.HttpMessageReader.html#ParseStartLine
Function
Method
PUBLIC
Parses the start line of a message.
-
ganeti.http.HttpMessageReader._WillPeerCloseConnection
ganeti.http.HttpMessageReader.html#_WillPeerCloseConnection
Function
Method
PRIVATE
Evaluate whether peer will close the connection.
-
ganeti.ssh.GetUserFiles
ganeti.ssh.html#GetUserFiles
Function
Function
PUBLIC
Return the paths of a user's SSH files.
-
ganeti.ssh.GetAllUserFiles
ganeti.ssh.html#GetAllUserFiles
Function
Function
PUBLIC
Wrapper over
GetUserFiles to retrieve files for all SSH key types.
-
ganeti.ssh._SplitSshKey
ganeti.ssh.html#_SplitSshKey
Function
Function
PRIVATE
Splits a line for SSH's authorized_keys file.
-
ganeti.ssh.AddAuthorizedKeys
ganeti.ssh.html#AddAuthorizedKeys
Function
Function
PUBLIC
Adds a list of SSH public key to an authorized_keys file.
-
ganeti.ssh.HasAuthorizedKey
ganeti.ssh.html#HasAuthorizedKey
Function
Function
PUBLIC
Check if a particular key is in the 'authorized_keys' file.
-
ganeti.ssh.CheckForMultipleKeys
ganeti.ssh.html#CheckForMultipleKeys
Function
Function
PUBLIC
Check if there is at most one key per host in 'authorized_keys' file.
-
ganeti.ssh.AddAuthorizedKey
ganeti.ssh.html#AddAuthorizedKey
Function
Function
PUBLIC
Adds an SSH public key to an authorized_keys file.
-
ganeti.ssh.RemoveAuthorizedKeys
ganeti.ssh.html#RemoveAuthorizedKeys
Function
Function
PUBLIC
Removes public SSH keys from an authorized_keys file.
-
ganeti.ssh.RemoveAuthorizedKey
ganeti.ssh.html#RemoveAuthorizedKey
Function
Function
PUBLIC
Removes an SSH public key from an authorized_keys file.
-
ganeti.ssh._AddPublicKeyProcessLine
ganeti.ssh.html#_AddPublicKeyProcessLine
Function
Function
PRIVATE
Processes one line of the public key file when adding a key.
-
ganeti.ssh._AddPublicKeyElse
ganeti.ssh.html#_AddPublicKeyElse
Function
Function
PRIVATE
Adds a new SSH key to the key file if it did not exist already.
-
ganeti.ssh._RemovePublicKeyProcessLine
ganeti.ssh.html#_RemovePublicKeyProcessLine
Function
Function
PRIVATE
Processes a line in the public key file when aiming for removing a key.
-
ganeti.ssh._RemovePublicKeyElse
ganeti.ssh.html#_RemovePublicKeyElse
Function
Function
PRIVATE
Logs when we tried to remove a key that does not exist.
-
ganeti.ssh._ReplaceNameByUuidProcessLine
ganeti.ssh.html#_ReplaceNameByUuidProcessLine
Function
Function
PRIVATE
Replaces a node's name with its UUID on a matching line in the key file.
-
ganeti.ssh._ReplaceNameByUuidElse
ganeti.ssh.html#_ReplaceNameByUuidElse
Function
Function
PRIVATE
Logs a debug message when we try to replace a key that is not there.
-
ganeti.ssh._ParseKeyLine
ganeti.ssh.html#_ParseKeyLine
Function
Function
PRIVATE
Parses a line of the public key file.
-
ganeti.ssh._ManipulatePubKeyFile
ganeti.ssh.html#_ManipulatePubKeyFile
Function
Function
PRIVATE
Manipulates the list of public SSH keys of the cluster.
-
ganeti.ssh.AddPublicKey
ganeti.ssh.html#AddPublicKey
Function
Function
PUBLIC
Adds a new key to the list of public keys.
-
ganeti.ssh.RemovePublicKey
ganeti.ssh.html#RemovePublicKey
Function
Function
PUBLIC
Removes a key from the list of public keys.
-
ganeti.ssh.ReplaceNameByUuid
ganeti.ssh.html#ReplaceNameByUuid
Function
Function
PUBLIC
Replaces a host name with the node's corresponding UUID.
-
ganeti.ssh.ClearPubKeyFile
ganeti.ssh.html#ClearPubKeyFile
Function
Function
PUBLIC
Resets the content of the public key file.
-
ganeti.ssh.OverridePubKeyFile
ganeti.ssh.html#OverridePubKeyFile
Function
Function
PUBLIC
Overrides the public key file with a list of given keys.
-
ganeti.ssh.QueryPubKeyFile
ganeti.ssh.html#QueryPubKeyFile
Function
Function
PUBLIC
Retrieves a map of keys for the requested node UUIDs.
-
ganeti.ssh.InitSSHSetup
ganeti.ssh.html#InitSSHSetup
Function
Function
PUBLIC
Setup the SSH configuration for the node.
-
ganeti.ssh.InitPubKeyFile
ganeti.ssh.html#InitPubKeyFile
Function
Function
PUBLIC
Creates the public key file and adds the master node's SSH key.
-
ganeti.ssh.SshRunner
ganeti.ssh.SshRunner.html
Class
Class
PUBLIC
Wrapper for SSH commands.
-
ganeti.ssh.SshRunner.__init__
ganeti.ssh.SshRunner.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.ssh.SshRunner.cluster_name
ganeti.ssh.SshRunner.html#cluster_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.ssh.SshRunner.ipv6
ganeti.ssh.SshRunner.html#ipv6
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.ssh.SshRunner._BuildSshOptions
ganeti.ssh.SshRunner.html#_BuildSshOptions
Function
Method
PRIVATE
Builds a list with needed SSH options.
-
ganeti.ssh.SshRunner.BuildCmd
ganeti.ssh.SshRunner.html#BuildCmd
Function
Method
PUBLIC
Build an ssh command to execute a command on a remote node.
-
ganeti.ssh.SshRunner.Run
ganeti.ssh.SshRunner.html#Run
Function
Method
PUBLIC
Runs a command on a remote node.
-
ganeti.ssh.SshRunner.CopyFileToNode
ganeti.ssh.SshRunner.html#CopyFileToNode
Function
Method
PUBLIC
Copy a file to another node with scp.
-
ganeti.ssh.SshRunner.VerifyNodeHostname
ganeti.ssh.SshRunner.html#VerifyNodeHostname
Function
Method
PUBLIC
Verify hostname consistency via SSH.
-
ganeti.ssh.WriteKnownHostsFile
ganeti.ssh.html#WriteKnownHostsFile
Function
Function
PUBLIC
Writes the cluster-wide equally known_hosts file.
-
ganeti.ssh._EnsureCorrectGanetiVersion
ganeti.ssh.html#_EnsureCorrectGanetiVersion
Function
Function
PRIVATE
Ensured the correct Ganeti version before running a command via SSH.
-
ganeti.ssh.RunSshCmdWithStdin
ganeti.ssh.html#RunSshCmdWithStdin
Function
Function
PUBLIC
Runs a command on a remote machine via SSH and provides input in stdin.
-
ganeti.ssh.ReadRemoteSshPubKeys
ganeti.ssh.html#ReadRemoteSshPubKeys
Function
Function
PUBLIC
Fetches a public SSH key from a node via SSH.
-
ganeti.ssh.KeyBitInfo
ganeti.ssh.html#KeyBitInfo
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ssh.SSH_KEY_VALID_BITS
ganeti.ssh.html#SSH_KEY_VALID_BITS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ssh.DetermineKeyBits
ganeti.ssh.html#DetermineKeyBits
Function
Function
PUBLIC
Checks the key bits to be used for a given key type, or provides defaults.
-
ganeti.hypervisor.hv_base._FILE_CHECK
ganeti.hypervisor.hv_base.html#_FILE_CHECK
Attribute
Constant
PRIVATE
stub for file checks, without the required flag
-
ganeti.hypervisor.hv_base._DIR_CHECK
ganeti.hypervisor.hv_base.html#_DIR_CHECK
Attribute
Constant
PRIVATE
stub for directory checks, without the required flag
-
ganeti.hypervisor.hv_base.REQ_FILE_CHECK
ganeti.hypervisor.hv_base.html#REQ_FILE_CHECK
Attribute
Constant
PUBLIC
mandatory file parameter
-
ganeti.hypervisor.hv_base.OPT_FILE_CHECK
ganeti.hypervisor.hv_base.html#OPT_FILE_CHECK
Attribute
Constant
PUBLIC
optional file parameter
-
ganeti.hypervisor.hv_base.REQ_DIR_CHECK
ganeti.hypervisor.hv_base.html#REQ_DIR_CHECK
Attribute
Constant
PUBLIC
mandatory directory parametr
-
ganeti.hypervisor.hv_base.OPT_DIR_CHECK
ganeti.hypervisor.hv_base.html#OPT_DIR_CHECK
Attribute
Constant
PUBLIC
optional directory parameter
-
ganeti.hypervisor.hv_base.NO_CHECK
ganeti.hypervisor.hv_base.html#NO_CHECK
Attribute
Constant
PUBLIC
parameter without any checks at all
-
ganeti.hypervisor.hv_base.REQUIRED_CHECK
ganeti.hypervisor.hv_base.html#REQUIRED_CHECK
Attribute
Constant
PUBLIC
parameter required to exist (and non-false), but without other checks; beware that this can't be used for boolean parameters, where you should use NO_CHECK or a custom checker
-
ganeti.hypervisor.hv_base._IsCpuMaskWellFormed
ganeti.hypervisor.hv_base.html#_IsCpuMaskWellFormed
Function
Function
PRIVATE
Verifies if the given single CPU mask is valid
-
ganeti.hypervisor.hv_base._IsMultiCpuMaskWellFormed
ganeti.hypervisor.hv_base.html#_IsMultiCpuMaskWellFormed
Function
Function
PRIVATE
Verifies if the given multiple CPU mask is valid
-
ganeti.hypervisor.hv_base._FILE_OR_URL_CHECK
ganeti.hypervisor.hv_base.html#_FILE_OR_URL_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_base._CPU_MASK_CHECK
ganeti.hypervisor.hv_base.html#_CPU_MASK_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_base._MULTI_CPU_MASK_CHECK
ganeti.hypervisor.hv_base.html#_MULTI_CPU_MASK_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_base._NET_PORT_CHECK
ganeti.hypervisor.hv_base.html#_NET_PORT_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_base._VIRTIO_NET_QUEUES_CHECK
ganeti.hypervisor.hv_base.html#_VIRTIO_NET_QUEUES_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_base._NONNEGATIVE_INT_CHECK
ganeti.hypervisor.hv_base.html#_NONNEGATIVE_INT_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_base.REQ_FILE_OR_URL_CHECK
ganeti.hypervisor.hv_base.html#REQ_FILE_OR_URL_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.OPT_FILE_OR_URL_CHECK
ganeti.hypervisor.hv_base.html#OPT_FILE_OR_URL_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.REQ_NET_PORT_CHECK
ganeti.hypervisor.hv_base.html#REQ_NET_PORT_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.OPT_NET_PORT_CHECK
ganeti.hypervisor.hv_base.html#OPT_NET_PORT_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.REQ_VIRTIO_NET_QUEUES_CHECK
ganeti.hypervisor.hv_base.html#REQ_VIRTIO_NET_QUEUES_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.OPT_VIRTIO_NET_QUEUES_CHECK
ganeti.hypervisor.hv_base.html#OPT_VIRTIO_NET_QUEUES_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.REQ_CPU_MASK_CHECK
ganeti.hypervisor.hv_base.html#REQ_CPU_MASK_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.OPT_CPU_MASK_CHECK
ganeti.hypervisor.hv_base.html#OPT_CPU_MASK_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.REQ_MULTI_CPU_MASK_CHECK
ganeti.hypervisor.hv_base.html#REQ_MULTI_CPU_MASK_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.OPT_MULTI_CPU_MASK_CHECK
ganeti.hypervisor.hv_base.html#OPT_MULTI_CPU_MASK_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.REQ_NONNEGATIVE_INT_CHECK
ganeti.hypervisor.hv_base.html#REQ_NONNEGATIVE_INT_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.OPT_NONNEGATIVE_INT_CHECK
ganeti.hypervisor.hv_base.html#OPT_NONNEGATIVE_INT_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.MIGRATION_MODE_CHECK
ganeti.hypervisor.hv_base.html#MIGRATION_MODE_CHECK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.ParamInSet
ganeti.hypervisor.hv_base.html#ParamInSet
Function
Function
PUBLIC
Builds parameter checker for set membership.
-
ganeti.hypervisor.hv_base.GenerateTapName
ganeti.hypervisor.hv_base.html#GenerateTapName
Function
Function
PUBLIC
Generate a TAP network interface name for a NIC.
-
ganeti.hypervisor.hv_base.ConfigureNIC
ganeti.hypervisor.hv_base.html#ConfigureNIC
Function
Function
PUBLIC
Run the network configuration script for a specified NIC
-
ganeti.hypervisor.hv_base.HvInstanceState
ganeti.hypervisor.hv_base.HvInstanceState.html
Class
Class
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.HvInstanceState.RUNNING
ganeti.hypervisor.hv_base.HvInstanceState.html#RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.HvInstanceState.SHUTDOWN
ganeti.hypervisor.hv_base.HvInstanceState.html#SHUTDOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.HvInstanceState.IsRunning
ganeti.hypervisor.hv_base.HvInstanceState.html#IsRunning
Function
Static Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.HvInstanceState.IsShutdown
ganeti.hypervisor.hv_base.HvInstanceState.html#IsShutdown
Function
Static Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.BaseHypervisor
ganeti.hypervisor.hv_base.BaseHypervisor.html
Class
Class
PUBLIC
Abstract virtualisation technology interface
-
ganeti.hypervisor.hv_base.BaseHypervisor.PARAMETERS
ganeti.hypervisor.hv_base.BaseHypervisor.html#PARAMETERS
Attribute
Constant
PUBLIC
a dict of parameter name: check type; the check type is a five-tuple containing:
-
ganeti.hypervisor.hv_base.BaseHypervisor.CAN_MIGRATE
ganeti.hypervisor.hv_base.BaseHypervisor.html#CAN_MIGRATE
Attribute
Constant
PUBLIC
whether this hypervisor can do migration (either live or non-live)
-
ganeti.hypervisor.hv_base.BaseHypervisor.ANCILLARY_FILES
ganeti.hypervisor.hv_base.BaseHypervisor.html#ANCILLARY_FILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.BaseHypervisor.ANCILLARY_FILES_OPT
ganeti.hypervisor.hv_base.BaseHypervisor.html#ANCILLARY_FILES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_base.BaseHypervisor.StartInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#StartInstance
Function
Method
PUBLIC
Start an instance.
-
ganeti.hypervisor.hv_base.BaseHypervisor.VerifyInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#VerifyInstance
Function
Method
PUBLIC
Verify if running instance (config) is in correct state.
-
ganeti.hypervisor.hv_base.BaseHypervisor.RestoreInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#RestoreInstance
Function
Method
PUBLIC
Fixup running instance's (config) state.
-
ganeti.hypervisor.hv_base.BaseHypervisor.StopInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#StopInstance
Function
Method
PUBLIC
Stop an instance
-
ganeti.hypervisor.hv_base.BaseHypervisor.CleanupInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#CleanupInstance
Function
Method
PUBLIC
Cleanup after a stopped instance
-
ganeti.hypervisor.hv_base.BaseHypervisor.RebootInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#RebootInstance
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.hypervisor.hv_base.BaseHypervisor.ListInstances
ganeti.hypervisor.hv_base.BaseHypervisor.html#ListInstances
Function
Method
PUBLIC
Get the list of running instances.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetInstanceInfo
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetInstanceInfo
Function
Method
PUBLIC
Get instance properties.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetAllInstancesInfo
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get properties of all instances.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetNodeInfo
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetNodeInfo
Function
Method
PUBLIC
Return information about the node.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetInstanceConsole
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetInstanceConsole
Function
Class Method
PUBLIC
Return information for connecting to the console of an instance.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetAncillaryFiles
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetAncillaryFiles
Function
Class Method
PUBLIC
Return a list of ancillary files to be copied to all nodes as ancillary configuration files.
-
ganeti.hypervisor.hv_base.BaseHypervisor.Verify
ganeti.hypervisor.hv_base.BaseHypervisor.html#Verify
Function
Method
PUBLIC
Verify the hypervisor.
-
ganeti.hypervisor.hv_base.BaseHypervisor.VersionsSafeForMigration
ganeti.hypervisor.hv_base.BaseHypervisor.html#VersionsSafeForMigration
Function
Static Method
PUBLIC
Decide if migration between those version is likely to suceed.
-
ganeti.hypervisor.hv_base.BaseHypervisor.MigrationInfo
ganeti.hypervisor.hv_base.BaseHypervisor.html#MigrationInfo
Function
Method
PUBLIC
Get instance information to perform a migration.
-
ganeti.hypervisor.hv_base.BaseHypervisor.AcceptInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#AcceptInstance
Function
Method
PUBLIC
Prepare to accept an instance.
-
ganeti.hypervisor.hv_base.BaseHypervisor.BalloonInstanceMemory
ganeti.hypervisor.hv_base.BaseHypervisor.html#BalloonInstanceMemory
Function
Method
PUBLIC
Balloon an instance memory to a certain value.
-
ganeti.hypervisor.hv_base.BaseHypervisor.FinalizeMigrationDst
ganeti.hypervisor.hv_base.BaseHypervisor.html#FinalizeMigrationDst
Function
Method
PUBLIC
Finalize the instance migration on the target node.
-
ganeti.hypervisor.hv_base.BaseHypervisor.MigrateInstance
ganeti.hypervisor.hv_base.BaseHypervisor.html#MigrateInstance
Function
Method
PUBLIC
Migrate an instance.
-
ganeti.hypervisor.hv_base.BaseHypervisor.FinalizeMigrationSource
ganeti.hypervisor.hv_base.BaseHypervisor.html#FinalizeMigrationSource
Function
Method
PUBLIC
Finalize the instance migration on the source node.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetMigrationStatus
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetMigrationStatus
Function
Method
PUBLIC
Get the migration status
-
ganeti.hypervisor.hv_base.BaseHypervisor._InstanceStartupMemory
ganeti.hypervisor.hv_base.BaseHypervisor.html#_InstanceStartupMemory
Function
Method
PRIVATE
Get the correct startup memory for an instance
-
ganeti.hypervisor.hv_base.BaseHypervisor._IsParamValueUnspecified
ganeti.hypervisor.hv_base.BaseHypervisor.html#_IsParamValueUnspecified
Function
Class Method
PRIVATE
Check if the parameter value is a kind of value meaning unspecified.
-
ganeti.hypervisor.hv_base.BaseHypervisor.CheckParameterSyntax
ganeti.hypervisor.hv_base.BaseHypervisor.html#CheckParameterSyntax
Function
Class Method
PUBLIC
Check the given parameters for validity.
-
ganeti.hypervisor.hv_base.BaseHypervisor.ValidateParameters
ganeti.hypervisor.hv_base.BaseHypervisor.html#ValidateParameters
Function
Class Method
PUBLIC
Check the given parameters for validity.
-
ganeti.hypervisor.hv_base.BaseHypervisor.PowercycleNode
ganeti.hypervisor.hv_base.BaseHypervisor.html#PowercycleNode
Function
Class Method
PUBLIC
Hard powercycle a node using hypervisor specific methods.
-
ganeti.hypervisor.hv_base.BaseHypervisor.GetLinuxNodeInfo
ganeti.hypervisor.hv_base.BaseHypervisor.html#GetLinuxNodeInfo
Function
Static Method
PUBLIC
For linux systems, return actual OS information.
-
ganeti.hypervisor.hv_base.BaseHypervisor.LinuxPowercycle
ganeti.hypervisor.hv_base.BaseHypervisor.html#LinuxPowercycle
Function
Class Method
PUBLIC
Linux-specific powercycle method.
-
ganeti.hypervisor.hv_base.BaseHypervisor._FormatVerifyResults
ganeti.hypervisor.hv_base.BaseHypervisor.html#_FormatVerifyResults
Function
Static Method
PRIVATE
Formats the verification results, given a list of errors.
-
ganeti.hypervisor.hv_base.BaseHypervisor.HotAddDevice
ganeti.hypervisor.hv_base.BaseHypervisor.html#HotAddDevice
Function
Method
PUBLIC
Hot-add a device.
-
ganeti.hypervisor.hv_base.BaseHypervisor.HotDelDevice
ganeti.hypervisor.hv_base.BaseHypervisor.html#HotDelDevice
Function
Method
PUBLIC
Hot-del a device.
-
ganeti.hypervisor.hv_base.BaseHypervisor.HotModDevice
ganeti.hypervisor.hv_base.BaseHypervisor.html#HotModDevice
Function
Method
PUBLIC
Hot-mod a device.
-
ganeti.hypervisor.hv_base.BaseHypervisor.VerifyHotplugSupport
ganeti.hypervisor.hv_base.BaseHypervisor.html#VerifyHotplugSupport
Function
Method
PUBLIC
Verifies that hotplug is supported.
-
ganeti.hypervisor.hv_base.BaseHypervisor.HotplugSupported
ganeti.hypervisor.hv_base.BaseHypervisor.html#HotplugSupported
Function
Method
PUBLIC
Checks if hotplug is supported.
-
ganeti.hypervisor.hv_fake.FakeHypervisor
ganeti.hypervisor.hv_fake.FakeHypervisor.html
Class
Class
PUBLIC
Fake hypervisor interface.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.PARAMETERS
ganeti.hypervisor.hv_fake.FakeHypervisor.html#PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_fake.FakeHypervisor.CAN_MIGRATE
ganeti.hypervisor.hv_fake.FakeHypervisor.html#CAN_MIGRATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_fake.FakeHypervisor._ROOT_DIR
ganeti.hypervisor.hv_fake.FakeHypervisor.html#_ROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_fake.FakeHypervisor.__init__
ganeti.hypervisor.hv_fake.FakeHypervisor.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_fake.FakeHypervisor.ListInstances
ganeti.hypervisor.hv_fake.FakeHypervisor.html#ListInstances
Function
Method
PUBLIC
Get the list of running instances.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.GetInstanceInfo
ganeti.hypervisor.hv_fake.FakeHypervisor.html#GetInstanceInfo
Function
Method
PUBLIC
Get instance properties.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.GetAllInstancesInfo
ganeti.hypervisor.hv_fake.FakeHypervisor.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get properties of all instances.
-
ganeti.hypervisor.hv_fake.FakeHypervisor._InstanceFile
ganeti.hypervisor.hv_fake.FakeHypervisor.html#_InstanceFile
Function
Class Method
PRIVATE
Compute the instance file for an instance name.
-
ganeti.hypervisor.hv_fake.FakeHypervisor._IsAlive
ganeti.hypervisor.hv_fake.FakeHypervisor.html#_IsAlive
Function
Method
PRIVATE
Checks if an instance is alive.
-
ganeti.hypervisor.hv_fake.FakeHypervisor._MarkUp
ganeti.hypervisor.hv_fake.FakeHypervisor.html#_MarkUp
Function
Method
PRIVATE
Mark the instance as running.
-
ganeti.hypervisor.hv_fake.FakeHypervisor._MarkDown
ganeti.hypervisor.hv_fake.FakeHypervisor.html#_MarkDown
Function
Method
PRIVATE
Mark the instance as running.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.StartInstance
ganeti.hypervisor.hv_fake.FakeHypervisor.html#StartInstance
Function
Method
PUBLIC
Start an instance.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.StopInstance
ganeti.hypervisor.hv_fake.FakeHypervisor.html#StopInstance
Function
Method
PUBLIC
Stop an instance.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.RebootInstance
ganeti.hypervisor.hv_fake.FakeHypervisor.html#RebootInstance
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.BalloonInstanceMemory
ganeti.hypervisor.hv_fake.FakeHypervisor.html#BalloonInstanceMemory
Function
Method
PUBLIC
Balloon an instance memory to a certain value.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.GetNodeInfo
ganeti.hypervisor.hv_fake.FakeHypervisor.html#GetNodeInfo
Function
Method
PUBLIC
Return information about the node.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.GetInstanceConsole
ganeti.hypervisor.hv_fake.FakeHypervisor.html#GetInstanceConsole
Function
Class Method
PUBLIC
Return information for connecting to the console of an instance.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.Verify
ganeti.hypervisor.hv_fake.FakeHypervisor.html#Verify
Function
Method
PUBLIC
Verify the hypervisor.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.PowercycleNode
ganeti.hypervisor.hv_fake.FakeHypervisor.html#PowercycleNode
Function
Class Method
PUBLIC
Fake hypervisor powercycle, just a wrapper over Linux powercycle.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.AcceptInstance
ganeti.hypervisor.hv_fake.FakeHypervisor.html#AcceptInstance
Function
Method
PUBLIC
Prepare to accept an instance.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.MigrateInstance
ganeti.hypervisor.hv_fake.FakeHypervisor.html#MigrateInstance
Function
Method
PUBLIC
Migrate an instance.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.FinalizeMigrationDst
ganeti.hypervisor.hv_fake.FakeHypervisor.html#FinalizeMigrationDst
Function
Method
PUBLIC
Finalize the instance migration on the target node.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.FinalizeMigrationSource
ganeti.hypervisor.hv_fake.FakeHypervisor.html#FinalizeMigrationSource
Function
Method
PUBLIC
Finalize the instance migration on the source node.
-
ganeti.hypervisor.hv_fake.FakeHypervisor.GetMigrationStatus
ganeti.hypervisor.hv_fake.FakeHypervisor.html#GetMigrationStatus
Function
Method
PUBLIC
Get the migration status
-
ganeti.hypervisor.hv_xen.XL_CONFIG_FILE
ganeti.hypervisor.hv_xen.html#XL_CONFIG_FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.VIF_BRIDGE_SCRIPT
ganeti.hypervisor.hv_xen.html#VIF_BRIDGE_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen._DOM0_NAME
ganeti.hypervisor.hv_xen.html#_DOM0_NAME
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XEN_COMMAND
ganeti.hypervisor.hv_xen.html#XEN_COMMAND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen._FILE_DRIVER_MAP
ganeti.hypervisor.hv_xen.html#_FILE_DRIVER_MAP
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen._CreateConfigCpus
ganeti.hypervisor.hv_xen.html#_CreateConfigCpus
Function
Function
PRIVATE
Create a CPU config string for Xen's config file.
-
ganeti.hypervisor.hv_xen._RunInstanceList
ganeti.hypervisor.hv_xen.html#_RunInstanceList
Function
Function
PRIVATE
-
ganeti.hypervisor.hv_xen._InstanceCrashed
ganeti.hypervisor.hv_xen._InstanceCrashed.html
Class
Exception
PRIVATE
Instance has reached a violent ending.
-
ganeti.hypervisor.hv_xen._ParseInstanceList
ganeti.hypervisor.hv_xen.html#_ParseInstanceList
Function
Function
PRIVATE
Parses the output of listing instances by xen.
-
ganeti.hypervisor.hv_xen._InstanceDomID
ganeti.hypervisor.hv_xen.html#_InstanceDomID
Function
Function
PRIVATE
Get instance domain ID from instance info tuple.
-
ganeti.hypervisor.hv_xen._InstanceRunning
ganeti.hypervisor.hv_xen.html#_InstanceRunning
Function
Function
PRIVATE
Get instance runtime from instance info tuple.
-
ganeti.hypervisor.hv_xen._InstanceRuntime
ganeti.hypervisor.hv_xen.html#_InstanceRuntime
Function
Function
PRIVATE
Get instance runtime from instance info tuple.
-
ganeti.hypervisor.hv_xen._GetAllInstanceList
ganeti.hypervisor.hv_xen.html#_GetAllInstanceList
Function
Function
PRIVATE
Return the list of instances including running and shutdown.
-
ganeti.hypervisor.hv_xen._IsInstanceRunning
ganeti.hypervisor.hv_xen.html#_IsInstanceRunning
Function
Function
PRIVATE
Determine whether an instance is running.
-
ganeti.hypervisor.hv_xen._IsInstanceShutdown
ganeti.hypervisor.hv_xen.html#_IsInstanceShutdown
Function
Function
PRIVATE
Determine whether the instance is shutdown.
-
ganeti.hypervisor.hv_xen._IgnorePaused
ganeti.hypervisor.hv_xen.html#_IgnorePaused
Function
Function
PRIVATE
Removes information about whether a Xen state is paused from the state.
-
ganeti.hypervisor.hv_xen._IsCrashed
ganeti.hypervisor.hv_xen.html#_IsCrashed
Function
Function
PRIVATE
Returns whether an instance is in the crashed Xen state.
-
ganeti.hypervisor.hv_xen._XenToHypervisorInstanceState
ganeti.hypervisor.hv_xen.html#_XenToHypervisorInstanceState
Function
Function
PRIVATE
Maps Xen states to hypervisor states.
-
ganeti.hypervisor.hv_xen._GetRunningInstanceList
ganeti.hypervisor.hv_xen.html#_GetRunningInstanceList
Function
Function
PRIVATE
Return the list of running instances.
-
ganeti.hypervisor.hv_xen._GetShutdownInstanceList
ganeti.hypervisor.hv_xen.html#_GetShutdownInstanceList
Function
Function
PRIVATE
Return the list of shutdown instances.
-
ganeti.hypervisor.hv_xen._ParseNodeInfo
ganeti.hypervisor.hv_xen.html#_ParseNodeInfo
Function
Function
PRIVATE
Return information about the node.
-
ganeti.hypervisor.hv_xen._MergeInstanceInfo
ganeti.hypervisor.hv_xen.html#_MergeInstanceInfo
Function
Function
PRIVATE
-
ganeti.hypervisor.hv_xen._GetNodeInfo
ganeti.hypervisor.hv_xen.html#_GetNodeInfo
Function
Function
PRIVATE
-
ganeti.hypervisor.hv_xen._GetConfigFileDiskData
ganeti.hypervisor.hv_xen.html#_GetConfigFileDiskData
Function
Function
PRIVATE
Get disk directives for Xen config file.
-
ganeti.hypervisor.hv_xen._QuoteCpuidField
ganeti.hypervisor.hv_xen.html#_QuoteCpuidField
Function
Function
PRIVATE
Add quotes around the CPUID field only if necessary.
-
ganeti.hypervisor.hv_xen._ConfigureNIC
ganeti.hypervisor.hv_xen.html#_ConfigureNIC
Function
Function
PRIVATE
Run the network configuration script for a specified NIC
-
ganeti.hypervisor.hv_xen.XenHypervisor
ganeti.hypervisor.hv_xen.XenHypervisor.html
Class
Class
PUBLIC
Xen generic hypervisor interface
-
ganeti.hypervisor.hv_xen.XenHypervisor.CAN_MIGRATE
ganeti.hypervisor.hv_xen.XenHypervisor.html#CAN_MIGRATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor.REBOOT_RETRY_COUNT
ganeti.hypervisor.hv_xen.XenHypervisor.html#REBOOT_RETRY_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor.REBOOT_RETRY_INTERVAL
ganeti.hypervisor.hv_xen.XenHypervisor.html#REBOOT_RETRY_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._ROOT_DIR
ganeti.hypervisor.hv_xen.XenHypervisor.html#_ROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._NICS_DIR
ganeti.hypervisor.hv_xen.XenHypervisor.html#_NICS_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._MIGRATION_DIR
ganeti.hypervisor.hv_xen.XenHypervisor.html#_MIGRATION_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._DIRS
ganeti.hypervisor.hv_xen.XenHypervisor.html#_DIRS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._INSTANCE_LIST_DELAYS
ganeti.hypervisor.hv_xen.XenHypervisor.html#_INSTANCE_LIST_DELAYS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._INSTANCE_LIST_TIMEOUT
ganeti.hypervisor.hv_xen.XenHypervisor.html#_INSTANCE_LIST_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor.ANCILLARY_FILES
ganeti.hypervisor.hv_xen.XenHypervisor.html#ANCILLARY_FILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor.ANCILLARY_FILES_OPT
ganeti.hypervisor.hv_xen.XenHypervisor.html#ANCILLARY_FILES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor.__init__
ganeti.hypervisor.hv_xen.XenHypervisor.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._cfgdir
ganeti.hypervisor.hv_xen.XenHypervisor.html#_cfgdir
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._run_cmd_fn
ganeti.hypervisor.hv_xen.XenHypervisor.html#_run_cmd_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._cmd
ganeti.hypervisor.hv_xen.XenHypervisor.html#_cmd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._RunXen
ganeti.hypervisor.hv_xen.XenHypervisor.html#_RunXen
Function
Method
PRIVATE
-
ganeti.hypervisor.hv_xen.XenHypervisor._ConfigFileName
ganeti.hypervisor.hv_xen.XenHypervisor.html#_ConfigFileName
Function
Method
PRIVATE
Get the config file name for an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor._EnsureDirs
ganeti.hypervisor.hv_xen.XenHypervisor.html#_EnsureDirs
Function
Class Method
PRIVATE
Makes sure that the directories needed by the hypervisor exist.
-
ganeti.hypervisor.hv_xen.XenHypervisor._WriteNICInfoFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_WriteNICInfoFile
Function
Class Method
PRIVATE
Write the Xen config file for the instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor.VersionsSafeForMigration
ganeti.hypervisor.hv_xen.XenHypervisor.html#VersionsSafeForMigration
Function
Static Method
PUBLIC
Decide if migration is likely to suceed for hypervisor versions.
-
ganeti.hypervisor.hv_xen.XenHypervisor._InstanceNICDir
ganeti.hypervisor.hv_xen.XenHypervisor.html#_InstanceNICDir
Function
Class Method
PRIVATE
Returns the directory holding the tap device files for a given instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor._InstanceNICFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_InstanceNICFile
Function
Class Method
PRIVATE
Returns the name of the file containing the tap device for a given NIC
-
ganeti.hypervisor.hv_xen.XenHypervisor._InstanceMigrationPidfile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_InstanceMigrationPidfile
Function
Class Method
PRIVATE
Returns the name of the pid file for a socat process used to migrate.
-
ganeti.hypervisor.hv_xen.XenHypervisor._GetConfig
ganeti.hypervisor.hv_xen.XenHypervisor.html#_GetConfig
Function
Class Method
PRIVATE
Build Xen configuration for an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor._WriteNicConfig
ganeti.hypervisor.hv_xen.XenHypervisor.html#_WriteNicConfig
Function
Method
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._WriteConfigFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_WriteConfigFile
Function
Method
PRIVATE
Write the Xen config file for the instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor._ReadConfigFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_ReadConfigFile
Function
Method
PRIVATE
Returns the contents of the instance config file.
-
ganeti.hypervisor.hv_xen.XenHypervisor._RemoveConfigFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_RemoveConfigFile
Function
Method
PRIVATE
Remove the xen configuration file.
-
ganeti.hypervisor.hv_xen.XenHypervisor._StashConfigFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_StashConfigFile
Function
Method
PRIVATE
Move the Xen config file to the log directory and return its new path.
-
ganeti.hypervisor.hv_xen.XenHypervisor._GetInstanceList
ganeti.hypervisor.hv_xen.XenHypervisor.html#_GetInstanceList
Function
Method
PRIVATE
-
ganeti.hypervisor.hv_xen.XenHypervisor.ListInstances
ganeti.hypervisor.hv_xen.XenHypervisor.html#ListInstances
Function
Method
PUBLIC
Get the list of running instances.
-
ganeti.hypervisor.hv_xen.XenHypervisor.GetInstanceInfo
ganeti.hypervisor.hv_xen.XenHypervisor.html#GetInstanceInfo
Function
Method
PUBLIC
Get instance properties.
-
ganeti.hypervisor.hv_xen.XenHypervisor.GetAllInstancesInfo
ganeti.hypervisor.hv_xen.XenHypervisor.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get properties of all instances.
-
ganeti.hypervisor.hv_xen.XenHypervisor._MakeConfigFile
ganeti.hypervisor.hv_xen.XenHypervisor.html#_MakeConfigFile
Function
Method
PRIVATE
Gather configuration details and write to disk.
-
ganeti.hypervisor.hv_xen.XenHypervisor.VerifyInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#VerifyInstance
Function
Method
PUBLIC
Verify if running instance (configuration) is in correct state.
-
ganeti.hypervisor.hv_xen.XenHypervisor.RestoreInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#RestoreInstance
Function
Method
PUBLIC
Fixup running instance's state.
-
ganeti.hypervisor.hv_xen.XenHypervisor.StartInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#StartInstance
Function
Method
PUBLIC
Start an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor.StopInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#StopInstance
Function
Method
PUBLIC
Stop an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor._ShutdownInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#_ShutdownInstance
Function
Method
PRIVATE
Shutdown an instance if the instance is running.
-
ganeti.hypervisor.hv_xen.XenHypervisor._DestroyInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#_DestroyInstance
Function
Method
PRIVATE
Destroy an instance if the instance exists.
-
ganeti.hypervisor.hv_xen.XenHypervisor._DestroyInstanceIfAlive
ganeti.hypervisor.hv_xen.XenHypervisor.html#_DestroyInstanceIfAlive
Function
Method
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_xen.XenHypervisor._RenameInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#_RenameInstance
Function
Method
PRIVATE
Rename an instance (domain).
-
ganeti.hypervisor.hv_xen.XenHypervisor._StopInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#_StopInstance
Function
Method
PRIVATE
Stop an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor.RebootInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#RebootInstance
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor.BalloonInstanceMemory
ganeti.hypervisor.hv_xen.XenHypervisor.html#BalloonInstanceMemory
Function
Method
PUBLIC
Balloon an instance memory to a certain value.
-
ganeti.hypervisor.hv_xen.XenHypervisor.GetNodeInfo
ganeti.hypervisor.hv_xen.XenHypervisor.html#GetNodeInfo
Function
Method
PUBLIC
Return information about the node.
-
ganeti.hypervisor.hv_xen.XenHypervisor.GetInstanceConsole
ganeti.hypervisor.hv_xen.XenHypervisor.html#GetInstanceConsole
Function
Class Method
PUBLIC
Return a command for connecting to the console of an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor.Verify
ganeti.hypervisor.hv_xen.XenHypervisor.html#Verify
Function
Method
PUBLIC
Verify the hypervisor.
-
ganeti.hypervisor.hv_xen.XenHypervisor.MigrationInfo
ganeti.hypervisor.hv_xen.XenHypervisor.html#MigrationInfo
Function
Method
PUBLIC
Get instance information to perform a migration.
-
ganeti.hypervisor.hv_xen.XenHypervisor._KillMigrationDaemon
ganeti.hypervisor.hv_xen.XenHypervisor.html#_KillMigrationDaemon
Function
Class Method
PRIVATE
Kills the migration daemon if present.
-
ganeti.hypervisor.hv_xen.XenHypervisor.AcceptInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#AcceptInstance
Function
Method
PUBLIC
Prepare to accept an instance.
-
ganeti.hypervisor.hv_xen.XenHypervisor.FinalizeMigrationDst
ganeti.hypervisor.hv_xen.XenHypervisor.html#FinalizeMigrationDst
Function
Method
PUBLIC
Finalize an instance migration.
-
ganeti.hypervisor.hv_xen.XenHypervisor.MigrateInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#MigrateInstance
Function
Method
PUBLIC
Migrate an instance to a target node.
-
ganeti.hypervisor.hv_xen.XenHypervisor._MigrateInstance
ganeti.hypervisor.hv_xen.XenHypervisor.html#_MigrateInstance
Function
Method
PRIVATE
Migrate an instance to a target node.
-
ganeti.hypervisor.hv_xen.XenHypervisor.FinalizeMigrationSource
ganeti.hypervisor.hv_xen.XenHypervisor.html#FinalizeMigrationSource
Function
Method
PUBLIC
Finalize the instance migration on the source node.
-
ganeti.hypervisor.hv_xen.XenHypervisor.GetMigrationStatus
ganeti.hypervisor.hv_xen.XenHypervisor.html#GetMigrationStatus
Function
Method
PUBLIC
Get the migration status
-
ganeti.hypervisor.hv_xen.XenHypervisor.PowercycleNode
ganeti.hypervisor.hv_xen.XenHypervisor.html#PowercycleNode
Function
Method
PUBLIC
Xen-specific powercycle.
-
ganeti.hypervisor.hv_xen.XenHypervisor._CheckToolstackXlConfigured
ganeti.hypervisor.hv_xen.XenHypervisor.html#_CheckToolstackXlConfigured
Function
Method
PRIVATE
Checks whether xl is enabled on an xl-capable node.
-
ganeti.hypervisor.hv_xen.WriteXenConfigEvents
ganeti.hypervisor.hv_xen.html#WriteXenConfigEvents
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenPvmHypervisor
ganeti.hypervisor.hv_xen.XenPvmHypervisor.html
Class
Class
PUBLIC
Xen PVM hypervisor interface
-
ganeti.hypervisor.hv_xen.XenPvmHypervisor.PARAMETERS
ganeti.hypervisor.hv_xen.XenPvmHypervisor.html#PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenPvmHypervisor._GetConfig
ganeti.hypervisor.hv_xen.XenPvmHypervisor.html#_GetConfig
Function
Method
PRIVATE
Write the Xen config file for the instance.
-
ganeti.hypervisor.hv_xen.XenHvmHypervisor
ganeti.hypervisor.hv_xen.XenHvmHypervisor.html
Class
Class
PUBLIC
Xen HVM hypervisor interface
-
ganeti.hypervisor.hv_xen.XenHvmHypervisor.ANCILLARY_FILES
ganeti.hypervisor.hv_xen.XenHvmHypervisor.html#ANCILLARY_FILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHvmHypervisor.ANCILLARY_FILES_OPT
ganeti.hypervisor.hv_xen.XenHvmHypervisor.html#ANCILLARY_FILES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHvmHypervisor.PARAMETERS
ganeti.hypervisor.hv_xen.XenHvmHypervisor.html#PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_xen.XenHvmHypervisor._GetConfig
ganeti.hypervisor.hv_xen.XenHvmHypervisor.html#_GetConfig
Function
Method
PRIVATE
Create a Xen 3.1 HVM config file.
-
ganeti.hypervisor.hv_kvm.psutil_err
ganeti.hypervisor.hv_kvm.html#psutil_err
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.psutil
ganeti.hypervisor.hv_kvm.html#psutil
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.uidpool.ParseUidPool
ganeti.uidpool.html#ParseUidPool
Function
Function
PUBLIC
Parse a user-id pool definition.
-
ganeti.uidpool.AddToUidPool
ganeti.uidpool.html#AddToUidPool
Function
Function
PUBLIC
Add a list of user-ids/user-id ranges to a user-id pool.
-
ganeti.uidpool.RemoveFromUidPool
ganeti.uidpool.html#RemoveFromUidPool
Function
Function
PUBLIC
Remove a list of user-ids/user-id ranges from a user-id pool.
-
ganeti.uidpool._FormatUidRange
ganeti.uidpool.html#_FormatUidRange
Function
Function
PRIVATE
Convert a user-id range definition into a string.
-
ganeti.uidpool.FormatUidPool
ganeti.uidpool.html#FormatUidPool
Function
Function
PUBLIC
Convert the internal representation of the user-id pool into a string.
-
ganeti.uidpool.CheckUidPool
ganeti.uidpool.html#CheckUidPool
Function
Function
PUBLIC
Sanity check user-id pool range definition values.
-
ganeti.uidpool.ExpandUidPool
ganeti.uidpool.html#ExpandUidPool
Function
Function
PUBLIC
Expands a uid-pool definition to a list of uids.
-
ganeti.uidpool._IsUidUsed
ganeti.uidpool.html#_IsUidUsed
Function
Function
PRIVATE
Check if there is any process in the system running with the given user-id
-
ganeti.uidpool.LockedUid
ganeti.uidpool.LockedUid.html
Class
Class
PUBLIC
Class representing a locked user-id in the uid-pool.
-
ganeti.uidpool.LockedUid.__init__
ganeti.uidpool.LockedUid.html#__init__
Function
Method
PUBLIC
Constructor
-
ganeti.uidpool.LockedUid._uid
ganeti.uidpool.LockedUid.html#_uid
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.uidpool.LockedUid._lock
ganeti.uidpool.LockedUid.html#_lock
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.uidpool.LockedUid.Unlock
ganeti.uidpool.LockedUid.html#Unlock
Function
Method
PUBLIC
Undocumented
-
ganeti.uidpool.LockedUid.GetUid
ganeti.uidpool.LockedUid.html#GetUid
Function
Method
PUBLIC
Undocumented
-
ganeti.uidpool.LockedUid.AsStr
ganeti.uidpool.LockedUid.html#AsStr
Function
Method
PUBLIC
Undocumented
-
ganeti.uidpool.RequestUnusedUid
ganeti.uidpool.html#RequestUnusedUid
Function
Function
PUBLIC
Tries to find an unused uid from the uid-pool, locks it and returns it.
-
ganeti.uidpool.ReleaseUid
ganeti.uidpool.html#ReleaseUid
Function
Function
PUBLIC
This should be called when the given user-id is no longer in use.
-
ganeti.uidpool.ExecWithUnusedUid
ganeti.uidpool.html#ExecWithUnusedUid
Function
Function
PUBLIC
Execute a callable and provide an unused user-id in its kwargs.
-
ganeti.hypervisor.hv_kvm.monitor.QmpCommandNotSupported
ganeti.hypervisor.hv_kvm.monitor.QmpCommandNotSupported.html
Class
Exception
PUBLIC
QMP command not supported by the monitor.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html
Class
Class
PUBLIC
QEMU Messaging Protocol (QMP) message.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.__init__
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#__init__
Function
Method
PUBLIC
Creates a new QMP message based on the passed data.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.data
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.__getitem__
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#__getitem__
Function
Method
PUBLIC
Get the value of the required field if present, or None.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.__setitem__
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#__setitem__
Function
Method
PUBLIC
Set the value of the required field_name to field_value.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.__len__
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#__len__
Function
Method
PUBLIC
Return the number of fields stored in this QmpMessage.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.__delitem__
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#__delitem__
Function
Method
PUBLIC
Delete the specified element from the QmpMessage.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.BuildFromJsonString
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#BuildFromJsonString
Function
Static Method
PUBLIC
Build a QmpMessage from a JSON encoded string.
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.to_bytes
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#to_bytes
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.__eq__
ganeti.hypervisor.hv_kvm.monitor.QmpMessage.html#__eq__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html
Class
Class
PUBLIC
No class docstring; 0/3 instance variable, 0/1 constant, 6/8 methods documented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket._SOCKET_TIMEOUT
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#_SOCKET_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.__init__
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#__init__
Function
Method
PUBLIC
Instantiates the MonitorSocket object.
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.monitor_filename
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#monitor_filename
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket._connected
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#_connected
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket._check_socket
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#_check_socket
Function
Method
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket._check_connection
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#_check_connection
Function
Method
PRIVATE
Make sure that the connection is established.
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.connect
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#connect
Function
Method
PUBLIC
Connect to the monitor socket if not already connected.
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.is_connected
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#is_connected
Function
Method
PUBLIC
Return whether there is a connection to the socket or not.
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket._connect
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#_connect
Function
Method
PRIVATE
Connects to the monitor.
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.sock
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#sock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.close
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#close
Function
Method
PUBLIC
Closes the socket
-
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket._close
ganeti.hypervisor.hv_kvm.monitor.MonitorSocket.html#_close
Function
Method
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor._ensure_connection
ganeti.hypervisor.hv_kvm.monitor.html#_ensure_connection
Function
Function
PRIVATE
Decorator that wraps MonitorSocket external methods
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html
Class
Class
PUBLIC
Connection to the QEMU Monitor using the QEMU Monitor Protocol (QMP).
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._FIRST_MESSAGE_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_FIRST_MESSAGE_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._EVENT_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_EVENT_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._ERROR_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_ERROR_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._RETURN_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_RETURN_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._ACTUAL_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_ACTUAL_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.ACTUAL_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#ACTUAL_KEY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._ERROR_CLASS_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_ERROR_CLASS_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._ERROR_DESC_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_ERROR_DESC_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._EXECUTE_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_EXECUTE_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._ARGUMENTS_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_ARGUMENTS_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._VERSION_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_VERSION_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._PACKAGE_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_PACKAGE_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._QEMU_KEY
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_QEMU_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._CAPABILITIES_COMMAND
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_CAPABILITIES_COMMAND
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._QUERY_COMMANDS
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_QUERY_COMMANDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._MESSAGE_END_TOKEN
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_MESSAGE_END_TOKEN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._DEVICE_ATTRIBUTES
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_DEVICE_ATTRIBUTES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.__init__
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#__init__
Function
Method
PUBLIC
Instantiates the MonitorSocket object.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.version
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#version
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.package
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#package
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._buf
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_buf
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.supported_commands
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#supported_commands
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.__enter__
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#__enter__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.__exit__
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#__exit__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.connect
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#connect
Function
Method
PUBLIC
Connects to the QMP monitor.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._connected
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_connected
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._ParseMessage
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_ParseMessage
Function
Method
PRIVATE
Extract and parse a QMP message from the given buffer.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._Recv
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_Recv
Function
Method
PRIVATE
Receives a message from QMP and decodes the received JSON object.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._Send
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_Send
Function
Method
PRIVATE
Encodes and sends a message to KVM using QMP.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._GetSupportedCommands
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_GetSupportedCommands
Function
Method
PRIVATE
Update the list of supported commands.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.Execute
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#Execute
Function
Method
PUBLIC
Executes a QMP command and returns the response of the server.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._GetResponse
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_GetResponse
Function
Method
PRIVATE
Parse the QMP response
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._filter_hvinfo
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_filter_hvinfo
Function
Method
PRIVATE
Filter non valid keys of the device's hvinfo (if any).
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.HotAddNic
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#HotAddNic
Function
Method
PUBLIC
Hot-add a NIC
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.HotDelNic
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#HotDelNic
Function
Method
PUBLIC
Hot-del a NIC
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.HotAddDisk
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#HotAddDisk
Function
Method
PUBLIC
Hot-add a disk
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.HotDelDisk
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#HotDelDisk
Function
Method
PUBLIC
Hot-del a Disk
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._GetPCIDevices
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_GetPCIDevices
Function
Method
PRIVATE
Get the devices of the first PCI bus of a running instance.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._HasPCIDevice
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_HasPCIDevice
Function
Method
PRIVATE
Check if a specific device ID exists on the PCI bus.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._GetBlockDevices
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_GetBlockDevices
Function
Method
PRIVATE
Get the block devices of a running instance.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._HasBlockDevice
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_HasBlockDevice
Function
Method
PRIVATE
Check if a specific device ID exists among block devices.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.HasDevice
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#HasDevice
Function
Method
PUBLIC
Check if a specific device exists or not on a running instance.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.GetFreePCISlot
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#GetFreePCISlot
Function
Method
PUBLIC
Get the first available PCI slot of a running instance.
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.CheckDiskHotAddSupport
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#CheckDiskHotAddSupport
Function
Method
PUBLIC
Check if disk hotplug is possible
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.CheckNicHotAddSupport
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#CheckNicHotAddSupport
Function
Method
PUBLIC
Check if NIC hotplug is possible
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.GetVersion
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#GetVersion
Function
Method
PUBLIC
Return the QMP/qemu version field
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.HasDynamicAutoReadOnly
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#HasDynamicAutoReadOnly
Function
Method
PUBLIC
Check if QEMU uses dynamic auto-read-only for block devices
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.SetMigrationParameters
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#SetMigrationParameters
Function
Method
PUBLIC
Configute live migration parameters
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.SetMigrationCapabilities
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#SetMigrationCapabilities
Function
Method
PUBLIC
Configure live migration capabilities
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.StopGuestEmulation
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#StopGuestEmulation
Function
Method
PUBLIC
Pause the running guest
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.ContinueGuestEmulation
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#ContinueGuestEmulation
Function
Method
PUBLIC
Continue the previously paused guest
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.StartMigration
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#StartMigration
Function
Method
PUBLIC
Start migration of an instance
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.StartPostcopyMigration
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#StartPostcopyMigration
Function
Method
PUBLIC
Start postcopy-ram migration
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.GetCpuInformation
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#GetCpuInformation
Function
Method
PUBLIC
Retrieve CPU/thread information uses the query-cpus-fast which does not interrupt the guest
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.GetMigrationStatus
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#GetMigrationStatus
Function
Method
PUBLIC
Retrieve the current migration status
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.SetSpicePassword
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#SetSpicePassword
Function
Method
PUBLIC
Set Spice password of an instance
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.SetVNCPassword
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#SetVNCPassword
Function
Method
PUBLIC
Set VNC password of an instance
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.SetBalloonMemory
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#SetBalloonMemory
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.Powerdown
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#Powerdown
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._GetFd
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_GetFd
Function
Method
PRIVATE
Wrapper around the getfd qmp command
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._AddFd
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_AddFd
Function
Method
PRIVATE
Wrapper around add-fd qmp command
-
ganeti.hypervisor.hv_kvm.monitor.QmpConnection._RemoveFdset
ganeti.hypervisor.hv_kvm.monitor.QmpConnection.html#_RemoveFdset
Function
Method
PRIVATE
Wrapper around remove-fd qmp command
-
ganeti.hypervisor.hv_kvm.netdev.TUNSETIFF
ganeti.hypervisor.hv_kvm.netdev.html#TUNSETIFF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.TUNGETIFF
ganeti.hypervisor.hv_kvm.netdev.html#TUNGETIFF
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.TUNGETFEATURES
ganeti.hypervisor.hv_kvm.netdev.html#TUNGETFEATURES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.IFF_TAP
ganeti.hypervisor.hv_kvm.netdev.html#IFF_TAP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.IFF_NO_PI
ganeti.hypervisor.hv_kvm.netdev.html#IFF_NO_PI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.IFF_ONE_QUEUE
ganeti.hypervisor.hv_kvm.netdev.html#IFF_ONE_QUEUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.IFF_VNET_HDR
ganeti.hypervisor.hv_kvm.netdev.html#IFF_VNET_HDR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev.IFF_MULTI_QUEUE
ganeti.hypervisor.hv_kvm.netdev.html#IFF_MULTI_QUEUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.netdev._GetTunFeatures
ganeti.hypervisor.hv_kvm.netdev.html#_GetTunFeatures
Function
Function
PRIVATE
Retrieves supported TUN features from file descriptor.
-
ganeti.hypervisor.hv_kvm.netdev._ProbeTapVnetHdr
ganeti.hypervisor.hv_kvm.netdev.html#_ProbeTapVnetHdr
Function
Function
PRIVATE
Check whether to enable the IFF_VNET_HDR flag.
-
ganeti.hypervisor.hv_kvm.netdev._ProbeTapMqVirtioNet
ganeti.hypervisor.hv_kvm.netdev.html#_ProbeTapMqVirtioNet
Function
Function
PRIVATE
Check whether to enable the IFF_MULTI_QUEUE flag.
-
ganeti.hypervisor.hv_kvm.netdev.OpenTap
ganeti.hypervisor.hv_kvm.netdev.html#OpenTap
Function
Function
PUBLIC
Open a new tap device and return its file descriptor.
-
ganeti.hypervisor.hv_kvm.validation._SPICE_ADDITIONAL_PARAMS
ganeti.hypervisor.hv_kvm.validation.html#_SPICE_ADDITIONAL_PARAMS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.validation._SPICE_RE
ganeti.hypervisor.hv_kvm.validation.html#_SPICE_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.validation._CHECK_MACHINE_VERSION_RE
ganeti.hypervisor.hv_kvm.validation.html#_CHECK_MACHINE_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.check_spice_parameters
ganeti.hypervisor.hv_kvm.validation.html#check_spice_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.validate_spice_parameters
ganeti.hypervisor.hv_kvm.validation.html#validate_spice_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.check_vnc_parameters
ganeti.hypervisor.hv_kvm.validation.html#check_vnc_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.validate_vnc_parameters
ganeti.hypervisor.hv_kvm.validation.html#validate_vnc_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.check_security_model
ganeti.hypervisor.hv_kvm.validation.html#check_security_model
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.validate_security_model
ganeti.hypervisor.hv_kvm.validation.html#validate_security_model
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.check_boot_parameters
ganeti.hypervisor.hv_kvm.validation.html#check_boot_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.check_console_parameters
ganeti.hypervisor.hv_kvm.validation.html#check_console_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.validate_machine_version
ganeti.hypervisor.hv_kvm.validation.html#validate_machine_version
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.validation.check_disk_cache_parameters
ganeti.hypervisor.hv_kvm.validation.html#check_disk_cache_parameters
Function
Function
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm._KVM_NETWORK_SCRIPT
ganeti.hypervisor.hv_kvm.html#_KVM_NETWORK_SCRIPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._KVM_START_PAUSED_FLAG
ganeti.hypervisor.hv_kvm.html#_KVM_START_PAUSED_FLAG
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._KVM_NICS_RUNTIME_INDEX
ganeti.hypervisor.hv_kvm.html#_KVM_NICS_RUNTIME_INDEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._KVM_DISKS_RUNTIME_INDEX
ganeti.hypervisor.hv_kvm.html#_KVM_DISKS_RUNTIME_INDEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._DEVICE_RUNTIME_INDEX
ganeti.hypervisor.hv_kvm.html#_DEVICE_RUNTIME_INDEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._FIND_RUNTIME_ENTRY
ganeti.hypervisor.hv_kvm.html#_FIND_RUNTIME_ENTRY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._RUNTIME_DEVICE
ganeti.hypervisor.hv_kvm.html#_RUNTIME_DEVICE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._RUNTIME_ENTRY
ganeti.hypervisor.hv_kvm.html#_RUNTIME_ENTRY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._DEVICE_TYPE
ganeti.hypervisor.hv_kvm.html#_DEVICE_TYPE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._DEVICE_DRIVER
ganeti.hypervisor.hv_kvm.html#_DEVICE_DRIVER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._DEVICE_BUS
ganeti.hypervisor.hv_kvm.html#_DEVICE_BUS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._HOTPLUGGABLE_DEVICE_TYPES
ganeti.hypervisor.hv_kvm.html#_HOTPLUGGABLE_DEVICE_TYPES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._PCI_BUS
ganeti.hypervisor.hv_kvm.html#_PCI_BUS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._SCSI_BUS
ganeti.hypervisor.hv_kvm.html#_SCSI_BUS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._MIGRATION_CAPS_DELIM
ganeti.hypervisor.hv_kvm.html#_MIGRATION_CAPS_DELIM
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._POSTCOPY_SYNC_COUNT_THRESHOLD
ganeti.hypervisor.hv_kvm.html#_POSTCOPY_SYNC_COUNT_THRESHOLD
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm._with_qmp
ganeti.hypervisor.hv_kvm.html#_with_qmp
Function
Function
PRIVATE
Wrapper used on hotplug related methods
-
ganeti.hypervisor.hv_kvm._GetDriveURI
ganeti.hypervisor.hv_kvm.html#_GetDriveURI
Function
Function
PRIVATE
Helper function to get the drive uri to be used in --drive kvm option
-
ganeti.hypervisor.hv_kvm._GenerateDeviceKVMId
ganeti.hypervisor.hv_kvm.html#_GenerateDeviceKVMId
Function
Function
PRIVATE
Helper function to generate a unique device name used by KVM
-
ganeti.hypervisor.hv_kvm._GenerateDeviceHVInfoStr
ganeti.hypervisor.hv_kvm.html#_GenerateDeviceHVInfoStr
Function
Function
PRIVATE
Construct the -device option string for hvinfo dict
-
ganeti.hypervisor.hv_kvm._GenerateDeviceHVInfo
ganeti.hypervisor.hv_kvm.html#_GenerateDeviceHVInfo
Function
Function
PRIVATE
Helper function to generate hvinfo of a device (disk, NIC)
-
ganeti.hypervisor.hv_kvm._GetExistingDeviceInfo
ganeti.hypervisor.hv_kvm.html#_GetExistingDeviceInfo
Function
Function
PRIVATE
Helper function to get an existing device inside the runtime file
-
ganeti.hypervisor.hv_kvm._UpgradeSerializedRuntime
ganeti.hypervisor.hv_kvm.html#_UpgradeSerializedRuntime
Function
Function
PRIVATE
Upgrade runtime data
-
ganeti.hypervisor.hv_kvm._AnalyzeSerializedRuntime
ganeti.hypervisor.hv_kvm.html#_AnalyzeSerializedRuntime
Function
Function
PRIVATE
Return runtime entries for a serialized runtime file
-
ganeti.hypervisor.hv_kvm.HeadRequest
ganeti.hypervisor.hv_kvm.HeadRequest.html
Class
Class
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.HeadRequest.get_method
ganeti.hypervisor.hv_kvm.HeadRequest.html#get_method
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm._CheckUrl
ganeti.hypervisor.hv_kvm.html#_CheckUrl
Function
Function
PRIVATE
Check if a given URL exists on the server
-
ganeti.hypervisor.hv_kvm.KVMHypervisor
ganeti.hypervisor.hv_kvm.KVMHypervisor.html
Class
Class
PUBLIC
KVM hypervisor interface
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.CAN_MIGRATE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#CAN_MIGRATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ROOT_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._PIDS_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_PIDS_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._UIDS_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_UIDS_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CTRL_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CTRL_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CONF_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CONF_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._NICS_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_NICS_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CHROOT_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CHROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CHROOT_QUARANTINE_DIR
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CHROOT_QUARANTINE_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DIRS
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DIRS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.PARAMETERS
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VIRTIO
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VIRTIO
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VIRTIO_NET_PCI
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VIRTIO_NET_PCI
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VIRTIO_BLK_PCI
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VIRTIO_BLK_PCI
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._MIGRATION_INFO_MAX_BAD_ANSWERS
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_MIGRATION_INFO_MAX_BAD_ANSWERS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._MIGRATION_INFO_RETRY_DELAY
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_MIGRATION_INFO_RETRY_DELAY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VERSION_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DEFAULT_MACHINE_VERSION_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DEFAULT_MACHINE_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._QMP_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_QMP_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VHOST_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VHOST_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VIRTIO_NET_QUEUES_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VIRTIO_NET_QUEUES_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ENABLE_KVM_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ENABLE_KVM_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DISABLE_KVM_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DISABLE_KVM_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._NETDEV_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_NETDEV_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DISPLAY_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DISPLAY_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._MACHINE_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_MACHINE_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DEVICE_DRIVER_SUPPORTED
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DEVICE_DRIVER_SUPPORTED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._BOOT_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_BOOT_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._UUID_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_UUID_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._AUTO_RO_RE
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_AUTO_RO_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DEFAULT_PCI_RESERVATIONS
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DEFAULT_PCI_RESERVATIONS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._DEFAULT_SCSI_RESERVATIONS
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_DEFAULT_SCSI_RESERVATIONS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.ANCILLARY_FILES
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#ANCILLARY_FILES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.ANCILLARY_FILES_OPT
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#ANCILLARY_FILES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._KVMOPT_HELP
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_KVMOPT_HELP
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._KVMOPT_MLIST
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_KVMOPT_MLIST
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._KVMOPT_DEVICELIST
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_KVMOPT_DEVICELIST
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._KVMOPTS_CMDS
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_KVMOPTS_CMDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.__init__
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.qmp
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#qmp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.VersionsSafeForMigration
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#VersionsSafeForMigration
Function
Static Method
PUBLIC
Predict if migration is safe between those versions
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstancePidFile
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstancePidFile
Function
Class Method
PRIVATE
Returns the instance pidfile.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceUidFile
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceUidFile
Function
Class Method
PRIVATE
Returns the instance uidfile.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstancePidInfo
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstancePidInfo
Function
Class Method
PRIVATE
Check pid file for instance information.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstancePidAlive
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstancePidAlive
Function
Class Method
PRIVATE
Returns the instance pidfile, pid, and liveness.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CheckDown
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CheckDown
Function
Class Method
PRIVATE
Raises an error unless the given instance is down.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceMonitor
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceMonitor
Function
Class Method
PRIVATE
Returns the instance monitor socket name
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceSerial
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceSerial
Function
Class Method
PRIVATE
Returns the instance serial socket name
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceQmpMonitor
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceQmpMonitor
Function
Class Method
PRIVATE
Returns the instance serial QMP socket name
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceQemuGuestAgentMonitor
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceQemuGuestAgentMonitor
Function
Class Method
PRIVATE
Returns the instance serial QEMU Guest Agent socket name
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceKvmdMonitor
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceKvmdMonitor
Function
Class Method
PRIVATE
Returns the instance kvm daemon socket name
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceShutdownMonitor
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceShutdownMonitor
Function
Class Method
PRIVATE
Returns the instance QMP output filename
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._SocatUnixConsoleParams
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_SocatUnixConsoleParams
Function
Static Method
PRIVATE
Returns the correct parameters for socat
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceKVMRuntime
Function
Class Method
PRIVATE
Returns the instance KVM runtime filename
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceChrootDir
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceChrootDir
Function
Class Method
PRIVATE
Returns the name of the KVM chroot dir of the instance
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceNICDir
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceNICDir
Function
Class Method
PRIVATE
Returns the name of the directory holding the tap device files for a given instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._InstanceNICFile
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_InstanceNICFile
Function
Class Method
PRIVATE
Returns the name of the file containing the tap device for a given NIC
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._TryReadUidFile
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_TryReadUidFile
Function
Class Method
PRIVATE
Try to read a uid file
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._RemoveInstanceRuntimeFiles
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_RemoveInstanceRuntimeFiles
Function
Class Method
PRIVATE
Removes an instance's rutime sockets/files/dirs.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ConfigureNIC
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ConfigureNIC
Function
Static Method
PRIVATE
Run the network configuration script for a specified NIC
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._SetProcessAffinity
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_SetProcessAffinity
Function
Class Method
PRIVATE
Sets the affinity of a process to the given CPUs.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._AssignCpuAffinity
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_AssignCpuAffinity
Function
Class Method
PRIVATE
Change CPU affinity for running VM according to given CPU mask.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GetVcpuThreadIds
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GetVcpuThreadIds
Function
Method
PRIVATE
Get a mapping of vCPU no. to thread IDs for the instance
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ExecuteCpuAffinity
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ExecuteCpuAffinity
Function
Method
PRIVATE
Complete CPU pinning.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._SetInstanceMigrationCapabilities
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_SetInstanceMigrationCapabilities
Function
Method
PRIVATE
Set all migration capabilities configured for an instance
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ClearInstanceMigrationCapabilities
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ClearInstanceMigrationCapabilities
Function
Method
PRIVATE
Clear all migration capabilities configured for an instance
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.ListInstances
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#ListInstances
Function
Method
PUBLIC
Get the list of running instances.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._IsUserShutdown
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_IsUserShutdown
Function
Class Method
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ClearUserShutdown
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ClearUserShutdown
Function
Class Method
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.GetInstanceInfo
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#GetInstanceInfo
Function
Method
PUBLIC
Get instance properties.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.GetAllInstancesInfo
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get properties of all instances.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GenerateDiskAioCacheParameters
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GenerateDiskAioCacheParameters
Function
Static Method
PRIVATE
Generate appropriate aio/cache parameters for QEMU
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GenerateKVMBlockDevicesOptions
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GenerateKVMBlockDevicesOptions
Function
Method
PRIVATE
Generate KVM options regarding instance's block devices.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CdromOption
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CdromOption
Function
Static Method
PRIVATE
Extends kvm_cmd with the '-drive' option for a cdrom, and optionally the '-boot' option.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GenerateKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GenerateKVMRuntime
Function
Method
PRIVATE
Generate KVM information to start an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._WriteKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_WriteKVMRuntime
Function
Method
PRIVATE
Write an instance's KVM runtime
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ReadKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ReadKVMRuntime
Function
Method
PRIVATE
Read an instance's KVM runtime
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._SaveKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_SaveKVMRuntime
Function
Method
PRIVATE
Save an instance's KVM runtime
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._LoadKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_LoadKVMRuntime
Function
Method
PRIVATE
Load an instance's KVM runtime
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._RunKVMCmd
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_RunKVMCmd
Function
Method
PRIVATE
Run the KVM cmd and check for errors
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GenerateKvmTapName
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GenerateKvmTapName
Function
Static Method
PRIVATE
Generate a TAP network interface name for a NIC.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GetNetworkDeviceFeatures
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GetNetworkDeviceFeatures
Function
Method
PRIVATE
Get network device options to properly enable supported features.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ExecuteKVMRuntime
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ExecuteKVMRuntime
Function
Method
PRIVATE
Execute a KVM cmd, after completing it with some last minute data.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._StartKvmd
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_StartKvmd
Function
Static Method
PRIVATE
Ensure that the Kvm daemon is running.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.StartInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#StartInstance
Function
Method
PUBLIC
Start an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._CallMonitorCommand
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_CallMonitorCommand
Function
Class Method
PRIVATE
Invoke a command on the instance monitor.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.VerifyHotplugSupport
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#VerifyHotplugSupport
Function
Method
PUBLIC
Verifies that hotplug is supported.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.HotplugSupported
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#HotplugSupported
Function
Method
PUBLIC
Checks if hotplug is generally supported.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GetBusSlots
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GetBusSlots
Function
Method
PRIVATE
Helper function to get the slots of PCI and SCSI QEMU buses.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._VerifyHotplugCommand
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_VerifyHotplugCommand
Function
Method
PRIVATE
Checks if a previous hotplug command has succeeded.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.HotAddDevice
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#HotAddDevice
Function
Method
PUBLIC
Helper method to hot-add a new device
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.HotDelDevice
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#HotDelDevice
Function
Method
PUBLIC
Helper method for hot-del device
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.HotModDevice
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#HotModDevice
Function
Method
PUBLIC
Helper method for hot-mod device
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ParseKVMVersion
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ParseKVMVersion
Function
Class Method
PRIVATE
Parse the KVM version from the --help output.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GetKVMOutput
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GetKVMOutput
Function
Class Method
PRIVATE
Return the output of a kvm invocation
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GetKVMVersion
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GetKVMVersion
Function
Class Method
PRIVATE
Return the installed KVM version.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._GetDefaultMachineVersion
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_GetDefaultMachineVersion
Function
Class Method
PRIVATE
Return the default hardware revision (e.g. pc-1.1)
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._StopInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_StopInstance
Function
Method
PRIVATE
Stop an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.StopInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#StopInstance
Function
Method
PUBLIC
Stop an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.CleanupInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#CleanupInstance
Function
Method
PUBLIC
Cleanup after a stopped instance
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.RebootInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#RebootInstance
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.MigrationInfo
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#MigrationInfo
Function
Method
PUBLIC
Get instance information to perform a migration.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.AcceptInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#AcceptInstance
Function
Method
PUBLIC
Prepare to accept an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor._ConfigureRoutedNICs
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#_ConfigureRoutedNICs
Function
Method
PRIVATE
Configures all NICs in routed mode
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.FinalizeMigrationDst
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#FinalizeMigrationDst
Function
Method
PUBLIC
Finalize the instance migration on the target node.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.MigrateInstance
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#MigrateInstance
Function
Method
PUBLIC
Migrate an instance to a target node.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.FinalizeMigrationSource
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#FinalizeMigrationSource
Function
Method
PUBLIC
Finalize the instance migration on the source node.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.GetMigrationStatus
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#GetMigrationStatus
Function
Method
PUBLIC
Get the migration status
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.BalloonInstanceMemory
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#BalloonInstanceMemory
Function
Method
PUBLIC
Balloon an instance memory to a certain value.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.GetNodeInfo
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#GetNodeInfo
Function
Method
PUBLIC
Return information about the node.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.GetInstanceConsole
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#GetInstanceConsole
Function
Class Method
PUBLIC
Return a command for connecting to the console of an instance.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.Verify
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#Verify
Function
Method
PUBLIC
Verify the hypervisor.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.CheckParameterSyntax
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#CheckParameterSyntax
Function
Class Method
PUBLIC
Check the given parameters for validity.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.ValidateParameters
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#ValidateParameters
Function
Class Method
PUBLIC
Check the given parameters for validity.
-
ganeti.hypervisor.hv_kvm.KVMHypervisor.PowercycleNode
ganeti.hypervisor.hv_kvm.KVMHypervisor.html#PowercycleNode
Function
Class Method
PUBLIC
KVM powercycle, just a wrapper over Linux powercycle.
-
ganeti.hypervisor.hv_chroot.ChrootManager
ganeti.hypervisor.hv_chroot.ChrootManager.html
Class
Class
PUBLIC
Chroot manager.
-
ganeti.hypervisor.hv_chroot.ChrootManager._ROOT_DIR
ganeti.hypervisor.hv_chroot.ChrootManager.html#_ROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_chroot.ChrootManager.PARAMETERS
ganeti.hypervisor.hv_chroot.ChrootManager.html#PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_chroot.ChrootManager.__init__
ganeti.hypervisor.hv_chroot.ChrootManager.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_chroot.ChrootManager._IsDirLive
ganeti.hypervisor.hv_chroot.ChrootManager.html#_IsDirLive
Function
Static Method
PRIVATE
Check if a directory looks like a live chroot.
-
ganeti.hypervisor.hv_chroot.ChrootManager._GetMountSubdirs
ganeti.hypervisor.hv_chroot.ChrootManager.html#_GetMountSubdirs
Function
Static Method
PRIVATE
Return the list of mountpoints under a given path.
-
ganeti.hypervisor.hv_chroot.ChrootManager._InstanceDir
ganeti.hypervisor.hv_chroot.ChrootManager.html#_InstanceDir
Function
Class Method
PRIVATE
Return the root directory for an instance.
-
ganeti.hypervisor.hv_chroot.ChrootManager.ListInstances
ganeti.hypervisor.hv_chroot.ChrootManager.html#ListInstances
Function
Method
PUBLIC
Get the list of running instances.
-
ganeti.hypervisor.hv_chroot.ChrootManager.GetInstanceInfo
ganeti.hypervisor.hv_chroot.ChrootManager.html#GetInstanceInfo
Function
Method
PUBLIC
Get instance properties.
-
ganeti.hypervisor.hv_chroot.ChrootManager.GetAllInstancesInfo
ganeti.hypervisor.hv_chroot.ChrootManager.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get properties of all instances.
-
ganeti.hypervisor.hv_chroot.ChrootManager.StartInstance
ganeti.hypervisor.hv_chroot.ChrootManager.html#StartInstance
Function
Method
PUBLIC
Start an instance.
-
ganeti.hypervisor.hv_chroot.ChrootManager.StopInstance
ganeti.hypervisor.hv_chroot.ChrootManager.html#StopInstance
Function
Method
PUBLIC
Stop an instance.
-
ganeti.hypervisor.hv_chroot.ChrootManager.CleanupInstance
ganeti.hypervisor.hv_chroot.ChrootManager.html#CleanupInstance
Function
Method
PUBLIC
Cleanup after a stopped instance
-
ganeti.hypervisor.hv_chroot.ChrootManager.RebootInstance
ganeti.hypervisor.hv_chroot.ChrootManager.html#RebootInstance
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.hypervisor.hv_chroot.ChrootManager.BalloonInstanceMemory
ganeti.hypervisor.hv_chroot.ChrootManager.html#BalloonInstanceMemory
Function
Method
PUBLIC
Balloon an instance memory to a certain value.
-
ganeti.hypervisor.hv_chroot.ChrootManager.GetNodeInfo
ganeti.hypervisor.hv_chroot.ChrootManager.html#GetNodeInfo
Function
Method
PUBLIC
Return information about the node.
-
ganeti.hypervisor.hv_chroot.ChrootManager.GetInstanceConsole
ganeti.hypervisor.hv_chroot.ChrootManager.html#GetInstanceConsole
Function
Class Method
PUBLIC
Return information for connecting to the console of an instance.
-
ganeti.hypervisor.hv_chroot.ChrootManager.Verify
ganeti.hypervisor.hv_chroot.ChrootManager.html#Verify
Function
Method
PUBLIC
Verify the hypervisor.
-
ganeti.hypervisor.hv_chroot.ChrootManager.PowercycleNode
ganeti.hypervisor.hv_chroot.ChrootManager.html#PowercycleNode
Function
Class Method
PUBLIC
Chroot powercycle, just a wrapper over Linux powercycle.
-
ganeti.hypervisor.hv_chroot.ChrootManager.MigrateInstance
ganeti.hypervisor.hv_chroot.ChrootManager.html#MigrateInstance
Function
Method
PUBLIC
Migrate an instance.
-
ganeti.hypervisor.hv_chroot.ChrootManager.GetMigrationStatus
ganeti.hypervisor.hv_chroot.ChrootManager.html#GetMigrationStatus
Function
Method
PUBLIC
Get the migration status
-
ganeti.hypervisor.hv_lxc._CreateBlankFile
ganeti.hypervisor.hv_lxc.html#_CreateBlankFile
Function
Function
PRIVATE
Create blank file.
-
ganeti.hypervisor.hv_lxc.LXCVersion
ganeti.hypervisor.hv_lxc.LXCVersion.html
Class
Class
PUBLIC
LXC version class.
-
ganeti.hypervisor.hv_lxc.LXCVersion._VERSION_RE
ganeti.hypervisor.hv_lxc.LXCVersion.html#_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCVersion._Parse
ganeti.hypervisor.hv_lxc.LXCVersion.html#_Parse
Function
Class Method
PRIVATE
Parse a passed string as an LXC version string.
-
ganeti.hypervisor.hv_lxc.LXCVersion.__new__
ganeti.hypervisor.hv_lxc.LXCVersion.html#__new__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCVersion.__str__
ganeti.hypervisor.hv_lxc.LXCVersion.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor
ganeti.hypervisor.hv_lxc.LXCHypervisor.html
Class
Class
PUBLIC
LXC-based virtualization.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._ROOT_DIR
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_ROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._LOG_DIR
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_LOG_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._INSTANCE_DIR
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_INSTANCE_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._CGROUP_ROOT_DIR
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_CGROUP_ROOT_DIR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._PROC_CGROUPS_FILE
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_PROC_CGROUPS_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._PROC_SELF_CGROUP_FILE
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_PROC_SELF_CGROUP_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._LXC_MIN_VERSION_REQUIRED
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_LXC_MIN_VERSION_REQUIRED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._LXC_COMMANDS_REQUIRED
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_LXC_COMMANDS_REQUIRED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._DIR_MODE
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_DIR_MODE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._STASH_KEY_ALLOCATED_LOOP_DEV
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_STASH_KEY_ALLOCATED_LOOP_DEV
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._MEMORY_PARAMETER
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_MEMORY_PARAMETER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._MEMORY_SWAP_PARAMETER
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_MEMORY_SWAP_PARAMETER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.PARAMETERS
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#PARAMETERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._REBOOT_TIMEOUT
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_REBOOT_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._REQUIRED_CGROUP_SUBSYSTEMS
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_REQUIRED_CGROUP_SUBSYSTEMS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.__init__
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._InstanceDir
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_InstanceDir
Function
Class Method
PRIVATE
Return the root directory for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._InstanceConfFilePath
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_InstanceConfFilePath
Function
Class Method
PRIVATE
Return the configuration file for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._InstanceLogFilePath
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_InstanceLogFilePath
Function
Class Method
PRIVATE
Return the log file for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._InstanceConsoleLogFilePath
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_InstanceConsoleLogFilePath
Function
Class Method
PRIVATE
Return the console log file path for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._InstanceStashFilePath
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_InstanceStashFilePath
Function
Class Method
PRIVATE
Return the stash file path for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._EnsureDirectoryExistence
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_EnsureDirectoryExistence
Function
Method
PRIVATE
Ensures all the directories needed for LXC use exist.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._SaveInstanceStash
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_SaveInstanceStash
Function
Method
PRIVATE
Save data to the instance stash file in serialized format.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._LoadInstanceStash
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_LoadInstanceStash
Function
Method
PRIVATE
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._MountCgroupSubsystem
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_MountCgroupSubsystem
Function
Class Method
PRIVATE
Mount the cgroup subsystem fs under the cgroup root dir.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._CleanupInstance
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_CleanupInstance
Function
Method
PRIVATE
Actual implementation of the instance cleanup procedure.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.CleanupInstance
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#CleanupInstance
Function
Method
PUBLIC
Cleanup after a stopped instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupMountPoint
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupMountPoint
Function
Class Method
PRIVATE
Return the directory that should be the base of cgroup fs.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetOrPrepareCgroupSubsysMountPoint
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetOrPrepareCgroupSubsysMountPoint
Function
Class Method
PRIVATE
Prepare cgroup subsystem mount point.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCurrentCgroupSubsysGroups
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCurrentCgroupSubsysGroups
Function
Class Method
PRIVATE
Return the dict of cgroup subsystem hierarchies this process belongs to.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupSubsysDir
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupSubsysDir
Function
Class Method
PRIVATE
Return the directory of the cgroup subsystem we use.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupParamPath
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupParamPath
Function
Class Method
PRIVATE
Return the path of the specified cgroup parameter file.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupInstanceValue
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupInstanceValue
Function
Class Method
PRIVATE
Return the value of the specified cgroup parameter.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._SetCgroupInstanceValue
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_SetCgroupInstanceValue
Function
Class Method
PRIVATE
Set the value to the specified instance cgroup parameter.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._IsCgroupParameterPresent
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_IsCgroupParameterPresent
Function
Class Method
PRIVATE
Return whether a cgroup parameter can be used.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupCpuList
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupCpuList
Function
Class Method
PRIVATE
Return the list of CPU ids for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupCpuUsage
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupCpuUsage
Function
Class Method
PRIVATE
Return the CPU usage of an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupMemoryLimit
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupMemoryLimit
Function
Class Method
PRIVATE
Return the memory limit for an instance
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.ListInstances
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#ListInstances
Function
Method
PUBLIC
Get the list of running instances.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._IsInstanceAlive
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_IsInstanceAlive
Function
Class Method
PRIVATE
Return True if instance is alive.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._ListAliveInstances
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_ListAliveInstances
Function
Class Method
PRIVATE
Return list of alive instances.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.GetInstanceInfo
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#GetInstanceInfo
Function
Method
PUBLIC
Get instance properties.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetInstanceInfoInner
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetInstanceInfoInner
Function
Method
PRIVATE
Get instance properties.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.GetAllInstancesInfo
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get properties of all instances.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetInstanceDropCapabilities
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetInstanceDropCapabilities
Function
Class Method
PRIVATE
Get and parse the drop capabilities list from the instance hvparams.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._CreateConfigFile
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_CreateConfigFile
Function
Method
PRIVATE
Create an lxc.conf file for an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetCgroupEnabledKernelSubsystems
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetCgroupEnabledKernelSubsystems
Function
Class Method
PRIVATE
Return cgroup subsystems list that are enabled in current kernel.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._EnsureCgroupMounts
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_EnsureCgroupMounts
Function
Class Method
PRIVATE
Ensures all cgroup subsystems required to run LXC container are mounted.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._PrepareInstanceRootFsBdev
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_PrepareInstanceRootFsBdev
Function
Class Method
PRIVATE
Return mountable path for storage_path.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._WaitForInstanceState
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_WaitForInstanceState
Function
Class Method
PRIVATE
Wait for an instance state transition within timeout
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._SpawnLXC
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_SpawnLXC
Function
Method
PRIVATE
Execute lxc-start and wait until container health is confirmed.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._VerifyDiskRequirements
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_VerifyDiskRequirements
Function
Class Method
PRIVATE
Insures that the disks provided work with the current implementation.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.StartInstance
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#StartInstance
Function
Method
PUBLIC
Start an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.StopInstance
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#StopInstance
Function
Method
PUBLIC
Stop an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.RebootInstance
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#RebootInstance
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.BalloonInstanceMemory
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#BalloonInstanceMemory
Function
Method
PUBLIC
Balloon an instance memory to a certain value.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.GetNodeInfo
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#GetNodeInfo
Function
Method
PUBLIC
Return information about the node.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.GetInstanceConsole
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#GetInstanceConsole
Function
Class Method
PUBLIC
Return a command for connecting to the console of an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._GetLXCVersionFromCmd
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_GetLXCVersionFromCmd
Function
Class Method
PRIVATE
Return the LXC version currently used in the system.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor._VerifyLXCCommands
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#_VerifyLXCCommands
Function
Class Method
PRIVATE
Verify the validity of lxc command line tools.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.Verify
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#Verify
Function
Method
PUBLIC
Verify the hypervisor.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.PowercycleNode
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#PowercycleNode
Function
Class Method
PUBLIC
LXC powercycle, just a wrapper over Linux powercycle.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.MigrateInstance
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#MigrateInstance
Function
Method
PUBLIC
Migrate an instance.
-
ganeti.hypervisor.hv_lxc.LXCHypervisor.GetMigrationStatus
ganeti.hypervisor.hv_lxc.LXCHypervisor.html#GetMigrationStatus
Function
Method
PUBLIC
Get the migration status
-
ganeti.hypervisor._HYPERVISOR_MAP
ganeti.hypervisor.html#_HYPERVISOR_MAP
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.hypervisor.GetHypervisorClass
ganeti.hypervisor.html#GetHypervisorClass
Function
Function
PUBLIC
Return a Hypervisor class.
-
ganeti.hypervisor.GetHypervisor
ganeti.hypervisor.html#GetHypervisor
Function
Function
PUBLIC
Return a Hypervisor instance.
-
ganeti.storage.base.BlockDev
ganeti.storage.base.BlockDev.html
Class
Class
PUBLIC
Block device abstract class.
-
ganeti.storage.base.BlockDev.__init__
ganeti.storage.base.BlockDev.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev._children
ganeti.storage.base.BlockDev.html#_children
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.base.BlockDev.dev_path
ganeti.storage.base.BlockDev.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.unique_id
ganeti.storage.base.BlockDev.html#unique_id
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.major
ganeti.storage.base.BlockDev.html#major
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.minor
ganeti.storage.base.BlockDev.html#minor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.attached
ganeti.storage.base.BlockDev.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.size
ganeti.storage.base.BlockDev.html#size
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.params
ganeti.storage.base.BlockDev.html#params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.dyn_params
ganeti.storage.base.BlockDev.html#dyn_params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.__eq__
ganeti.storage.base.BlockDev.html#__eq__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.base.BlockDev.Assemble
ganeti.storage.base.BlockDev.html#Assemble
Function
Method
PUBLIC
Assemble the device from its components.
-
ganeti.storage.base.BlockDev.Attach
ganeti.storage.base.BlockDev.html#Attach
Function
Method
PUBLIC
Find a device which matches our config and attach to it.
-
ganeti.storage.base.BlockDev.Close
ganeti.storage.base.BlockDev.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.base.BlockDev.Create
ganeti.storage.base.BlockDev.html#Create
Function
Class Method
PUBLIC
Create the device.
-
ganeti.storage.base.BlockDev.Remove
ganeti.storage.base.BlockDev.html#Remove
Function
Method
PUBLIC
Remove this device.
-
ganeti.storage.base.BlockDev.Rename
ganeti.storage.base.BlockDev.html#Rename
Function
Method
PUBLIC
Rename this device.
-
ganeti.storage.base.BlockDev.Open
ganeti.storage.base.BlockDev.html#Open
Function
Method
PUBLIC
Make the device ready for use.
-
ganeti.storage.base.BlockDev.Shutdown
ganeti.storage.base.BlockDev.html#Shutdown
Function
Method
PUBLIC
Shut down the device, freeing its children.
-
ganeti.storage.base.BlockDev.Import
ganeti.storage.base.BlockDev.html#Import
Function
Method
PUBLIC
Builds the shell command for importing data to device.
-
ganeti.storage.base.BlockDev.Export
ganeti.storage.base.BlockDev.html#Export
Function
Method
PUBLIC
Builds the shell command for exporting data from device.
-
ganeti.storage.base.BlockDev.Snapshot
ganeti.storage.base.BlockDev.html#Snapshot
Function
Method
PUBLIC
Creates a snapshot of the block device.
-
ganeti.storage.base.BlockDev.SetSyncParams
ganeti.storage.base.BlockDev.html#SetSyncParams
Function
Method
PUBLIC
Adjust the synchronization parameters of the mirror.
-
ganeti.storage.base.BlockDev.PauseResumeSync
ganeti.storage.base.BlockDev.html#PauseResumeSync
Function
Method
PUBLIC
Pause/Resume the sync of the mirror.
-
ganeti.storage.base.BlockDev.GetSyncStatus
ganeti.storage.base.BlockDev.html#GetSyncStatus
Function
Method
PUBLIC
Returns the sync status of the device.
-
ganeti.storage.base.BlockDev.CombinedSyncStatus
ganeti.storage.base.BlockDev.html#CombinedSyncStatus
Function
Method
PUBLIC
Calculate the mirror status recursively for our children.
-
ganeti.storage.base.BlockDev.SetInfo
ganeti.storage.base.BlockDev.html#SetInfo
Function
Method
PUBLIC
Update metadata with info text.
-
ganeti.storage.base.BlockDev.Grow
ganeti.storage.base.BlockDev.html#Grow
Function
Method
PUBLIC
Grow the block device.
-
ganeti.storage.base.BlockDev.GetActualSize
ganeti.storage.base.BlockDev.html#GetActualSize
Function
Method
PUBLIC
Return the actual disk size.
-
ganeti.storage.base.BlockDev.GetActualSpindles
ganeti.storage.base.BlockDev.html#GetActualSpindles
Function
Method
PUBLIC
Return the actual number of spindles used.
-
ganeti.storage.base.BlockDev.GetActualDimensions
ganeti.storage.base.BlockDev.html#GetActualDimensions
Function
Method
PUBLIC
Return the actual disk size and number of spindles used.
-
ganeti.storage.base.BlockDev.GetUserspaceAccessUri
ganeti.storage.base.BlockDev.html#GetUserspaceAccessUri
Function
Method
PUBLIC
Return URIs hypervisors can use to access disks in userspace mode.
-
ganeti.storage.base.BlockDev.__repr__
ganeti.storage.base.BlockDev.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.base.ThrowError
ganeti.storage.base.html#ThrowError
Function
Function
PUBLIC
Log an error to the node daemon and the raise an exception.
-
ganeti.storage.base.IgnoreError
ganeti.storage.base.html#IgnoreError
Function
Function
PUBLIC
Executes the given function, ignoring BlockDeviceErrors.
-
ganeti.storage.drbd_info.DRBD8Status
ganeti.storage.drbd_info.DRBD8Status.html
Class
Class
PUBLIC
A DRBD status representation class.
-
ganeti.storage.drbd_info.DRBD8Status.UNCONF_RE
ganeti.storage.drbd_info.DRBD8Status.html#UNCONF_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.LINE_RE
ganeti.storage.drbd_info.DRBD8Status.html#LINE_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.SYNC_RE
ganeti.storage.drbd_info.DRBD8Status.html#SYNC_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_UNCONFIGURED
ganeti.storage.drbd_info.DRBD8Status.html#CS_UNCONFIGURED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_STANDALONE
ganeti.storage.drbd_info.DRBD8Status.html#CS_STANDALONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_WFCONNECTION
ganeti.storage.drbd_info.DRBD8Status.html#CS_WFCONNECTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_WFREPORTPARAMS
ganeti.storage.drbd_info.DRBD8Status.html#CS_WFREPORTPARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_CONNECTED
ganeti.storage.drbd_info.DRBD8Status.html#CS_CONNECTED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_STARTINGSYNCS
ganeti.storage.drbd_info.DRBD8Status.html#CS_STARTINGSYNCS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_STARTINGSYNCT
ganeti.storage.drbd_info.DRBD8Status.html#CS_STARTINGSYNCT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_WFBITMAPS
ganeti.storage.drbd_info.DRBD8Status.html#CS_WFBITMAPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_WFBITMAPT
ganeti.storage.drbd_info.DRBD8Status.html#CS_WFBITMAPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_WFSYNCUUID
ganeti.storage.drbd_info.DRBD8Status.html#CS_WFSYNCUUID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_SYNCSOURCE
ganeti.storage.drbd_info.DRBD8Status.html#CS_SYNCSOURCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_SYNCTARGET
ganeti.storage.drbd_info.DRBD8Status.html#CS_SYNCTARGET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_PAUSEDSYNCS
ganeti.storage.drbd_info.DRBD8Status.html#CS_PAUSEDSYNCS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CS_PAUSEDSYNCT
ganeti.storage.drbd_info.DRBD8Status.html#CS_PAUSEDSYNCT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.CSET_SYNC
ganeti.storage.drbd_info.DRBD8Status.html#CSET_SYNC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_DISKLESS
ganeti.storage.drbd_info.DRBD8Status.html#DS_DISKLESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_ATTACHING
ganeti.storage.drbd_info.DRBD8Status.html#DS_ATTACHING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_FAILED
ganeti.storage.drbd_info.DRBD8Status.html#DS_FAILED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_NEGOTIATING
ganeti.storage.drbd_info.DRBD8Status.html#DS_NEGOTIATING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_INCONSISTENT
ganeti.storage.drbd_info.DRBD8Status.html#DS_INCONSISTENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_OUTDATED
ganeti.storage.drbd_info.DRBD8Status.html#DS_OUTDATED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_DUNKNOWN
ganeti.storage.drbd_info.DRBD8Status.html#DS_DUNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_CONSISTENT
ganeti.storage.drbd_info.DRBD8Status.html#DS_CONSISTENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.DS_UPTODATE
ganeti.storage.drbd_info.DRBD8Status.html#DS_UPTODATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.RO_PRIMARY
ganeti.storage.drbd_info.DRBD8Status.html#RO_PRIMARY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.RO_SECONDARY
ganeti.storage.drbd_info.DRBD8Status.html#RO_SECONDARY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.RO_UNKNOWN
ganeti.storage.drbd_info.DRBD8Status.html#RO_UNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.__init__
ganeti.storage.drbd_info.DRBD8Status.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.cstatus
ganeti.storage.drbd_info.DRBD8Status.html#cstatus
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.lrole
ganeti.storage.drbd_info.DRBD8Status.html#lrole
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.rrole
ganeti.storage.drbd_info.DRBD8Status.html#rrole
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.ldisk
ganeti.storage.drbd_info.DRBD8Status.html#ldisk
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.rdisk
ganeti.storage.drbd_info.DRBD8Status.html#rdisk
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_standalone
ganeti.storage.drbd_info.DRBD8Status.html#is_standalone
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_wfconn
ganeti.storage.drbd_info.DRBD8Status.html#is_wfconn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_connected
ganeti.storage.drbd_info.DRBD8Status.html#is_connected
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_unconfigured
ganeti.storage.drbd_info.DRBD8Status.html#is_unconfigured
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_primary
ganeti.storage.drbd_info.DRBD8Status.html#is_primary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_secondary
ganeti.storage.drbd_info.DRBD8Status.html#is_secondary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.peer_primary
ganeti.storage.drbd_info.DRBD8Status.html#peer_primary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.peer_secondary
ganeti.storage.drbd_info.DRBD8Status.html#peer_secondary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.both_primary
ganeti.storage.drbd_info.DRBD8Status.html#both_primary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.both_secondary
ganeti.storage.drbd_info.DRBD8Status.html#both_secondary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_diskless
ganeti.storage.drbd_info.DRBD8Status.html#is_diskless
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_disk_uptodate
ganeti.storage.drbd_info.DRBD8Status.html#is_disk_uptodate
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.peer_disk_uptodate
ganeti.storage.drbd_info.DRBD8Status.html#peer_disk_uptodate
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_in_resync
ganeti.storage.drbd_info.DRBD8Status.html#is_in_resync
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.is_in_use
ganeti.storage.drbd_info.DRBD8Status.html#is_in_use
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.sync_percent
ganeti.storage.drbd_info.DRBD8Status.html#sync_percent
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.est_time
ganeti.storage.drbd_info.DRBD8Status.html#est_time
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Status.__repr__
ganeti.storage.drbd_info.DRBD8Status.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info
ganeti.storage.drbd_info.DRBD8Info.html
Class
Class
PUBLIC
Represents information DRBD exports (usually via /proc/drbd).
-
ganeti.storage.drbd_info.DRBD8Info._VERSION_RE
ganeti.storage.drbd_info.DRBD8Info.html#_VERSION_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info._VALID_LINE_RE
ganeti.storage.drbd_info.DRBD8Info.html#_VALID_LINE_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info.__init__
ganeti.storage.drbd_info.DRBD8Info.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info._version
ganeti.storage.drbd_info.DRBD8Info.html#_version
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info._minors
ganeti.storage.drbd_info.DRBD8Info.html#_minors
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info._line_per_minor
ganeti.storage.drbd_info.DRBD8Info.html#_line_per_minor
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info.GetVersion
ganeti.storage.drbd_info.DRBD8Info.html#GetVersion
Function
Method
PUBLIC
Return the DRBD version.
-
ganeti.storage.drbd_info.DRBD8Info.GetVersionString
ganeti.storage.drbd_info.DRBD8Info.html#GetVersionString
Function
Method
PUBLIC
Return the DRBD version as a single string.
-
ganeti.storage.drbd_info.DRBD8Info.GetMinors
ganeti.storage.drbd_info.DRBD8Info.html#GetMinors
Function
Method
PUBLIC
Return a list of minor for which information is available.
-
ganeti.storage.drbd_info.DRBD8Info.HasMinorStatus
ganeti.storage.drbd_info.DRBD8Info.html#HasMinorStatus
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info.GetMinorStatus
ganeti.storage.drbd_info.DRBD8Info.html#GetMinorStatus
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info._ParseVersion
ganeti.storage.drbd_info.DRBD8Info.html#_ParseVersion
Function
Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info._JoinLinesPerMinor
ganeti.storage.drbd_info.DRBD8Info.html#_JoinLinesPerMinor
Function
Method
PRIVATE
Transform the raw lines into a dictionary based on the minor.
-
ganeti.storage.drbd_info.DRBD8Info.CreateFromLines
ganeti.storage.drbd_info.DRBD8Info.html#CreateFromLines
Function
Static Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD8Info.CreateFromFile
ganeti.storage.drbd_info.DRBD8Info.html#CreateFromFile
Function
Static Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo
ganeti.storage.drbd_info.BaseShowInfo.html
Class
Class
PUBLIC
Base class for parsing the `drbdsetup show` output.
-
ganeti.storage.drbd_info.BaseShowInfo._PARSE_SHOW
ganeti.storage.drbd_info.BaseShowInfo.html#_PARSE_SHOW
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._lbrace
ganeti.storage.drbd_info.BaseShowInfo.html#_lbrace
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._rbrace
ganeti.storage.drbd_info.BaseShowInfo.html#_rbrace
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._lbracket
ganeti.storage.drbd_info.BaseShowInfo.html#_lbracket
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._rbracket
ganeti.storage.drbd_info.BaseShowInfo.html#_rbracket
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._semi
ganeti.storage.drbd_info.BaseShowInfo.html#_semi
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._colon
ganeti.storage.drbd_info.BaseShowInfo.html#_colon
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._number
ganeti.storage.drbd_info.BaseShowInfo.html#_number
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._defa
ganeti.storage.drbd_info.BaseShowInfo.html#_defa
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._dbl_quote
ganeti.storage.drbd_info.BaseShowInfo.html#_dbl_quote
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._keyword
ganeti.storage.drbd_info.BaseShowInfo.html#_keyword
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._value
ganeti.storage.drbd_info.BaseShowInfo.html#_value
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._quoted
ganeti.storage.drbd_info.BaseShowInfo.html#_quoted
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._ipv4_addr
ganeti.storage.drbd_info.BaseShowInfo.html#_ipv4_addr
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._ipv6_addr
ganeti.storage.drbd_info.BaseShowInfo.html#_ipv6_addr
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._meta_value
ganeti.storage.drbd_info.BaseShowInfo.html#_meta_value
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._device_value
ganeti.storage.drbd_info.BaseShowInfo.html#_device_value
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._stmt
ganeti.storage.drbd_info.BaseShowInfo.html#_stmt
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo.GetDevInfo
ganeti.storage.drbd_info.BaseShowInfo.html#GetDevInfo
Function
Class Method
PUBLIC
Parse details about a given DRBD minor.
-
ganeti.storage.drbd_info.BaseShowInfo._TransformParseResult
ganeti.storage.drbd_info.BaseShowInfo.html#_TransformParseResult
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.BaseShowInfo._GetShowParser
ganeti.storage.drbd_info.BaseShowInfo.html#_GetShowParser
Function
Class Method
PRIVATE
Return a parser for `drbd show` output.
-
ganeti.storage.drbd_info.BaseShowInfo._ConstructShowParser
ganeti.storage.drbd_info.BaseShowInfo.html#_ConstructShowParser
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD83ShowInfo
ganeti.storage.drbd_info.DRBD83ShowInfo.html
Class
Class
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD83ShowInfo._ConstructShowParser
ganeti.storage.drbd_info.DRBD83ShowInfo.html#_ConstructShowParser
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD83ShowInfo._TransformParseResult
ganeti.storage.drbd_info.DRBD83ShowInfo.html#_TransformParseResult
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD84ShowInfo
ganeti.storage.drbd_info.DRBD84ShowInfo.html
Class
Class
PUBLIC
Undocumented
-
ganeti.storage.drbd_info.DRBD84ShowInfo._ConstructShowParser
ganeti.storage.drbd_info.DRBD84ShowInfo.html#_ConstructShowParser
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD84ShowInfo._TransformVolumeSection
ganeti.storage.drbd_info.DRBD84ShowInfo.html#_TransformVolumeSection
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_info.DRBD84ShowInfo._TransformParseResult
ganeti.storage.drbd_info.DRBD84ShowInfo.html#_TransformParseResult
Function
Class Method
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html
Class
Class
PUBLIC
Base class for DRBD command generators.
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.__init__
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator._version
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#_version
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenShowCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenShowCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenInitMetaCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenInitMetaCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenLocalInitCmds
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenLocalInitCmds
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenNetInitCmds
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenNetInitCmds
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenSyncParamsCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenSyncParamsCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenPauseSyncCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenPauseSyncCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenResumeSyncCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenResumeSyncCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenPrimaryCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenPrimaryCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenSecondaryCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenSecondaryCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenDetachCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenDetachCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenDisconnectCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenDisconnectCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenDownCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenDownCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.GenResizeCmd
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#GenResizeCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator._DevPath
ganeti.storage.drbd_cmdgen.BaseDRBDCmdGenerator.html#_DevPath
Function
Static Method
PRIVATE
Return the path to a drbd device for a given minor.
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html
Class
Class
PUBLIC
Generates drbdsetup commands suited for the DRBD <= 8.3 syntax.
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator._DISABLE_DISK_OPTION
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#_DISABLE_DISK_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator._DISABLE_DRAIN_OPTION
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#_DISABLE_DRAIN_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator._DISABLE_FLUSH_OPTION
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#_DISABLE_FLUSH_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator._DISABLE_META_FLUSH_OPTION
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#_DISABLE_META_FLUSH_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.__init__
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenShowCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenShowCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenInitMetaCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenInitMetaCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenLocalInitCmds
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenLocalInitCmds
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenNetInitCmds
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenNetInitCmds
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenSyncParamsCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenSyncParamsCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenPauseSyncCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenPauseSyncCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenResumeSyncCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenResumeSyncCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenPrimaryCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenPrimaryCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenSecondaryCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenSecondaryCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenDetachCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenDetachCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenDisconnectCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenDisconnectCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenDownCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenDownCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.GenResizeCmd
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#GenResizeCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator._ComputeDiskBarrierArgs
ganeti.storage.drbd_cmdgen.DRBD83CmdGenerator.html#_ComputeDiskBarrierArgs
Function
Class Method
PRIVATE
Compute the DRBD command line parameters for disk barriers
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html
Class
Class
PUBLIC
Generates drbdsetup commands suited for the DRBD >= 8.4 syntax.
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator._DISABLE_DISK_OPTION
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#_DISABLE_DISK_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator._DISABLE_DRAIN_OPTION
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#_DISABLE_DRAIN_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator._DISABLE_FLUSH_OPTION
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#_DISABLE_FLUSH_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator._DISABLE_META_FLUSH_OPTION
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#_DISABLE_META_FLUSH_OPTION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.__init__
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenShowCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenShowCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenInitMetaCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenInitMetaCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenLocalInitCmds
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenLocalInitCmds
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenNetInitCmds
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenNetInitCmds
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenSyncParamsCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenSyncParamsCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenPauseSyncCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenPauseSyncCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenResumeSyncCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenResumeSyncCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenPrimaryCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenPrimaryCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenSecondaryCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenSecondaryCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenDetachCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenDetachCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenDisconnectCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenDisconnectCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenDownCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenDownCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.GenResizeCmd
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#GenResizeCmd
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator._GetResource
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#_GetResource
Function
Static Method
PRIVATE
Return the resource name for a given minor.
-
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator._ComputeDiskBarrierArgs
ganeti.storage.drbd_cmdgen.DRBD84CmdGenerator.html#_ComputeDiskBarrierArgs
Function
Class Method
PRIVATE
Compute the DRBD command line parameters for disk barriers
-
ganeti.storage.drbd._DEVICE_READ_SIZE
ganeti.storage.drbd.html#_DEVICE_READ_SIZE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8
ganeti.storage.drbd.DRBD8.html
Class
Class
PUBLIC
Various methods to deals with the DRBD system as a whole.
-
ganeti.storage.drbd.DRBD8._USERMODE_HELPER_FILE
ganeti.storage.drbd.DRBD8.html#_USERMODE_HELPER_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8._MAX_MINORS
ganeti.storage.drbd.DRBD8.html#_MAX_MINORS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8.GetUsermodeHelper
ganeti.storage.drbd.DRBD8.html#GetUsermodeHelper
Function
Static Method
PUBLIC
Returns DRBD usermode_helper currently set.
-
ganeti.storage.drbd.DRBD8.GetProcInfo
ganeti.storage.drbd.DRBD8.html#GetProcInfo
Function
Static Method
PUBLIC
Reads and parses information from /proc/drbd.
-
ganeti.storage.drbd.DRBD8.GetUsedDevs
ganeti.storage.drbd.DRBD8.html#GetUsedDevs
Function
Static Method
PUBLIC
Compute the list of used DRBD minors.
-
ganeti.storage.drbd.DRBD8.FindUnusedMinor
ganeti.storage.drbd.DRBD8.html#FindUnusedMinor
Function
Static Method
PUBLIC
Find an unused DRBD device.
-
ganeti.storage.drbd.DRBD8.GetCmdGenerator
ganeti.storage.drbd.DRBD8.html#GetCmdGenerator
Function
Static Method
PUBLIC
-
ganeti.storage.drbd.DRBD8.ShutdownAll
ganeti.storage.drbd.DRBD8.html#ShutdownAll
Function
Static Method
PUBLIC
Deactivate the device.
-
ganeti.storage.drbd.DRBD8Dev
ganeti.storage.drbd.DRBD8Dev.html
Class
Class
PUBLIC
DRBD v8.x block device.
-
ganeti.storage.drbd.DRBD8Dev._DRBD_MAJOR
ganeti.storage.drbd.DRBD8Dev.html#_DRBD_MAJOR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._NET_RECONFIG_TIMEOUT
ganeti.storage.drbd.DRBD8Dev.html#_NET_RECONFIG_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev.__init__
ganeti.storage.drbd.DRBD8Dev.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._lhost
ganeti.storage.drbd.DRBD8Dev.html#_lhost
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._lport
ganeti.storage.drbd.DRBD8Dev.html#_lport
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._rhost
ganeti.storage.drbd.DRBD8Dev.html#_rhost
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._rport
ganeti.storage.drbd.DRBD8Dev.html#_rport
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._aminor
ganeti.storage.drbd.DRBD8Dev.html#_aminor
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._secret
ganeti.storage.drbd.DRBD8Dev.html#_secret
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev.major
ganeti.storage.drbd.DRBD8Dev.html#major
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._show_info_cls
ganeti.storage.drbd.DRBD8Dev.html#_show_info_cls
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._cmd_gen
ganeti.storage.drbd.DRBD8Dev.html#_cmd_gen
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._DevPath
ganeti.storage.drbd.DRBD8Dev.html#_DevPath
Function
Static Method
PRIVATE
Return the path to a drbd device for a given minor.
-
ganeti.storage.drbd.DRBD8Dev._SetFromMinor
ganeti.storage.drbd.DRBD8Dev.html#_SetFromMinor
Function
Method
PRIVATE
Set our parameters based on the given minor.
-
ganeti.storage.drbd.DRBD8Dev.minor
ganeti.storage.drbd.DRBD8Dev.html#minor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd.DRBD8Dev.dev_path
ganeti.storage.drbd.DRBD8Dev.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd.DRBD8Dev.attached
ganeti.storage.drbd.DRBD8Dev.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._CheckMetaSize
ganeti.storage.drbd.DRBD8Dev.html#_CheckMetaSize
Function
Static Method
PRIVATE
Check if the given meta device looks like a valid one.
-
ganeti.storage.drbd.DRBD8Dev._GetShowData
ganeti.storage.drbd.DRBD8Dev.html#_GetShowData
Function
Method
PRIVATE
Return the `drbdsetup show` data.
-
ganeti.storage.drbd.DRBD8Dev._GetShowInfo
ganeti.storage.drbd.DRBD8Dev.html#_GetShowInfo
Function
Method
PRIVATE
Return parsed information from `drbdsetup show`.
-
ganeti.storage.drbd.DRBD8Dev._NeedsLocalSyncerParams
ganeti.storage.drbd.DRBD8Dev.html#_NeedsLocalSyncerParams
Function
Static Method
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev._MatchesLocal
ganeti.storage.drbd.DRBD8Dev.html#_MatchesLocal
Function
Method
PRIVATE
Test if our local config matches with an existing device.
-
ganeti.storage.drbd.DRBD8Dev._MatchesNet
ganeti.storage.drbd.DRBD8Dev.html#_MatchesNet
Function
Method
PRIVATE
Test if our network config matches with an existing device.
-
ganeti.storage.drbd.DRBD8Dev._AssembleLocal
ganeti.storage.drbd.DRBD8Dev.html#_AssembleLocal
Function
Method
PRIVATE
Configure the local part of a DRBD device.
-
ganeti.storage.drbd.DRBD8Dev._AssembleNet
ganeti.storage.drbd.DRBD8Dev.html#_AssembleNet
Function
Method
PRIVATE
Configure the network part of the device.
-
ganeti.storage.drbd.DRBD8Dev._GetNetFamily
ganeti.storage.drbd.DRBD8Dev.html#_GetNetFamily
Function
Static Method
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev.AddChildren
ganeti.storage.drbd.DRBD8Dev.html#AddChildren
Function
Method
PUBLIC
Add a disk to the DRBD device.
-
ganeti.storage.drbd.DRBD8Dev._children
ganeti.storage.drbd.DRBD8Dev.html#_children
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.drbd.DRBD8Dev.RemoveChildren
ganeti.storage.drbd.DRBD8Dev.html#RemoveChildren
Function
Method
PUBLIC
Detach the drbd device from local storage.
-
ganeti.storage.drbd.DRBD8Dev._SetMinorSyncParams
ganeti.storage.drbd.DRBD8Dev.html#_SetMinorSyncParams
Function
Method
PRIVATE
Set the parameters of the DRBD syncer.
-
ganeti.storage.drbd.DRBD8Dev.SetSyncParams
ganeti.storage.drbd.DRBD8Dev.html#SetSyncParams
Function
Method
PUBLIC
Set the synchronization parameters of the DRBD syncer.
-
ganeti.storage.drbd.DRBD8Dev.PauseResumeSync
ganeti.storage.drbd.DRBD8Dev.html#PauseResumeSync
Function
Method
PUBLIC
Pauses or resumes the sync of a DRBD device.
-
ganeti.storage.drbd.DRBD8Dev.GetProcStatus
ganeti.storage.drbd.DRBD8Dev.html#GetProcStatus
Function
Method
PUBLIC
Return the current status data from /proc/drbd for this device.
-
ganeti.storage.drbd.DRBD8Dev.GetSyncStatus
ganeti.storage.drbd.DRBD8Dev.html#GetSyncStatus
Function
Method
PUBLIC
Returns the sync status of the device.
-
ganeti.storage.drbd.DRBD8Dev.Open
ganeti.storage.drbd.DRBD8Dev.html#Open
Function
Method
PUBLIC
Make the local state primary.
-
ganeti.storage.drbd.DRBD8Dev.Close
ganeti.storage.drbd.DRBD8Dev.html#Close
Function
Method
PUBLIC
Make the local state secondary.
-
ganeti.storage.drbd.DRBD8Dev.DisconnectNet
ganeti.storage.drbd.DRBD8Dev.html#DisconnectNet
Function
Method
PUBLIC
Removes network configuration.
-
ganeti.storage.drbd.DRBD8Dev.AttachNet
ganeti.storage.drbd.DRBD8Dev.html#AttachNet
Function
Method
PUBLIC
Reconnects the network.
-
ganeti.storage.drbd.DRBD8Dev.Attach
ganeti.storage.drbd.DRBD8Dev.html#Attach
Function
Method
PUBLIC
Check if our minor is configured.
-
ganeti.storage.drbd.DRBD8Dev.Assemble
ganeti.storage.drbd.DRBD8Dev.html#Assemble
Function
Method
PUBLIC
Assemble the drbd.
-
ganeti.storage.drbd.DRBD8Dev._SlowAssemble
ganeti.storage.drbd.DRBD8Dev.html#_SlowAssemble
Function
Method
PRIVATE
Assembles the DRBD device from a (partially) configured device.
-
ganeti.storage.drbd.DRBD8Dev._FastAssemble
ganeti.storage.drbd.DRBD8Dev.html#_FastAssemble
Function
Method
PRIVATE
Assemble the drbd device from zero.
-
ganeti.storage.drbd.DRBD8Dev._ShutdownLocal
ganeti.storage.drbd.DRBD8Dev.html#_ShutdownLocal
Function
Method
PRIVATE
Detach from the local device.
-
ganeti.storage.drbd.DRBD8Dev._ShutdownNet
ganeti.storage.drbd.DRBD8Dev.html#_ShutdownNet
Function
Method
PRIVATE
Disconnect from the remote peer.
-
ganeti.storage.drbd.DRBD8Dev.Shutdown
ganeti.storage.drbd.DRBD8Dev.html#Shutdown
Function
Method
PUBLIC
Shutdown the DRBD device.
-
ganeti.storage.drbd.DRBD8Dev.Remove
ganeti.storage.drbd.DRBD8Dev.html#Remove
Function
Method
PUBLIC
Stub remove for DRBD devices.
-
ganeti.storage.drbd.DRBD8Dev.Rename
ganeti.storage.drbd.DRBD8Dev.html#Rename
Function
Method
PUBLIC
Rename a device.
-
ganeti.storage.drbd.DRBD8Dev.Grow
ganeti.storage.drbd.DRBD8Dev.html#Grow
Function
Method
PUBLIC
Resize the DRBD device and its backing storage.
-
ganeti.storage.drbd.DRBD8Dev._InitMeta
ganeti.storage.drbd.DRBD8Dev.html#_InitMeta
Function
Class Method
PRIVATE
Initialize a meta device.
-
ganeti.storage.drbd.DRBD8Dev.Create
ganeti.storage.drbd.DRBD8Dev.html#Create
Function
Class Method
PUBLIC
Create a new DRBD8 device.
-
ganeti.storage.drbd._CanReadDevice
ganeti.storage.drbd.html#_CanReadDevice
Function
Function
PRIVATE
Check if we can read from the given device.
-
ganeti.storage.filestorage.FileDeviceHelper
ganeti.storage.filestorage.FileDeviceHelper.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 6/6 methods, 1/1 class method documented
-
ganeti.storage.filestorage.FileDeviceHelper.CreateFile
ganeti.storage.filestorage.FileDeviceHelper.html#CreateFile
Function
Class Method
PUBLIC
Create a new file and its file device helper.
-
ganeti.storage.filestorage.FileDeviceHelper.__init__
ganeti.storage.filestorage.FileDeviceHelper.html#__init__
Function
Method
PUBLIC
Create a new file device helper.
-
ganeti.storage.filestorage.FileDeviceHelper.file_path_acceptance_fn
ganeti.storage.filestorage.FileDeviceHelper.html#file_path_acceptance_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.filestorage.FileDeviceHelper.path
ganeti.storage.filestorage.FileDeviceHelper.html#path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.filestorage.FileDeviceHelper.Exists
ganeti.storage.filestorage.FileDeviceHelper.html#Exists
Function
Method
PUBLIC
Check for the existence of the given file.
-
ganeti.storage.filestorage.FileDeviceHelper.Remove
ganeti.storage.filestorage.FileDeviceHelper.html#Remove
Function
Method
PUBLIC
Remove the file backing the block device.
-
ganeti.storage.filestorage.FileDeviceHelper.Size
ganeti.storage.filestorage.FileDeviceHelper.html#Size
Function
Method
PUBLIC
Return the actual disk size in bytes.
-
ganeti.storage.filestorage.FileDeviceHelper.Grow
ganeti.storage.filestorage.FileDeviceHelper.html#Grow
Function
Method
PUBLIC
Grow the file
-
ganeti.storage.filestorage.FileDeviceHelper.Move
ganeti.storage.filestorage.FileDeviceHelper.html#Move
Function
Method
PUBLIC
Move file to a location inside the file storage dir.
-
ganeti.storage.filestorage.FileStorage
ganeti.storage.filestorage.FileStorage.html
Class
Class
PUBLIC
File device.
-
ganeti.storage.filestorage.FileStorage.__init__
ganeti.storage.filestorage.FileStorage.html#__init__
Function
Method
PUBLIC
Initalizes a file device backend.
-
ganeti.storage.filestorage.FileStorage.driver
ganeti.storage.filestorage.FileStorage.html#driver
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.filestorage.FileStorage.dev_path
ganeti.storage.filestorage.FileStorage.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.filestorage.FileStorage.file
ganeti.storage.filestorage.FileStorage.html#file
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.filestorage.FileStorage.Assemble
ganeti.storage.filestorage.FileStorage.html#Assemble
Function
Method
PUBLIC
Assemble the device.
-
ganeti.storage.filestorage.FileStorage.Shutdown
ganeti.storage.filestorage.FileStorage.html#Shutdown
Function
Method
PUBLIC
Shutdown the device.
-
ganeti.storage.filestorage.FileStorage.Open
ganeti.storage.filestorage.FileStorage.html#Open
Function
Method
PUBLIC
Make the device ready for I/O.
-
ganeti.storage.filestorage.FileStorage.Close
ganeti.storage.filestorage.FileStorage.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.filestorage.FileStorage.Remove
ganeti.storage.filestorage.FileStorage.html#Remove
Function
Method
PUBLIC
Remove the file backing the block device.
-
ganeti.storage.filestorage.FileStorage.Rename
ganeti.storage.filestorage.FileStorage.html#Rename
Function
Method
PUBLIC
Renames the file.
-
ganeti.storage.filestorage.FileStorage.Grow
ganeti.storage.filestorage.FileStorage.html#Grow
Function
Method
PUBLIC
Grow the file
-
ganeti.storage.filestorage.FileStorage.Attach
ganeti.storage.filestorage.FileStorage.html#Attach
Function
Method
PUBLIC
Attach to an existing file.
-
ganeti.storage.filestorage.FileStorage.attached
ganeti.storage.filestorage.FileStorage.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.filestorage.FileStorage.GetActualSize
ganeti.storage.filestorage.FileStorage.html#GetActualSize
Function
Method
PUBLIC
Return the actual disk size.
-
ganeti.storage.filestorage.FileStorage.Create
ganeti.storage.filestorage.FileStorage.html#Create
Function
Class Method
PUBLIC
Create a new file.
-
ganeti.storage.filestorage.GetFileStorageSpaceInfo
ganeti.storage.filestorage.html#GetFileStorageSpaceInfo
Function
Function
PUBLIC
Retrieves the free and total space of the device where the file is located.
-
ganeti.storage.filestorage._GetForbiddenFileStoragePaths
ganeti.storage.filestorage.html#_GetForbiddenFileStoragePaths
Function
Function
PRIVATE
Builds a list of path prefixes which shouldn't be used for file storage.
-
ganeti.storage.filestorage._ComputeWrongFileStoragePaths
ganeti.storage.filestorage.html#_ComputeWrongFileStoragePaths
Function
Function
PRIVATE
Cross-checks a list of paths for prefixes considered bad.
-
ganeti.storage.filestorage.ComputeWrongFileStoragePaths
ganeti.storage.filestorage.html#ComputeWrongFileStoragePaths
Function
Function
PUBLIC
Returns a list of file storage paths whose prefix is considered bad.
-
ganeti.storage.filestorage._CheckFileStoragePath
ganeti.storage.filestorage.html#_CheckFileStoragePath
Function
Function
PRIVATE
Checks if a path is in a list of allowed paths for file storage.
-
ganeti.storage.filestorage._LoadAllowedFileStoragePaths
ganeti.storage.filestorage.html#_LoadAllowedFileStoragePaths
Function
Function
PRIVATE
Loads file containing allowed file storage paths.
-
ganeti.storage.filestorage.CheckFileStoragePathAcceptance
ganeti.storage.filestorage.html#CheckFileStoragePathAcceptance
Function
Function
PUBLIC
Checks if a path is allowed for file storage.
-
ganeti.storage.filestorage._CheckFileStoragePathExistance
ganeti.storage.filestorage.html#_CheckFileStoragePathExistance
Function
Function
PRIVATE
Checks whether the given path is usable on the file system.
-
ganeti.storage.filestorage.CheckFileStoragePath
ganeti.storage.filestorage.html#CheckFileStoragePath
Function
Function
PUBLIC
Checks whether the path exists and is acceptable to use.
-
ganeti.storage.gluster.GlusterVolume
ganeti.storage.gluster.GlusterVolume.html
Class
Class
PUBLIC
This class represents a Gluster volume.
-
ganeti.storage.gluster.GlusterVolume.__init__
ganeti.storage.gluster.GlusterVolume.html#__init__
Function
Method
PUBLIC
Creates a Gluster volume object.
-
ganeti.storage.gluster.GlusterVolume.server_addr
ganeti.storage.gluster.GlusterVolume.html#server_addr
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume._server_ip
ganeti.storage.gluster.GlusterVolume.html#_server_ip
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.gluster.GlusterVolume._port
ganeti.storage.gluster.GlusterVolume.html#_port
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.gluster.GlusterVolume._volume
ganeti.storage.gluster.GlusterVolume.html#_volume
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.gluster.GlusterVolume.mount_point
ganeti.storage.gluster.GlusterVolume.html#mount_point
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume._run_cmd
ganeti.storage.gluster.GlusterVolume.html#_run_cmd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.gluster.GlusterVolume.server_ip
ganeti.storage.gluster.GlusterVolume.html#server_ip
Attribute
Property
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume.port
ganeti.storage.gluster.GlusterVolume.html#port
Attribute
Property
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume.volume
ganeti.storage.gluster.GlusterVolume.html#volume
Attribute
Property
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume.__eq__
ganeti.storage.gluster.GlusterVolume.html#__eq__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume.__repr__
ganeti.storage.gluster.GlusterVolume.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume.__hash__
ganeti.storage.gluster.GlusterVolume.html#__hash__
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterVolume._IsMounted
ganeti.storage.gluster.GlusterVolume.html#_IsMounted
Function
Method
PRIVATE
Checks if we are mounted or not.
-
ganeti.storage.gluster.GlusterVolume._GuessMountFailReasons
ganeti.storage.gluster.GlusterVolume.html#_GuessMountFailReasons
Function
Method
PRIVATE
Try and give reasons why the mount might've failed.
-
ganeti.storage.gluster.GlusterVolume._GetFUSEMountString
ganeti.storage.gluster.GlusterVolume.html#_GetFUSEMountString
Function
Method
PRIVATE
Return the string FUSE needs to mount this volume.
-
ganeti.storage.gluster.GlusterVolume.GetKVMMountString
ganeti.storage.gluster.GlusterVolume.html#GetKVMMountString
Function
Method
PUBLIC
Return the string KVM needs to use this volume.
-
ganeti.storage.gluster.GlusterVolume.Mount
ganeti.storage.gluster.GlusterVolume.html#Mount
Function
Method
PUBLIC
Try and mount the volume. No-op if the volume is already mounted.
-
ganeti.storage.gluster.GlusterVolume.Unmount
ganeti.storage.gluster.GlusterVolume.html#Unmount
Function
Method
PUBLIC
Try and unmount the volume.
-
ganeti.storage.gluster.GlusterStorage
ganeti.storage.gluster.GlusterStorage.html
Class
Class
PUBLIC
File device using the Gluster backend.
-
ganeti.storage.gluster.GlusterStorage.__init__
ganeti.storage.gluster.GlusterStorage.html#__init__
Function
Method
PUBLIC
Initalizes a file device backend.
-
ganeti.storage.gluster.GlusterStorage.driver
ganeti.storage.gluster.GlusterStorage.html#driver
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.path
ganeti.storage.gluster.GlusterStorage.html#path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.volume
ganeti.storage.gluster.GlusterStorage.html#volume
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.full_path
ganeti.storage.gluster.GlusterStorage.html#full_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.file
ganeti.storage.gluster.GlusterStorage.html#file
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.Assemble
ganeti.storage.gluster.GlusterStorage.html#Assemble
Function
Method
PUBLIC
Assemble the device.
-
ganeti.storage.gluster.GlusterStorage.Shutdown
ganeti.storage.gluster.GlusterStorage.html#Shutdown
Function
Method
PUBLIC
Shutdown the device.
-
ganeti.storage.gluster.GlusterStorage.dev_path
ganeti.storage.gluster.GlusterStorage.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.attached
ganeti.storage.gluster.GlusterStorage.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.gluster.GlusterStorage.Open
ganeti.storage.gluster.GlusterStorage.html#Open
Function
Method
PUBLIC
Make the device ready for I/O.
-
ganeti.storage.gluster.GlusterStorage.Close
ganeti.storage.gluster.GlusterStorage.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.gluster.GlusterStorage.Remove
ganeti.storage.gluster.GlusterStorage.html#Remove
Function
Method
PUBLIC
Remove the file backing the block device.
-
ganeti.storage.gluster.GlusterStorage.Rename
ganeti.storage.gluster.GlusterStorage.html#Rename
Function
Method
PUBLIC
Renames the file.
-
ganeti.storage.gluster.GlusterStorage.Grow
ganeti.storage.gluster.GlusterStorage.html#Grow
Function
Method
PUBLIC
Grow the file
-
ganeti.storage.gluster.GlusterStorage.Attach
ganeti.storage.gluster.GlusterStorage.html#Attach
Function
Method
PUBLIC
Attach to an existing file.
-
ganeti.storage.gluster.GlusterStorage.GetActualSize
ganeti.storage.gluster.GlusterStorage.html#GetActualSize
Function
Method
PUBLIC
Return the actual disk size.
-
ganeti.storage.gluster.GlusterStorage.GetUserspaceAccessUri
ganeti.storage.gluster.GlusterStorage.html#GetUserspaceAccessUri
Function
Method
PUBLIC
Generate KVM userspace URIs to be used as `-drive file` settings.
-
ganeti.storage.gluster.GlusterStorage.Create
ganeti.storage.gluster.GlusterStorage.html#Create
Function
Class Method
PUBLIC
Create a new file.
-
ganeti.storage.extstorage.ExtStorageDevice
ganeti.storage.extstorage.ExtStorageDevice.html
Class
Class
PUBLIC
A block device provided by an ExtStorage Provider.
-
ganeti.storage.extstorage.ExtStorageDevice.__init__
ganeti.storage.extstorage.ExtStorageDevice.html#__init__
Function
Method
PUBLIC
Attaches to an extstorage block device.
-
ganeti.storage.extstorage.ExtStorageDevice.name
ganeti.storage.extstorage.ExtStorageDevice.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.uuid
ganeti.storage.extstorage.ExtStorageDevice.html#uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.driver
ganeti.storage.extstorage.ExtStorageDevice.html#driver
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.vol_name
ganeti.storage.extstorage.ExtStorageDevice.html#vol_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.ext_params
ganeti.storage.extstorage.ExtStorageDevice.html#ext_params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.major
ganeti.storage.extstorage.ExtStorageDevice.html#major
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.minor
ganeti.storage.extstorage.ExtStorageDevice.html#minor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.uris
ganeti.storage.extstorage.ExtStorageDevice.html#uris
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.Create
ganeti.storage.extstorage.ExtStorageDevice.html#Create
Function
Class Method
PUBLIC
Create a new extstorage device.
-
ganeti.storage.extstorage.ExtStorageDevice.Remove
ganeti.storage.extstorage.ExtStorageDevice.html#Remove
Function
Method
PUBLIC
Remove the extstorage device.
-
ganeti.storage.extstorage.ExtStorageDevice.Rename
ganeti.storage.extstorage.ExtStorageDevice.html#Rename
Function
Method
PUBLIC
Rename this device.
-
ganeti.storage.extstorage.ExtStorageDevice.Attach
ganeti.storage.extstorage.ExtStorageDevice.html#Attach
Function
Method
PUBLIC
Attach to an existing extstorage device.
-
ganeti.storage.extstorage.ExtStorageDevice.attached
ganeti.storage.extstorage.ExtStorageDevice.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.dev_path
ganeti.storage.extstorage.ExtStorageDevice.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.extstorage.ExtStorageDevice.Assemble
ganeti.storage.extstorage.ExtStorageDevice.html#Assemble
Function
Method
PUBLIC
Assemble the device.
-
ganeti.storage.extstorage.ExtStorageDevice.Shutdown
ganeti.storage.extstorage.ExtStorageDevice.html#Shutdown
Function
Method
PUBLIC
Shutdown the device.
-
ganeti.storage.extstorage.ExtStorageDevice.Open
ganeti.storage.extstorage.ExtStorageDevice.html#Open
Function
Method
PUBLIC
Make the device ready for I/O.
-
ganeti.storage.extstorage.ExtStorageDevice.Close
ganeti.storage.extstorage.ExtStorageDevice.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.extstorage.ExtStorageDevice.Grow
ganeti.storage.extstorage.ExtStorageDevice.html#Grow
Function
Method
PUBLIC
Grow the Volume.
-
ganeti.storage.extstorage.ExtStorageDevice.SetInfo
ganeti.storage.extstorage.ExtStorageDevice.html#SetInfo
Function
Method
PUBLIC
Update metadata with info text.
-
ganeti.storage.extstorage.ExtStorageDevice.GetUserspaceAccessUri
ganeti.storage.extstorage.ExtStorageDevice.html#GetUserspaceAccessUri
Function
Method
PUBLIC
Generate KVM userspace URIs to be used as `-drive file` settings.
-
ganeti.storage.extstorage.ExtStorageDevice.Snapshot
ganeti.storage.extstorage.ExtStorageDevice.html#Snapshot
Function
Method
PUBLIC
Take a snapshot of the block device.
-
ganeti.storage.extstorage._ExtStorageAction
ganeti.storage.extstorage.html#_ExtStorageAction
Function
Function
PRIVATE
Take an External Storage action.
-
ganeti.storage.extstorage._CheckExtStorageFile
ganeti.storage.extstorage.html#_CheckExtStorageFile
Function
Function
PRIVATE
Check prereqs for an ExtStorage file.
-
ganeti.storage.extstorage.ExtStorageFromDisk
ganeti.storage.extstorage.html#ExtStorageFromDisk
Function
Function
PUBLIC
Create an ExtStorage instance from disk.
-
ganeti.storage.extstorage._ExtStorageEnvironment
ganeti.storage.extstorage.html#_ExtStorageEnvironment
Function
Function
PRIVATE
Calculate the environment for an External Storage script.
-
ganeti.storage.extstorage._VolumeLogName
ganeti.storage.extstorage.html#_VolumeLogName
Function
Function
PRIVATE
Compute the ExtStorage log filename for a given Volume and operation.
-
ganeti.storage.bdev.RbdShowmappedJsonError
ganeti.storage.bdev.RbdShowmappedJsonError.html
Class
Exception
PUBLIC
`rbd showmmapped' JSON formatting error Exception class.
-
ganeti.storage.bdev._CheckResult
ganeti.storage.bdev.html#_CheckResult
Function
Function
PRIVATE
Throws an error if the given result is a failed one.
-
ganeti.storage.bdev.LogicalVolume
ganeti.storage.bdev.LogicalVolume.html
Class
Class
PUBLIC
Logical Volume block device.
-
ganeti.storage.bdev.LogicalVolume._VALID_NAME_RE
ganeti.storage.bdev.LogicalVolume.html#_VALID_NAME_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume._PARSE_PV_DEV_RE
ganeti.storage.bdev.LogicalVolume.html#_PARSE_PV_DEV_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume._INVALID_NAMES
ganeti.storage.bdev.LogicalVolume.html#_INVALID_NAMES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume._INVALID_SUBSTRINGS
ganeti.storage.bdev.LogicalVolume.html#_INVALID_SUBSTRINGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume.__init__
ganeti.storage.bdev.LogicalVolume.html#__init__
Function
Method
PUBLIC
Attaches to a LV device.
-
ganeti.storage.bdev.LogicalVolume._vg_name
ganeti.storage.bdev.LogicalVolume.html#_vg_name
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume._lv_name
ganeti.storage.bdev.LogicalVolume.html#_lv_name
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume.dev_path
ganeti.storage.bdev.LogicalVolume.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume._degraded
ganeti.storage.bdev.LogicalVolume.html#_degraded
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.bdev.LogicalVolume.major
ganeti.storage.bdev.LogicalVolume.html#major
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume.minor
ganeti.storage.bdev.LogicalVolume.html#minor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume.pe_size
ganeti.storage.bdev.LogicalVolume.html#pe_size
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume.stripe_count
ganeti.storage.bdev.LogicalVolume.html#stripe_count
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume.pv_names
ganeti.storage.bdev.LogicalVolume.html#pv_names
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume._GetStdPvSize
ganeti.storage.bdev.LogicalVolume.html#_GetStdPvSize
Function
Static Method
PRIVATE
Return the the standard PV size (used with exclusive storage).
-
ganeti.storage.bdev.LogicalVolume._ComputeNumPvs
ganeti.storage.bdev.LogicalVolume.html#_ComputeNumPvs
Function
Static Method
PRIVATE
Compute the number of PVs needed for an LV (with exclusive storage).
-
ganeti.storage.bdev.LogicalVolume._GetEmptyPvNames
ganeti.storage.bdev.LogicalVolume.html#_GetEmptyPvNames
Function
Static Method
PRIVATE
Return a list of empty PVs, by name.
-
ganeti.storage.bdev.LogicalVolume.Create
ganeti.storage.bdev.LogicalVolume.html#Create
Function
Class Method
PUBLIC
Create a new logical volume.
-
ganeti.storage.bdev.LogicalVolume._GetVolumeInfo
ganeti.storage.bdev.LogicalVolume.html#_GetVolumeInfo
Function
Static Method
PRIVATE
Returns LVM Volume infos using lvm_cmd
-
ganeti.storage.bdev.LogicalVolume.GetPVInfo
ganeti.storage.bdev.LogicalVolume.html#GetPVInfo
Function
Class Method
PUBLIC
Get the free space info for PVs in a volume group.
-
ganeti.storage.bdev.LogicalVolume._GetRawFreePvInfo
ganeti.storage.bdev.LogicalVolume.html#_GetRawFreePvInfo
Function
Class Method
PRIVATE
Return info (size/free) about PVs.
-
ganeti.storage.bdev.LogicalVolume._GetExclusiveStorageVgFree
ganeti.storage.bdev.LogicalVolume.html#_GetExclusiveStorageVgFree
Function
Class Method
PRIVATE
Return the free disk space in the given VG, in exclusive storage mode.
-
ganeti.storage.bdev.LogicalVolume.GetVgSpindlesInfo
ganeti.storage.bdev.LogicalVolume.html#GetVgSpindlesInfo
Function
Class Method
PUBLIC
Get the free space info for specific VGs.
-
ganeti.storage.bdev.LogicalVolume.GetVGInfo
ganeti.storage.bdev.LogicalVolume.html#GetVGInfo
Function
Class Method
PUBLIC
Get the free space info for specific VGs.
-
ganeti.storage.bdev.LogicalVolume._ValidateName
ganeti.storage.bdev.LogicalVolume.html#_ValidateName
Function
Class Method
PRIVATE
Validates that a given name is valid as VG or LV name.
-
ganeti.storage.bdev.LogicalVolume.Remove
ganeti.storage.bdev.LogicalVolume.html#Remove
Function
Method
PUBLIC
Remove this logical volume.
-
ganeti.storage.bdev.LogicalVolume.Rename
ganeti.storage.bdev.LogicalVolume.html#Rename
Function
Method
PUBLIC
Rename this logical volume.
-
ganeti.storage.bdev.LogicalVolume._ParseLvInfoLine
ganeti.storage.bdev.LogicalVolume.html#_ParseLvInfoLine
Function
Static Method
PRIVATE
-
ganeti.storage.bdev.LogicalVolume.GetLvGlobalInfo
ganeti.storage.bdev.LogicalVolume.html#GetLvGlobalInfo
Function
Static Method
PUBLIC
Obtain the current state of the existing LV disks.
-
ganeti.storage.bdev.LogicalVolume.Attach
ganeti.storage.bdev.LogicalVolume.html#Attach
Function
Method
PUBLIC
Attach to an existing LV.
-
ganeti.storage.bdev.LogicalVolume.attached
ganeti.storage.bdev.LogicalVolume.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.LogicalVolume.Assemble
ganeti.storage.bdev.LogicalVolume.html#Assemble
Function
Method
PUBLIC
Assemble the device.
-
ganeti.storage.bdev.LogicalVolume.Shutdown
ganeti.storage.bdev.LogicalVolume.html#Shutdown
Function
Method
PUBLIC
Shutdown the device.
-
ganeti.storage.bdev.LogicalVolume.GetSyncStatus
ganeti.storage.bdev.LogicalVolume.html#GetSyncStatus
Function
Method
PUBLIC
Returns the sync status of the device.
-
ganeti.storage.bdev.LogicalVolume.Open
ganeti.storage.bdev.LogicalVolume.html#Open
Function
Method
PUBLIC
Make the device ready for I/O.
-
ganeti.storage.bdev.LogicalVolume.Close
ganeti.storage.bdev.LogicalVolume.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.bdev.LogicalVolume.Snapshot
ganeti.storage.bdev.LogicalVolume.html#Snapshot
Function
Method
PUBLIC
Create a snapshot copy of an lvm block device.
-
ganeti.storage.bdev.LogicalVolume._RemoveOldInfo
ganeti.storage.bdev.LogicalVolume.html#_RemoveOldInfo
Function
Method
PRIVATE
Try to remove old tags from the lv.
-
ganeti.storage.bdev.LogicalVolume.SetInfo
ganeti.storage.bdev.LogicalVolume.html#SetInfo
Function
Method
PUBLIC
Update metadata with info text.
-
ganeti.storage.bdev.LogicalVolume._GetGrowthAvaliabilityExclStor
ganeti.storage.bdev.LogicalVolume.html#_GetGrowthAvaliabilityExclStor
Function
Method
PRIVATE
Return how much the disk can grow with exclusive storage.
-
ganeti.storage.bdev.LogicalVolume.Grow
ganeti.storage.bdev.LogicalVolume.html#Grow
Function
Method
PUBLIC
Grow the logical volume.
-
ganeti.storage.bdev.LogicalVolume.GetActualSpindles
ganeti.storage.bdev.LogicalVolume.html#GetActualSpindles
Function
Method
PUBLIC
Return the number of spindles used.
-
ganeti.storage.bdev.PersistentBlockDevice
ganeti.storage.bdev.PersistentBlockDevice.html
Class
Class
PUBLIC
A block device with persistent node
-
ganeti.storage.bdev.PersistentBlockDevice.__init__
ganeti.storage.bdev.PersistentBlockDevice.html#__init__
Function
Method
PUBLIC
Attaches to a static block device.
-
ganeti.storage.bdev.PersistentBlockDevice.dev_path
ganeti.storage.bdev.PersistentBlockDevice.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.PersistentBlockDevice.major
ganeti.storage.bdev.PersistentBlockDevice.html#major
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.PersistentBlockDevice.minor
ganeti.storage.bdev.PersistentBlockDevice.html#minor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.PersistentBlockDevice.Create
ganeti.storage.bdev.PersistentBlockDevice.html#Create
Function
Class Method
PUBLIC
Create a new device
-
ganeti.storage.bdev.PersistentBlockDevice.Remove
ganeti.storage.bdev.PersistentBlockDevice.html#Remove
Function
Method
PUBLIC
Remove a device
-
ganeti.storage.bdev.PersistentBlockDevice.Rename
ganeti.storage.bdev.PersistentBlockDevice.html#Rename
Function
Method
PUBLIC
Rename this device.
-
ganeti.storage.bdev.PersistentBlockDevice.Attach
ganeti.storage.bdev.PersistentBlockDevice.html#Attach
Function
Method
PUBLIC
Attach to an existing block device.
-
ganeti.storage.bdev.PersistentBlockDevice.attached
ganeti.storage.bdev.PersistentBlockDevice.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.PersistentBlockDevice.Assemble
ganeti.storage.bdev.PersistentBlockDevice.html#Assemble
Function
Method
PUBLIC
Assemble the device.
-
ganeti.storage.bdev.PersistentBlockDevice.Shutdown
ganeti.storage.bdev.PersistentBlockDevice.html#Shutdown
Function
Method
PUBLIC
Shutdown the device.
-
ganeti.storage.bdev.PersistentBlockDevice.Open
ganeti.storage.bdev.PersistentBlockDevice.html#Open
Function
Method
PUBLIC
Make the device ready for I/O.
-
ganeti.storage.bdev.PersistentBlockDevice.Close
ganeti.storage.bdev.PersistentBlockDevice.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.bdev.PersistentBlockDevice.Grow
ganeti.storage.bdev.PersistentBlockDevice.html#Grow
Function
Method
PUBLIC
Grow the logical volume.
-
ganeti.storage.bdev.PersistentBlockDevice.Import
ganeti.storage.bdev.PersistentBlockDevice.html#Import
Function
Method
PUBLIC
Builds the shell command for importing data to device.
-
ganeti.storage.bdev.RADOSBlockDevice
ganeti.storage.bdev.RADOSBlockDevice.html
Class
Class
PUBLIC
A RADOS Block Device (rbd).
-
ganeti.storage.bdev.RADOSBlockDevice.__init__
ganeti.storage.bdev.RADOSBlockDevice.html#__init__
Function
Method
PUBLIC
Attaches to an rbd device.
-
ganeti.storage.bdev.RADOSBlockDevice.driver
ganeti.storage.bdev.RADOSBlockDevice.html#driver
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice.rbd_name
ganeti.storage.bdev.RADOSBlockDevice.html#rbd_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice.rbd_pool
ganeti.storage.bdev.RADOSBlockDevice.html#rbd_pool
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice.major
ganeti.storage.bdev.RADOSBlockDevice.html#major
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice.minor
ganeti.storage.bdev.RADOSBlockDevice.html#minor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice.Create
ganeti.storage.bdev.RADOSBlockDevice.html#Create
Function
Class Method
PUBLIC
Create a new rbd device.
-
ganeti.storage.bdev.RADOSBlockDevice.Remove
ganeti.storage.bdev.RADOSBlockDevice.html#Remove
Function
Method
PUBLIC
Remove the rbd device.
-
ganeti.storage.bdev.RADOSBlockDevice.Rename
ganeti.storage.bdev.RADOSBlockDevice.html#Rename
Function
Method
PUBLIC
Rename this device.
-
ganeti.storage.bdev.RADOSBlockDevice.Attach
ganeti.storage.bdev.RADOSBlockDevice.html#Attach
Function
Method
PUBLIC
Attach to an existing rbd device.
-
ganeti.storage.bdev.RADOSBlockDevice.attached
ganeti.storage.bdev.RADOSBlockDevice.html#attached
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice.dev_path
ganeti.storage.bdev.RADOSBlockDevice.html#dev_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.storage.bdev.RADOSBlockDevice._MapVolumeToBlockdev
ganeti.storage.bdev.RADOSBlockDevice.html#_MapVolumeToBlockdev
Function
Method
PRIVATE
Maps existing rbd volumes to block devices.
-
ganeti.storage.bdev.RADOSBlockDevice._VolumeToBlockdev
ganeti.storage.bdev.RADOSBlockDevice.html#_VolumeToBlockdev
Function
Class Method
PRIVATE
Do the 'volume name'-to-'rbd block device' resolving.
-
ganeti.storage.bdev.RADOSBlockDevice._ParseRbdShowmappedJson
ganeti.storage.bdev.RADOSBlockDevice.html#_ParseRbdShowmappedJson
Function
Static Method
PRIVATE
Parse the json output of `rbd showmapped'.
-
ganeti.storage.bdev.RADOSBlockDevice._ParseRbdShowmappedPlain
ganeti.storage.bdev.RADOSBlockDevice.html#_ParseRbdShowmappedPlain
Function
Static Method
PRIVATE
Parse the (plain / text) output of `rbd showmapped'.
-
ganeti.storage.bdev.RADOSBlockDevice.Assemble
ganeti.storage.bdev.RADOSBlockDevice.html#Assemble
Function
Method
PUBLIC
Assemble the device.
-
ganeti.storage.bdev.RADOSBlockDevice.Shutdown
ganeti.storage.bdev.RADOSBlockDevice.html#Shutdown
Function
Method
PUBLIC
Shutdown the device.
-
ganeti.storage.bdev.RADOSBlockDevice._UnmapVolumeFromBlockdev
ganeti.storage.bdev.RADOSBlockDevice.html#_UnmapVolumeFromBlockdev
Function
Method
PRIVATE
Unmaps the rbd device from the Volume it is mapped.
-
ganeti.storage.bdev.RADOSBlockDevice.Open
ganeti.storage.bdev.RADOSBlockDevice.html#Open
Function
Method
PUBLIC
Make the device ready for I/O.
-
ganeti.storage.bdev.RADOSBlockDevice.Close
ganeti.storage.bdev.RADOSBlockDevice.html#Close
Function
Method
PUBLIC
Notifies that the device will no longer be used for I/O.
-
ganeti.storage.bdev.RADOSBlockDevice.Grow
ganeti.storage.bdev.RADOSBlockDevice.html#Grow
Function
Method
PUBLIC
Grow the Volume.
-
ganeti.storage.bdev.RADOSBlockDevice.Import
ganeti.storage.bdev.RADOSBlockDevice.html#Import
Function
Method
PUBLIC
Builds the shell command for importing data to device.
-
ganeti.storage.bdev.RADOSBlockDevice.Export
ganeti.storage.bdev.RADOSBlockDevice.html#Export
Function
Method
PUBLIC
Builds the shell command for exporting data from device.
-
ganeti.storage.bdev.RADOSBlockDevice.GetUserspaceAccessUri
ganeti.storage.bdev.RADOSBlockDevice.html#GetUserspaceAccessUri
Function
Method
PUBLIC
Generate KVM userspace URIs to be used as `-drive file` settings.
-
ganeti.storage.bdev._VerifyDiskType
ganeti.storage.bdev.html#_VerifyDiskType
Function
Function
PRIVATE
Undocumented
-
ganeti.storage.bdev._VerifyDiskParams
ganeti.storage.bdev.html#_VerifyDiskParams
Function
Function
PRIVATE
Verifies if all disk parameters are set.
-
ganeti.storage.bdev.FindDevice
ganeti.storage.bdev.html#FindDevice
Function
Function
PUBLIC
Search for an existing, assembled device.
-
ganeti.storage.bdev.Assemble
ganeti.storage.bdev.html#Assemble
Function
Function
PUBLIC
Try to attach or assemble an existing device.
-
ganeti.storage.bdev.Create
ganeti.storage.bdev.html#Create
Function
Function
PUBLIC
Create a device.
-
ganeti.storage.bdev.DEV_MAP
ganeti.storage.bdev.html#DEV_MAP
Attribute
Constant
PUBLIC
Map disk types to disk type classes.
-
ganeti.ht._PAREN_RE
ganeti.ht.html#_PAREN_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.ht.Parens
ganeti.ht.html#Parens
Function
Function
PUBLIC
Enclose text in parens if necessary.
-
ganeti.ht._WrapperBase
ganeti.ht._WrapperBase.html
Class
Class
PRIVATE
No class docstring; 0/2 instance variable, 0/1 class variable, 1/2 method documented
-
ganeti.ht._WrapperBase.__slots__
ganeti.ht._WrapperBase.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.ht._WrapperBase.__init__
ganeti.ht._WrapperBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.ht._WrapperBase._text
ganeti.ht._WrapperBase.html#_text
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.ht._WrapperBase._fn
ganeti.ht._WrapperBase.html#_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.ht._WrapperBase.__call__
ganeti.ht._WrapperBase.html#__call__
Function
Method
PUBLIC
Undocumented
-
ganeti.ht._DescWrapper
ganeti.ht._DescWrapper.html
Class
Class
PRIVATE
Wrapper class for description text.
-
ganeti.ht._DescWrapper.__str__
ganeti.ht._DescWrapper.html#__str__
Function
Method
PUBLIC
Undocumented
-
ganeti.ht._DescWrapper.__repr__
ganeti.ht._DescWrapper.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.ht.WithDesc
ganeti.ht.html#WithDesc
Function
Function
PUBLIC
Builds wrapper class with description text.
-
ganeti.ht.CombinationDesc
ganeti.ht.html#CombinationDesc
Function
Function
PUBLIC
Build description for combinating operator.
-
ganeti.ht.EmptyList
ganeti.ht.html#EmptyList
Function
Function
PUBLIC
Returns an empty list.
-
ganeti.ht.EmptyDict
ganeti.ht.html#EmptyDict
Function
Function
PUBLIC
Returns an empty dict.
-
ganeti.ht.NoDefault
ganeti.ht.html#NoDefault
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TAny
ganeti.ht.html#TAny
Function
Function
PUBLIC
Accepts any value.
-
ganeti.ht.TNotNone
ganeti.ht.html#TNotNone
Function
Function
PUBLIC
Checks if the given value is not None.
-
ganeti.ht.TNone
ganeti.ht.html#TNone
Function
Function
PUBLIC
Checks if the given value is None.
-
ganeti.ht.TValueNone
ganeti.ht.html#TValueNone
Function
Function
PUBLIC
-
ganeti.ht.TBool
ganeti.ht.html#TBool
Function
Function
PUBLIC
Checks if the given value is a boolean.
-
ganeti.ht.TInt
ganeti.ht.html#TInt
Function
Function
PUBLIC
Checks if the given value is an integer.
-
ganeti.ht.TFloat
ganeti.ht.html#TFloat
Function
Function
PUBLIC
Checks if the given value is a float.
-
ganeti.ht.TString
ganeti.ht.html#TString
Function
Function
PUBLIC
Checks if the given value is a string.
-
ganeti.ht.TTrue
ganeti.ht.html#TTrue
Function
Function
PUBLIC
Checks if a given value evaluates to a boolean True value.
-
ganeti.ht.TElemOf
ganeti.ht.html#TElemOf
Function
Function
PUBLIC
Builds a function that checks if a given value is a member of a list.
-
ganeti.ht.TList
ganeti.ht.html#TList
Function
Function
PUBLIC
Checks if the given value is a list.
-
ganeti.ht.TTuple
ganeti.ht.html#TTuple
Function
Function
PUBLIC
Checks if the given value is a tuple.
-
ganeti.ht.TDict
ganeti.ht.html#TDict
Function
Function
PUBLIC
Checks if the given value is a dictionary.
-
ganeti.ht.TIsLength
ganeti.ht.html#TIsLength
Function
Function
PUBLIC
Check is the given container is of the given size.
-
ganeti.ht.TAnd
ganeti.ht.html#TAnd
Function
Function
PUBLIC
Combine multiple functions using an AND operation.
-
ganeti.ht.TOr
ganeti.ht.html#TOr
Function
Function
PUBLIC
Combine multiple functions using an OR operation.
-
ganeti.ht.TMap
ganeti.ht.html#TMap
Function
Function
PUBLIC
Checks that a modified version of the argument passes the given test.
-
ganeti.ht.TRegex
ganeti.ht.html#TRegex
Function
Function
PUBLIC
Checks whether a string matches a specific regular expression.
-
ganeti.ht.TMaybe
ganeti.ht.html#TMaybe
Function
Function
PUBLIC
Wrap a test in a TOr(TNone, test).
-
ganeti.ht.TMaybeValueNone
ganeti.ht.html#TMaybeValueNone
Function
Function
PUBLIC
Used for unsetting values.
-
ganeti.ht.TNonEmptyString
ganeti.ht.html#TNonEmptyString
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TMaybeString
ganeti.ht.html#TMaybeString
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TMaybeBool
ganeti.ht.html#TMaybeBool
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TMaybeDict
ganeti.ht.html#TMaybeDict
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TMaybeList
ganeti.ht.html#TMaybeList
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TNonNegative
ganeti.ht.html#TNonNegative
Function
Function
PUBLIC
Undocumented
-
ganeti.ht.TPositive
ganeti.ht.html#TPositive
Function
Function
PUBLIC
Undocumented
-
ganeti.ht.TNonNegativeInt
ganeti.ht.html#TNonNegativeInt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TPositiveInt
ganeti.ht.html#TPositiveInt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TMaybePositiveInt
ganeti.ht.html#TMaybePositiveInt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TNegativeInt
ganeti.ht.html#TNegativeInt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TNonNegativeFloat
ganeti.ht.html#TNonNegativeFloat
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TJobId
ganeti.ht.html#TJobId
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TNumber
ganeti.ht.html#TNumber
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TRelativeJobId
ganeti.ht.html#TRelativeJobId
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TInstanceOf
ganeti.ht.html#TInstanceOf
Function
Function
PUBLIC
Checks if a given value is an instance of cls.
-
ganeti.ht.TPrivate
ganeti.ht.html#TPrivate
Function
Function
PUBLIC
Checks if a given value is an instance of Private.
-
ganeti.ht.TSecret
ganeti.ht.html#TSecret
Function
Function
PUBLIC
Checks if a given value is an instance of Private.
-
ganeti.ht.TListOf
ganeti.ht.html#TListOf
Function
Function
PUBLIC
Checks if a given value is a list with all elements of the same type.
-
ganeti.ht.TMaybeListOf
ganeti.ht.html#TMaybeListOf
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TTupleOf
ganeti.ht.html#TTupleOf
Function
Function
PUBLIC
Checks if a given value is a list with the proper size and its elements match the given types.
-
ganeti.ht.TSetOf
ganeti.ht.html#TSetOf
Function
Function
PUBLIC
Checks if a given value is a list with all elements of the same type and eliminates duplicated elements.
-
ganeti.ht.TDictOf
ganeti.ht.html#TDictOf
Function
Function
PUBLIC
Checks a dict type for the type of its key/values.
-
ganeti.ht._TStrictDictCheck
ganeti.ht.html#_TStrictDictCheck
Function
Function
PRIVATE
-
ganeti.ht.TStrictDict
ganeti.ht.html#TStrictDict
Function
Function
PUBLIC
Strict dictionary check with specific keys.
-
ganeti.ht.TItems
ganeti.ht.html#TItems
Function
Function
PUBLIC
Checks individual items of a container.
-
ganeti.ht.TMaxValue
ganeti.ht.html#TMaxValue
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TAllocPolicy
ganeti.ht.html#TAllocPolicy
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TCVErrorCode
ganeti.ht.html#TCVErrorCode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TQueryResultCode
ganeti.ht.html#TQueryResultCode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TExportTarget
ganeti.ht.html#TExportTarget
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TExportMode
ganeti.ht.html#TExportMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TDiskIndex
ganeti.ht.html#TDiskIndex
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TReplaceDisksMode
ganeti.ht.html#TReplaceDisksMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TDiskTemplate
ganeti.ht.html#TDiskTemplate
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TEvacMode
ganeti.ht.html#TEvacMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TIAllocatorTestDir
ganeti.ht.html#TIAllocatorTestDir
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TIAllocatorMode
ganeti.ht.html#TIAllocatorMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TImportExportCompression
ganeti.ht.html#TImportExportCompression
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TAdminStateSource
ganeti.ht.html#TAdminStateSource
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TSetParamsMods
ganeti.ht.html#TSetParamsMods
Function
Function
PUBLIC
Generates a check for modification lists.
-
ganeti.ht.TINicParams
ganeti.ht.html#TINicParams
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TIDiskParams
ganeti.ht.html#TIDiskParams
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.THypervisor
ganeti.ht.html#THypervisor
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TMigrationMode
ganeti.ht.html#TMigrationMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TNICMode
ganeti.ht.html#TNICMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TInstCreateMode
ganeti.ht.html#TInstCreateMode
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TRebootType
ganeti.ht.html#TRebootType
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TFileDriver
ganeti.ht.html#TFileDriver
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TOobCommand
ganeti.ht.html#TOobCommand
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TQueryTypeOp
ganeti.ht.html#TQueryTypeOp
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TDiskParams
ganeti.ht.html#TDiskParams
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TDiskChanges
ganeti.ht.html#TDiskChanges
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TRecreateDisksInfo
ganeti.ht.html#TRecreateDisksInfo
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TStorageType
ganeti.ht.html#TStorageType
Function
Function
PUBLIC
Builds a function that checks if a given value is a valid storage type.
-
ganeti.ht.TTagKind
ganeti.ht.html#TTagKind
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TDdmSimple
ganeti.ht.html#TDdmSimple
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TVerifyOptionalChecks
ganeti.ht.html#TVerifyOptionalChecks
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TSshKeyType
ganeti.ht.html#TSshKeyType
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht._CheckCIDRNetNotation
ganeti.ht.html#_CheckCIDRNetNotation
Function
Function
PRIVATE
Ensure a given CIDR notation type is valid.
-
ganeti.ht._CheckCIDRAddrNotation
ganeti.ht.html#_CheckCIDRAddrNotation
Function
Function
PRIVATE
Ensure a given CIDR notation type is valid.
-
ganeti.ht._CheckCIDR6AddrNotation
ganeti.ht.html#_CheckCIDR6AddrNotation
Function
Function
PRIVATE
Ensure a given CIDR notation type is valid.
-
ganeti.ht._CheckCIDR6NetNotation
ganeti.ht.html#_CheckCIDR6NetNotation
Function
Function
PRIVATE
Ensure a given CIDR notation type is valid.
-
ganeti.ht.TIPv4Address
ganeti.ht.html#TIPv4Address
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TIPv6Address
ganeti.ht.html#TIPv6Address
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TIPv4Network
ganeti.ht.html#TIPv4Network
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TIPv6Network
ganeti.ht.html#TIPv6Network
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TObject
ganeti.ht.html#TObject
Function
Function
PUBLIC
Undocumented
-
ganeti.ht.TObjectCheck
ganeti.ht.html#TObjectCheck
Function
Function
PUBLIC
Helper to generate type checks for objects.
-
ganeti.ht.TQueryFieldDef
ganeti.ht.html#TQueryFieldDef
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TQueryRow
ganeti.ht.html#TQueryRow
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TQueryResult
ganeti.ht.html#TQueryResult
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TQueryResponse
ganeti.ht.html#TQueryResponse
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TQueryFieldsResponse
ganeti.ht.html#TQueryFieldsResponse
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TJobIdListItem
ganeti.ht.html#TJobIdListItem
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TJobIdList
ganeti.ht.html#TJobIdList
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TJobIdListOnly
ganeti.ht.html#TJobIdListOnly
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.ht.TInstanceMultiAllocResponse
ganeti.ht.html#TInstanceMultiAllocResponse
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster._RpcResultsToHooksResults
ganeti.hooksmaster.html#_RpcResultsToHooksResults
Function
Function
PRIVATE
Function to convert RPC results to the format expected by HooksMaster.
-
ganeti.hooksmaster.HooksMaster
ganeti.hooksmaster.HooksMaster.html
Class
Class
PUBLIC
No class docstring; 0/13 instance variable, 5/5 methods, 0/1 static method documented
-
ganeti.hooksmaster.HooksMaster.__init__
ganeti.hooksmaster.HooksMaster.html#__init__
Function
Method
PUBLIC
Base class for hooks masters.
-
ganeti.hooksmaster.HooksMaster.opcode
ganeti.hooksmaster.HooksMaster.html#opcode
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.hooks_path
ganeti.hooksmaster.HooksMaster.html#hooks_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.hooks_execution_fn
ganeti.hooksmaster.HooksMaster.html#hooks_execution_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.hooks_results_adapt_fn
ganeti.hooksmaster.HooksMaster.html#hooks_results_adapt_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.build_env_fn
ganeti.hooksmaster.HooksMaster.html#build_env_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.prepare_post_nodes_fn
ganeti.hooksmaster.HooksMaster.html#prepare_post_nodes_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.log_fn
ganeti.hooksmaster.HooksMaster.html#log_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.htype
ganeti.hooksmaster.HooksMaster.html#htype
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.cluster_name
ganeti.hooksmaster.HooksMaster.html#cluster_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.master_name
ganeti.hooksmaster.HooksMaster.html#master_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.pre_env
ganeti.hooksmaster.HooksMaster.html#pre_env
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.pre_nodes
ganeti.hooksmaster.HooksMaster.html#pre_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster.post_nodes
ganeti.hooksmaster.HooksMaster.html#post_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.hooksmaster.HooksMaster._BuildEnv
ganeti.hooksmaster.HooksMaster.html#_BuildEnv
Function
Method
PRIVATE
Compute the environment and the target nodes.
-
ganeti.hooksmaster.HooksMaster._RunWrapper
ganeti.hooksmaster.HooksMaster.html#_RunWrapper
Function
Method
PRIVATE
Simple wrapper over self.callfn.
-
ganeti.hooksmaster.HooksMaster.RunPhase
ganeti.hooksmaster.HooksMaster.html#RunPhase
Function
Method
PUBLIC
Run all the scripts for a phase.
-
ganeti.hooksmaster.HooksMaster.RunConfigUpdate
ganeti.hooksmaster.HooksMaster.html#RunConfigUpdate
Function
Method
PUBLIC
Run the special configuration update hook
-
ganeti.hooksmaster.HooksMaster.BuildFromLu
ganeti.hooksmaster.HooksMaster.html#BuildFromLu
Function
Static Method
PUBLIC
Undocumented
-
ganeti.backend._BOOT_ID_PATH
ganeti.backend.html#_BOOT_ID_PATH
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._MAX_SSL_CERT_VALIDITY
ganeti.backend.html#_MAX_SSL_CERT_VALIDITY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._X509_KEY_FILE
ganeti.backend.html#_X509_KEY_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._X509_CERT_FILE
ganeti.backend.html#_X509_CERT_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._IES_STATUS_FILE
ganeti.backend.html#_IES_STATUS_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._IES_PID_FILE
ganeti.backend.html#_IES_PID_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._IES_CA_FILE
ganeti.backend.html#_IES_CA_FILE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._LVSLINE_REGEX
ganeti.backend.html#_LVSLINE_REGEX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._MASTER_START
ganeti.backend.html#_MASTER_START
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._MASTER_STOP
ganeti.backend.html#_MASTER_STOP
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._RCMD_MAX_MODE
ganeti.backend.html#_RCMD_MAX_MODE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._RCMD_INVALID_DELAY
ganeti.backend.html#_RCMD_INVALID_DELAY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._RCMD_LOCK_TIMEOUT
ganeti.backend.html#_RCMD_LOCK_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend.RPCFail
ganeti.backend.RPCFail.html
Class
Exception
PUBLIC
Class denoting RPC failure.
-
ganeti.backend._GetInstReasonFilename
ganeti.backend.html#_GetInstReasonFilename
Function
Function
PRIVATE
Path of the file containing the reason of the instance status change.
-
ganeti.backend._StoreInstReasonTrail
ganeti.backend.html#_StoreInstReasonTrail
Function
Function
PRIVATE
Serialize a reason trail related to an instance change of state to file.
-
ganeti.backend._Fail
ganeti.backend.html#_Fail
Function
Function
PRIVATE
Log an error and the raise an RPCFail exception.
-
ganeti.backend._GetConfig
ganeti.backend.html#_GetConfig
Function
Function
PRIVATE
Simple wrapper to return a SimpleStore.
-
ganeti.backend._GetSshRunner
ganeti.backend.html#_GetSshRunner
Function
Function
PRIVATE
Simple wrapper to return an SshRunner.
-
ganeti.backend._Decompress
ganeti.backend.html#_Decompress
Function
Function
PRIVATE
Unpacks data compressed by the RPC client.
-
ganeti.backend._CleanDirectory
ganeti.backend.html#_CleanDirectory
Function
Function
PRIVATE
Removes all regular files in a directory.
-
ganeti.backend._BuildUploadFileList
ganeti.backend.html#_BuildUploadFileList
Function
Function
PRIVATE
Build the list of allowed upload files.
-
ganeti.backend.JobQueuePurge
ganeti.backend.html#JobQueuePurge
Function
Function
PUBLIC
Removes job queue files and archived jobs.
-
ganeti.backend.GetMasterNodeName
ganeti.backend.html#GetMasterNodeName
Function
Function
PUBLIC
Returns the master node name.
-
ganeti.backend.RunLocalHooks
ganeti.backend.html#RunLocalHooks
Function
Function
PUBLIC
Decorator that runs hooks before and after the decorated function.
-
ganeti.backend._BuildMasterIpEnv
ganeti.backend.html#_BuildMasterIpEnv
Function
Function
PRIVATE
Builds environment variables for master IP hooks.
-
ganeti.backend._RunMasterSetupScript
ganeti.backend.html#_RunMasterSetupScript
Function
Function
PRIVATE
Execute the master IP address setup script.
-
ganeti.backend.ActivateMasterIp
ganeti.backend.html#ActivateMasterIp
Function
Function
PUBLIC
Activate the IP address of the master daemon.
-
ganeti.backend.StartMasterDaemons
ganeti.backend.html#StartMasterDaemons
Function
Function
PUBLIC
Activate local node as master node.
-
ganeti.backend.DeactivateMasterIp
ganeti.backend.html#DeactivateMasterIp
Function
Function
PUBLIC
Deactivate the master IP on this node.
-
ganeti.backend.StopMasterDaemons
ganeti.backend.html#StopMasterDaemons
Function
Function
PUBLIC
Stop the master daemons on this node.
-
ganeti.backend.ChangeMasterNetmask
ganeti.backend.html#ChangeMasterNetmask
Function
Function
PUBLIC
Change the netmask of the master IP.
-
ganeti.backend.EtcHostsModify
ganeti.backend.html#EtcHostsModify
Function
Function
PUBLIC
Modify a host entry in /etc/hosts.
-
ganeti.backend.LeaveCluster
ganeti.backend.html#LeaveCluster
Function
Function
PUBLIC
Cleans up and remove the current node.
-
ganeti.backend._CheckStorageParams
ganeti.backend.html#_CheckStorageParams
Function
Function
PRIVATE
Performs sanity checks for storage parameters.
-
ganeti.backend._CheckLvmStorageParams
ganeti.backend.html#_CheckLvmStorageParams
Function
Function
PRIVATE
Performs sanity check for the 'exclusive storage' flag.
-
ganeti.backend._GetLvmVgSpaceInfo
ganeti.backend.html#_GetLvmVgSpaceInfo
Function
Function
PRIVATE
Wrapper around _GetVgInfo which checks the storage parameters.
-
ganeti.backend._GetVgInfo
ganeti.backend.html#_GetVgInfo
Function
Function
PRIVATE
Retrieves information about a LVM volume group.
-
ganeti.backend._GetLvmPvSpaceInfo
ganeti.backend.html#_GetLvmPvSpaceInfo
Function
Function
PRIVATE
Wrapper around _GetVgSpindlesInfo with sanity checks.
-
ganeti.backend._GetVgSpindlesInfo
ganeti.backend.html#_GetVgSpindlesInfo
Function
Function
PRIVATE
Retrieves information about spindles in an LVM volume group.
-
ganeti.backend._GetHvInfo
ganeti.backend.html#_GetHvInfo
Function
Function
PRIVATE
Retrieves node information from a hypervisor.
-
ganeti.backend._GetHvInfoAll
ganeti.backend.html#_GetHvInfoAll
Function
Function
PRIVATE
Retrieves node information for all hypervisors.
-
ganeti.backend._GetNamedNodeInfo
ganeti.backend.html#_GetNamedNodeInfo
Function
Function
PRIVATE
Calls fn for all names in names and returns a list of dictionaries.
-
ganeti.backend.GetNodeInfo
ganeti.backend.html#GetNodeInfo
Function
Function
PUBLIC
Gives back a hash with different information about the node.
-
ganeti.backend._GetFileStorageSpaceInfo
ganeti.backend.html#_GetFileStorageSpaceInfo
Function
Function
PRIVATE
Wrapper around filestorage.GetSpaceInfo.
-
ganeti.backend._STORAGE_TYPE_INFO_FN
ganeti.backend.html#_STORAGE_TYPE_INFO_FN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend._ApplyStorageInfoFunction
ganeti.backend.html#_ApplyStorageInfoFunction
Function
Function
PRIVATE
Looks up and applies the correct function to calculate free and total storage for the given storage type.
-
ganeti.backend._CheckExclusivePvs
ganeti.backend.html#_CheckExclusivePvs
Function
Function
PRIVATE
Check that PVs are not shared among LVs
-
ganeti.backend._VerifyHypervisors
ganeti.backend.html#_VerifyHypervisors
Function
Function
PRIVATE
Verifies the hypervisor. Appends the results to the 'results' list.
-
ganeti.backend._VerifyHvparams
ganeti.backend.html#_VerifyHvparams
Function
Function
PRIVATE
Verifies the hvparams. Appends the results to the 'results' list.
-
ganeti.backend._VerifyInstanceList
ganeti.backend.html#_VerifyInstanceList
Function
Function
PRIVATE
Verifies the instance list.
-
ganeti.backend._VerifyNodeInfo
ganeti.backend.html#_VerifyNodeInfo
Function
Function
PRIVATE
Verifies the node info.
-
ganeti.backend._VerifyClientCertificate
ganeti.backend.html#_VerifyClientCertificate
Function
Function
PRIVATE
Verify the existance and validity of the client SSL certificate.
-
ganeti.backend._VerifySshSetup
ganeti.backend.html#_VerifySshSetup
Function
Function
PRIVATE
Verifies the state of the SSH key files.
-
ganeti.backend._VerifySshClutter
ganeti.backend.html#_VerifySshClutter
Function
Function
PRIVATE
Verifies that the 'authorized_keys' files are not cluttered up.
-
ganeti.backend.VerifyNodeNetTest
ganeti.backend.html#VerifyNodeNetTest
Function
Function
PUBLIC
Verify nodes are reachable.
-
ganeti.backend.VerifyMasterIP
ganeti.backend.html#VerifyMasterIP
Function
Function
PUBLIC
Verify master IP is reachable.
-
ganeti.backend.VerifyNode
ganeti.backend.html#VerifyNode
Function
Function
PUBLIC
Verify the status of the local node.
-
ganeti.backend.GetCryptoTokens
ganeti.backend.html#GetCryptoTokens
Function
Function
PUBLIC
Perform actions on the node's cryptographic tokens.
-
ganeti.backend.EnsureDaemon
ganeti.backend.html#EnsureDaemon
Function
Function
PUBLIC
Ensures the given daemon is running or stopped.
-
ganeti.backend._InitSshUpdateData
ganeti.backend.html#_InitSshUpdateData
Function
Function
PRIVATE
Undocumented
-
ganeti.backend.AddNodeSshKey
ganeti.backend.html#AddNodeSshKey
Function
Function
PUBLIC
Distributes a node's public SSH key across the cluster.
-
ganeti.backend.SshAddNodeInfo
ganeti.backend.html#SshAddNodeInfo
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.backend.AddNodeSshKeyBulk
ganeti.backend.html#AddNodeSshKeyBulk
Function
Function
PUBLIC
Distributes a node's public SSH key across the cluster.
-
ganeti.backend.RemoveNodeSshKey
ganeti.backend.html#RemoveNodeSshKey
Function
Function
PUBLIC
Removes the node's SSH keys from the key files and distributes those.
-
ganeti.backend.SshRemoveNodeInfo
ganeti.backend.html#SshRemoveNodeInfo
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.backend.RemoveNodeSshKeyBulk
ganeti.backend.html#RemoveNodeSshKeyBulk
Function
Function
PUBLIC
Removes the node's SSH keys from the key files and distributes those.
-
ganeti.backend._GenerateNodeSshKey
ganeti.backend.html#_GenerateNodeSshKey
Function
Function
PRIVATE
Generates the root SSH key pair on the node.
-
ganeti.backend._GetMasterNodeUUID
ganeti.backend.html#_GetMasterNodeUUID
Function
Function
PRIVATE
Undocumented
-
ganeti.backend._GetOldMasterKeys
ganeti.backend.html#_GetOldMasterKeys
Function
Function
PRIVATE
Undocumented
-
ganeti.backend._GetNewMasterKey
ganeti.backend.html#_GetNewMasterKey
Function
Function
PRIVATE
Undocumented
-
ganeti.backend._ReplaceMasterKeyOnMaster
ganeti.backend.html#_ReplaceMasterKeyOnMaster
Function
Function
PRIVATE
Undocumented
-
ganeti.backend.RenewSshKeys
ganeti.backend.html#RenewSshKeys
Function
Function
PUBLIC
Renews all SSH keys and updates authorized_keys and ganeti_pub_keys.
-
ganeti.backend.GetBlockDevSizes
ganeti.backend.html#GetBlockDevSizes
Function
Function
PUBLIC
Return the size of the given block devices
-
ganeti.backend.GetVolumeList
ganeti.backend.html#GetVolumeList
Function
Function
PUBLIC
Compute list of logical volumes and their size.
-
ganeti.backend.ListVolumeGroups
ganeti.backend.html#ListVolumeGroups
Function
Function
PUBLIC
List the volume groups and their size.
-
ganeti.backend.NodeVolumes
ganeti.backend.html#NodeVolumes
Function
Function
PUBLIC
List all volumes on this node.
-
ganeti.backend.BridgesExist
ganeti.backend.html#BridgesExist
Function
Function
PUBLIC
Check if a list of bridges exist on the current node.
-
ganeti.backend.GetInstanceListForHypervisor
ganeti.backend.html#GetInstanceListForHypervisor
Function
Function
PUBLIC
Provides a list of instances of the given hypervisor.
-
ganeti.backend.GetInstanceList
ganeti.backend.html#GetInstanceList
Function
Function
PUBLIC
Provides a list of instances.
-
ganeti.backend.GetInstanceInfo
ganeti.backend.html#GetInstanceInfo
Function
Function
PUBLIC
Gives back the information about an instance as a dictionary.
-
ganeti.backend.GetInstanceMigratable
ganeti.backend.html#GetInstanceMigratable
Function
Function
PUBLIC
Computes whether an instance can be migrated.
-
ganeti.backend.GetAllInstancesInfo
ganeti.backend.html#GetAllInstancesInfo
Function
Function
PUBLIC
Gather data about all instances.
-
ganeti.backend.GetInstanceConsoleInfo
ganeti.backend.html#GetInstanceConsoleInfo
Function
Function
PUBLIC
Gather data about the console access of a set of instances of this node.
-
ganeti.backend._InstanceLogName
ganeti.backend.html#_InstanceLogName
Function
Function
PRIVATE
Compute the OS log filename for a given instance and operation.
-
ganeti.backend.InstanceOsAdd
ganeti.backend.html#InstanceOsAdd
Function
Function
PUBLIC
Add an OS to an instance.
-
ganeti.backend.RunRenameInstance
ganeti.backend.html#RunRenameInstance
Function
Function
PUBLIC
Run the OS rename script for an instance.
-
ganeti.backend._GetBlockDevSymlinkPath
ganeti.backend.html#_GetBlockDevSymlinkPath
Function
Function
PRIVATE
Returns symlink path for block device.
-
ganeti.backend._SymlinkBlockDev
ganeti.backend.html#_SymlinkBlockDev
Function
Function
PRIVATE
Set up symlinks to a instance's block device.
-
ganeti.backend._RemoveBlockDevLinks
ganeti.backend.html#_RemoveBlockDevLinks
Function
Function
PRIVATE
Remove the block device symlinks belonging to the given instance.
-
ganeti.backend._CalculateDeviceURI
ganeti.backend.html#_CalculateDeviceURI
Function
Function
PRIVATE
Get the URI for the device.
-
ganeti.backend._GatherAndLinkBlockDevs
ganeti.backend.html#_GatherAndLinkBlockDevs
Function
Function
PRIVATE
Set up an instance's block device(s).
-
ganeti.backend._IsInstanceUserDown
ganeti.backend.html#_IsInstanceUserDown
Function
Function
PRIVATE
Undocumented
-
ganeti.backend._GetInstanceInfo
ganeti.backend.html#_GetInstanceInfo
Function
Function
PRIVATE
-
ganeti.backend.StartInstance
ganeti.backend.html#StartInstance
Function
Function
PUBLIC
Start an instance.
-
ganeti.backend.InstanceShutdown
ganeti.backend.html#InstanceShutdown
Function
Function
PUBLIC
Shut an instance down.
-
ganeti.backend.InstanceReboot
ganeti.backend.html#InstanceReboot
Function
Function
PUBLIC
Reboot an instance.
-
ganeti.backend.InstanceBalloonMemory
ganeti.backend.html#InstanceBalloonMemory
Function
Function
PUBLIC
Resize an instance's memory.
-
ganeti.backend.MigrationInfo
ganeti.backend.html#MigrationInfo
Function
Function
PUBLIC
Gather information about an instance to be migrated.
-
ganeti.backend.AcceptInstance
ganeti.backend.html#AcceptInstance
Function
Function
PUBLIC
Prepare the node to accept an instance.
-
ganeti.backend.FinalizeMigrationDst
ganeti.backend.html#FinalizeMigrationDst
Function
Function
PUBLIC
Finalize any preparation to accept an instance.
-
ganeti.backend.MigrateInstance
ganeti.backend.html#MigrateInstance
Function
Function
PUBLIC
Migrates an instance to another node.
-
ganeti.backend.FinalizeMigrationSource
ganeti.backend.html#FinalizeMigrationSource
Function
Function
PUBLIC
Finalize the instance migration on the source node.
-
ganeti.backend.GetMigrationStatus
ganeti.backend.html#GetMigrationStatus
Function
Function
PUBLIC
Get the migration status
-
ganeti.backend.HotplugDevice
ganeti.backend.html#HotplugDevice
Function
Function
PUBLIC
Hotplug a device
-
ganeti.backend.HotplugSupported
ganeti.backend.html#HotplugSupported
Function
Function
PUBLIC
Checks if hotplug is generally supported.
-
ganeti.backend.ModifyInstanceMetadata
ganeti.backend.html#ModifyInstanceMetadata
Function
Function
PUBLIC
Sends instance data to the metadata daemon.
-
ganeti.backend.BlockdevCreate
ganeti.backend.html#BlockdevCreate
Function
Function
PUBLIC
Creates a block device for an instance.
-
ganeti.backend._DumpDevice
ganeti.backend.html#_DumpDevice
Function
Function
PRIVATE
This function images/wipes the device using a local file.
-
ganeti.backend._DownloadAndDumpDevice
ganeti.backend.html#_DownloadAndDumpDevice
Function
Function
PRIVATE
This function images a device using a downloaded image file.
-
ganeti.backend.BlockdevConvert
ganeti.backend.html#BlockdevConvert
Function
Function
PUBLIC
Copies data from source block device to target.
-
ganeti.backend.BlockdevWipe
ganeti.backend.html#BlockdevWipe
Function
Function
PUBLIC
Wipes a block device.
-
ganeti.backend.BlockdevImage
ganeti.backend.html#BlockdevImage
Function
Function
PUBLIC
Images a block device either by dumping a local file or downloading a URL.
-
ganeti.backend.BlockdevPauseResumeSync
ganeti.backend.html#BlockdevPauseResumeSync
Function
Function
PUBLIC
Pause or resume the sync of the block device.
-
ganeti.backend.BlockdevRemove
ganeti.backend.html#BlockdevRemove
Function
Function
PUBLIC
Remove a block device.
-
ganeti.backend._RecursiveAssembleBD
ganeti.backend.html#_RecursiveAssembleBD
Function
Function
PRIVATE
Activate a block device for an instance.
-
ganeti.backend.BlockdevAssemble
ganeti.backend.html#BlockdevAssemble
Function
Function
PUBLIC
Activate a block device for an instance.
-
ganeti.backend.BlockdevShutdown
ganeti.backend.html#BlockdevShutdown
Function
Function
PUBLIC
Shut down a block device.
-
ganeti.backend.BlockdevAddchildren
ganeti.backend.html#BlockdevAddchildren
Function
Function
PUBLIC
Extend a mirrored block device.
-
ganeti.backend.BlockdevRemovechildren
ganeti.backend.html#BlockdevRemovechildren
Function
Function
PUBLIC
Shrink a mirrored block device.
-
ganeti.backend.BlockdevGetmirrorstatus
ganeti.backend.html#BlockdevGetmirrorstatus
Function
Function
PUBLIC
Get the mirroring status of a list of devices.
-
ganeti.backend.BlockdevGetmirrorstatusMulti
ganeti.backend.html#BlockdevGetmirrorstatusMulti
Function
Function
PUBLIC
Get the mirroring status of a list of devices.
-
ganeti.backend._CheckForPlainDisk
ganeti.backend.html#_CheckForPlainDisk
Function
Function
PRIVATE
Check within a disk and its children if there is a plain disk type.
-
ganeti.backend._RecursiveFindBD
ganeti.backend.html#_RecursiveFindBD
Function
Function
PRIVATE
Check if a device is activated.
-
ganeti.backend._OpenRealBD
ganeti.backend.html#_OpenRealBD
Function
Function
PRIVATE
Opens the underlying block device of a disk.
-
ganeti.backend.BlockdevFind
ganeti.backend.html#BlockdevFind
Function
Function
PUBLIC
Check if a device is activated.
-
ganeti.backend.BlockdevGetdimensions
ganeti.backend.html#BlockdevGetdimensions
Function
Function
PUBLIC
Computes the size of the given disks.
-
ganeti.backend.UploadFile
ganeti.backend.html#UploadFile
Function
Function
PUBLIC
Write a file to the filesystem.
-
ganeti.backend.RunOob
ganeti.backend.html#RunOob
Function
Function
PUBLIC
Executes oob_program with given command on given node.
-
ganeti.backend._OSOndiskAPIVersion
ganeti.backend.html#_OSOndiskAPIVersion
Function
Function
PRIVATE
Compute and return the API version of a given OS.
-
ganeti.backend.DiagnoseOS
ganeti.backend.html#DiagnoseOS
Function
Function
PUBLIC
Compute the validity for all OSes.
-
ganeti.backend._TryOSFromDisk
ganeti.backend.html#_TryOSFromDisk
Function
Function
PRIVATE
Create an OS instance from disk.
-
ganeti.backend.OSFromDisk
ganeti.backend.html#OSFromDisk
Function
Function
PUBLIC
Create an OS instance from disk.
-
ganeti.backend.OSCoreEnv
ganeti.backend.html#OSCoreEnv
Function
Function
PUBLIC
Calculate the basic environment for an os script.
-
ganeti.backend.OSEnvironment
ganeti.backend.html#OSEnvironment
Function
Function
PUBLIC
Calculate the environment for an os script.
-
ganeti.backend.DiagnoseExtStorage
ganeti.backend.html#DiagnoseExtStorage
Function
Function
PUBLIC
Compute the validity for all ExtStorage Providers.
-
ganeti.backend.BlockdevGrow
ganeti.backend.html#BlockdevGrow
Function
Function
PUBLIC
Grow a stack of block devices.
-
ganeti.backend.BlockdevSnapshot
ganeti.backend.html#BlockdevSnapshot
Function
Function
PUBLIC
Create a snapshot copy of a block device.
-
ganeti.backend.BlockdevSetInfo
ganeti.backend.html#BlockdevSetInfo
Function
Function
PUBLIC
Sets 'metadata' information on block devices.
-
ganeti.backend.FinalizeExport
ganeti.backend.html#FinalizeExport
Function
Function
PUBLIC
Write out the export configuration information.
-
ganeti.backend.ExportInfo
ganeti.backend.html#ExportInfo
Function
Function
PUBLIC
Get export configuration information.
-
ganeti.backend.ListExports
ganeti.backend.html#ListExports
Function
Function
PUBLIC
Return a list of exports currently available on this machine.
-
ganeti.backend.RemoveExport
ganeti.backend.html#RemoveExport
Function
Function
PUBLIC
Remove an existing export from the node.
-
ganeti.backend.BlockdevRename
ganeti.backend.html#BlockdevRename
Function
Function
PUBLIC
Rename a list of block devices.
-
ganeti.backend._TransformFileStorageDir
ganeti.backend.html#_TransformFileStorageDir
Function
Function
PRIVATE
Checks whether given file_storage_dir is valid.
-
ganeti.backend.CreateFileStorageDir
ganeti.backend.html#CreateFileStorageDir
Function
Function
PUBLIC
Create file storage directory.
-
ganeti.backend.RemoveFileStorageDir
ganeti.backend.html#RemoveFileStorageDir
Function
Function
PUBLIC
Remove file storage directory.
-
ganeti.backend.RenameFileStorageDir
ganeti.backend.html#RenameFileStorageDir
Function
Function
PUBLIC
Rename the file storage directory.
-
ganeti.backend._EnsureJobQueueFile
ganeti.backend.html#_EnsureJobQueueFile
Function
Function
PRIVATE
Checks whether the given filename is in the queue directory.
-
ganeti.backend.JobQueueUpdate
ganeti.backend.html#JobQueueUpdate
Function
Function
PUBLIC
Updates a file in the queue directory.
-
ganeti.backend.JobQueueRename
ganeti.backend.html#JobQueueRename
Function
Function
PUBLIC
Renames a job queue file.
-
ganeti.backend.BlockdevClose
ganeti.backend.html#BlockdevClose
Function
Function
PUBLIC
Closes the given block devices.
-
ganeti.backend.BlockdevOpen
ganeti.backend.html#BlockdevOpen
Function
Function
PUBLIC
Opens the given block devices.
-
ganeti.backend.ValidateHVParams
ganeti.backend.html#ValidateHVParams
Function
Function
PUBLIC
Validates the given hypervisor parameters.
-
ganeti.backend._CheckOSPList
ganeti.backend.html#_CheckOSPList
Function
Function
PRIVATE
Check whether a list of parameters is supported by the OS.
-
ganeti.backend._CheckOSVariant
ganeti.backend.html#_CheckOSVariant
Function
Function
PRIVATE
Check whether an OS name conforms to the os variants specification.
-
ganeti.backend.ValidateOS
ganeti.backend.html#ValidateOS
Function
Function
PUBLIC
Validate the given OS parameters.
-
ganeti.backend.ExportOS
ganeti.backend.html#ExportOS
Function
Function
PUBLIC
Creates a GZIPed tarball with an OS definition and environment.
-
ganeti.backend.DemoteFromMC
ganeti.backend.html#DemoteFromMC
Function
Function
PUBLIC
Demotes the current node from master candidate role.
-
ganeti.backend._GetX509Filenames
ganeti.backend.html#_GetX509Filenames
Function
Function
PRIVATE
Returns the full paths for the private key and certificate.
-
ganeti.backend.CreateX509Certificate
ganeti.backend.html#CreateX509Certificate
Function
Function
PUBLIC
Creates a new X509 certificate for SSL/TLS.
-
ganeti.backend.RemoveX509Certificate
ganeti.backend.html#RemoveX509Certificate
Function
Function
PUBLIC
Removes a X509 certificate.
-
ganeti.backend._GetImportExportIoCommand
ganeti.backend.html#_GetImportExportIoCommand
Function
Function
PRIVATE
Returns the command for the requested input/output.
-
ganeti.backend._CreateImportExportStatusDir
ganeti.backend.html#_CreateImportExportStatusDir
Function
Function
PRIVATE
Creates status directory for import/export.
-
ganeti.backend.StartImportExportDaemon
ganeti.backend.html#StartImportExportDaemon
Function
Function
PUBLIC
Starts an import or export daemon.
-
ganeti.backend.GetImportExportStatus
ganeti.backend.html#GetImportExportStatus
Function
Function
PUBLIC
Returns import/export daemon status.
-
ganeti.backend.AbortImportExport
ganeti.backend.html#AbortImportExport
Function
Function
PUBLIC
Sends SIGTERM to a running import/export daemon.
-
ganeti.backend.CleanupImportExport
ganeti.backend.html#CleanupImportExport
Function
Function
PUBLIC
Cleanup after an import or export.
-
ganeti.backend._FindDisks
ganeti.backend.html#_FindDisks
Function
Function
PRIVATE
Finds attached
BlockDevs for the given disks.
-
ganeti.backend.DrbdDisconnectNet
ganeti.backend.html#DrbdDisconnectNet
Function
Function
PUBLIC
Disconnects the network on a list of drbd devices.
-
ganeti.backend.DrbdAttachNet
ganeti.backend.html#DrbdAttachNet
Function
Function
PUBLIC
Attaches the network on a list of drbd devices.
-
ganeti.backend.DrbdWaitSync
ganeti.backend.html#DrbdWaitSync
Function
Function
PUBLIC
Wait until DRBDs have synchronized.
-
ganeti.backend.DrbdNeedsActivation
ganeti.backend.html#DrbdNeedsActivation
Function
Function
PUBLIC
Checks which of the passed disks needs activation and returns their UUIDs.
-
ganeti.backend.GetDrbdUsermodeHelper
ganeti.backend.html#GetDrbdUsermodeHelper
Function
Function
PUBLIC
Returns DRBD usermode helper currently configured.
-
ganeti.backend.PowercycleNode
ganeti.backend.html#PowercycleNode
Function
Function
PUBLIC
Hard-powercycle the node.
-
ganeti.backend._VerifyRestrictedCmdName
ganeti.backend.html#_VerifyRestrictedCmdName
Function
Function
PRIVATE
Verifies a restricted command name.
-
ganeti.backend._CommonRestrictedCmdCheck
ganeti.backend.html#_CommonRestrictedCmdCheck
Function
Function
PRIVATE
Common checks for restricted command file system directories and files.
-
ganeti.backend._VerifyRestrictedCmdDirectory
ganeti.backend.html#_VerifyRestrictedCmdDirectory
Function
Function
PRIVATE
Verifies restricted command directory.
-
ganeti.backend._VerifyRestrictedCmd
ganeti.backend.html#_VerifyRestrictedCmd
Function
Function
PRIVATE
Verifies a whole restricted command and returns its executable filename.
-
ganeti.backend._PrepareRestrictedCmd
ganeti.backend.html#_PrepareRestrictedCmd
Function
Function
PRIVATE
Performs a number of tests on a restricted command.
-
ganeti.backend.RunRestrictedCmd
ganeti.backend.html#RunRestrictedCmd
Function
Function
PUBLIC
Executes a restricted command after performing strict tests.
-
ganeti.backend.SetWatcherPause
ganeti.backend.html#SetWatcherPause
Function
Function
PUBLIC
Creates or removes the watcher pause file.
-
ganeti.backend.ConfigureOVS
ganeti.backend.html#ConfigureOVS
Function
Function
PUBLIC
Creates a OpenvSwitch on the node.
-
ganeti.backend.GetFileInfo
ganeti.backend.html#GetFileInfo
Function
Function
PUBLIC
Checks if a file exists and returns information related to it.
-
ganeti.backend.HooksRunner
ganeti.backend.HooksRunner.html
Class
Class
PUBLIC
Hook runner.
-
ganeti.backend.HooksRunner.__init__
ganeti.backend.HooksRunner.html#__init__
Function
Method
PUBLIC
Constructor for hooks runner.
-
ganeti.backend.HooksRunner._BASE_DIR
ganeti.backend.HooksRunner.html#_BASE_DIR
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.backend.HooksRunner.RunLocalHooks
ganeti.backend.HooksRunner.html#RunLocalHooks
Function
Method
PUBLIC
Check that the hooks will be run only locally and then run them.
-
ganeti.backend.HooksRunner.RunHooks
ganeti.backend.HooksRunner.html#RunHooks
Function
Method
PUBLIC
Run the scripts in the hooks directory.
-
ganeti.backend.IAllocatorRunner
ganeti.backend.IAllocatorRunner.html
Class
Class
PUBLIC
IAllocator runner.
-
ganeti.backend.IAllocatorRunner.Run
ganeti.backend.IAllocatorRunner.html#Run
Function
Static Method
PUBLIC
Run an iallocator script.
-
ganeti.backend.DevCacheManager
ganeti.backend.DevCacheManager.html
Class
Class
PUBLIC
Simple class for managing a cache of block device information.
-
ganeti.backend.DevCacheManager._DEV_PREFIX
ganeti.backend.DevCacheManager.html#_DEV_PREFIX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.backend.DevCacheManager._ConvertPath
ganeti.backend.DevCacheManager.html#_ConvertPath
Function
Class Method
PRIVATE
Converts a /dev/name path to the cache file name.
-
ganeti.backend.DevCacheManager.UpdateCache
ganeti.backend.DevCacheManager.html#UpdateCache
Function
Class Method
PUBLIC
Updates the cache information for a given device.
-
ganeti.backend.DevCacheManager.RemoveCache
ganeti.backend.DevCacheManager.html#RemoveCache
Function
Class Method
PUBLIC
Remove data for a dev_path.
-
ganeti.qlang.MakeSimpleFilter
ganeti.qlang.html#MakeSimpleFilter
Function
Function
PUBLIC
Builds simple a filter.
-
ganeti.qlang._ConvertLogicOp
ganeti.qlang.html#_ConvertLogicOp
Function
Function
PRIVATE
Creates parsing action function for logic operator.
-
ganeti.qlang._KNOWN_REGEXP_DELIM
ganeti.qlang.html#_KNOWN_REGEXP_DELIM
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.qlang._KNOWN_REGEXP_FLAGS
ganeti.qlang.html#_KNOWN_REGEXP_FLAGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.qlang._ConvertRegexpValue
ganeti.qlang.html#_ConvertRegexpValue
Function
Function
PRIVATE
Regular expression value for condition.
-
ganeti.qlang.BuildFilterParser
ganeti.qlang.html#BuildFilterParser
Function
Function
PUBLIC
Builds a parser for query filter strings.
-
ganeti.qlang.ParseFilter
ganeti.qlang.html#ParseFilter
Function
Function
PUBLIC
Parses a query filter.
-
ganeti.qlang._CheckFilter
ganeti.qlang.html#_CheckFilter
Function
Function
PRIVATE
CHecks if a string could be a filter.
-
ganeti.qlang._CheckGlobbing
ganeti.qlang.html#_CheckGlobbing
Function
Function
PRIVATE
Checks if a string could be a globbing pattern.
-
ganeti.qlang._MakeFilterPart
ganeti.qlang.html#_MakeFilterPart
Function
Function
PRIVATE
Generates filter for one argument.
-
ganeti.qlang.MakeFilter
ganeti.qlang.html#MakeFilter
Function
Function
PUBLIC
Try to make a filter from arguments to a command.
-
ganeti.jstore._ReadNumericFile
ganeti.jstore.html#_ReadNumericFile
Function
Function
PRIVATE
Reads a file containing a number.
-
ganeti.jstore.ReadSerial
ganeti.jstore.html#ReadSerial
Function
Function
PUBLIC
Read the serial file.
-
ganeti.jstore.ReadVersion
ganeti.jstore.html#ReadVersion
Function
Function
PUBLIC
Read the queue version.
-
ganeti.jstore.InitAndVerifyQueue
ganeti.jstore.html#InitAndVerifyQueue
Function
Function
PUBLIC
Open and lock job queue.
-
ganeti.jstore.CheckDrainFlag
ganeti.jstore.html#CheckDrainFlag
Function
Function
PUBLIC
Check if the queue is marked to be drained.
-
ganeti.jstore.SetDrainFlag
ganeti.jstore.html#SetDrainFlag
Function
Function
PUBLIC
Sets the drain flag for the queue.
-
ganeti.jstore.FormatJobID
ganeti.jstore.html#FormatJobID
Function
Function
PUBLIC
Convert a job ID to int format.
-
ganeti.jstore.GetArchiveDirectory
ganeti.jstore.html#GetArchiveDirectory
Function
Function
PUBLIC
Returns the archive directory for a job.
-
ganeti.jstore.ParseJobId
ganeti.jstore.html#ParseJobId
Function
Function
PUBLIC
Parses a job ID and converts it to integer.
-
ganeti.query.NETQ_CONFIG
ganeti.query.html#NETQ_CONFIG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NETQ_GROUP
ganeti.query.html#NETQ_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NETQ_STATS
ganeti.query.html#NETQ_STATS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NETQ_INST
ganeti.query.html#NETQ_INST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NQ_CONFIG
ganeti.query.html#NQ_CONFIG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NQ_INST
ganeti.query.html#NQ_INST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NQ_LIVE
ganeti.query.html#NQ_LIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NQ_GROUP
ganeti.query.html#NQ_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NQ_OOB
ganeti.query.html#NQ_OOB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.IQ_CONFIG
ganeti.query.html#IQ_CONFIG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.IQ_LIVE
ganeti.query.html#IQ_LIVE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.IQ_DISKUSAGE
ganeti.query.html#IQ_DISKUSAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.IQ_CONSOLE
ganeti.query.html#IQ_CONSOLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.IQ_NODES
ganeti.query.html#IQ_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.IQ_NETWORKS
ganeti.query.html#IQ_NETWORKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.LQ_MODE
ganeti.query.html#LQ_MODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.LQ_OWNER
ganeti.query.html#LQ_OWNER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.LQ_PENDING
ganeti.query.html#LQ_PENDING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.GQ_CONFIG
ganeti.query.html#GQ_CONFIG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.GQ_NODE
ganeti.query.html#GQ_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.GQ_INST
ganeti.query.html#GQ_INST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.GQ_DISKPARAMS
ganeti.query.html#GQ_DISKPARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.CQ_CONFIG
ganeti.query.html#CQ_CONFIG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.CQ_QUEUE_DRAINED
ganeti.query.html#CQ_QUEUE_DRAINED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.CQ_WATCHER_PAUSE
ganeti.query.html#CQ_WATCHER_PAUSE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.JQ_ARCHIVED
ganeti.query.html#JQ_ARCHIVED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.QFF_HOSTNAME
ganeti.query.html#QFF_HOSTNAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.QFF_IP_ADDRESS
ganeti.query.html#QFF_IP_ADDRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.QFF_JOB_ID
ganeti.query.html#QFF_JOB_ID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.QFF_SPLIT_TIMESTAMP
ganeti.query.html#QFF_SPLIT_TIMESTAMP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.QFF_ALL
ganeti.query.html#QFF_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.FIELD_NAME_RE
ganeti.query.html#FIELD_NAME_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.TITLE_RE
ganeti.query.html#TITLE_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.DOC_RE
ganeti.query.html#DOC_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query._VERIFY_FN
ganeti.query.html#_VERIFY_FN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FS_UNKNOWN
ganeti.query.html#_FS_UNKNOWN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FS_NODATA
ganeti.query.html#_FS_NODATA
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FS_UNAVAIL
ganeti.query.html#_FS_UNAVAIL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FS_OFFLINE
ganeti.query.html#_FS_OFFLINE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FS_ALL
ganeti.query.html#_FS_ALL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._VTToQFT
ganeti.query.html#_VTToQFT
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.query._SERIAL_NO_DOC
ganeti.query.html#_SERIAL_NO_DOC
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._GetUnknownField
ganeti.query.html#_GetUnknownField
Function
Function
PRIVATE
Gets the contents of an unknown field.
-
ganeti.query._GetQueryFields
ganeti.query.html#_GetQueryFields
Function
Function
PRIVATE
Calculates the internal list of selected fields.
-
ganeti.query.GetAllFields
ganeti.query.html#GetAllFields
Function
Function
PUBLIC
-
ganeti.query._FilterHints
ganeti.query._FilterHints.html
Class
Class
PRIVATE
Class for filter analytics.
-
ganeti.query._FilterHints.__init__
ganeti.query._FilterHints.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query._FilterHints._namefield
ganeti.query._FilterHints.html#_namefield
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterHints._allnames
ganeti.query._FilterHints.html#_allnames
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterHints._names
ganeti.query._FilterHints.html#_names
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterHints._datakinds
ganeti.query._FilterHints.html#_datakinds
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterHints.RequestedNames
ganeti.query._FilterHints.html#RequestedNames
Function
Method
PUBLIC
Returns all requested values.
-
ganeti.query._FilterHints.ReferencedData
ganeti.query._FilterHints.html#ReferencedData
Function
Method
PUBLIC
Returns all kinds of data referenced by the filter.
-
ganeti.query._FilterHints._NeedAllNames
ganeti.query._FilterHints.html#_NeedAllNames
Function
Method
PRIVATE
Changes internal state to request all names.
-
ganeti.query._FilterHints.NoteLogicOp
ganeti.query._FilterHints.html#NoteLogicOp
Function
Method
PUBLIC
Called when handling a logic operation.
-
ganeti.query._FilterHints.NoteUnaryOp
ganeti.query._FilterHints.html#NoteUnaryOp
Function
Method
PUBLIC
Called when handling an unary operation.
-
ganeti.query._FilterHints.NoteBinaryOp
ganeti.query._FilterHints.html#NoteBinaryOp
Function
Method
PUBLIC
Called when handling a binary operation.
-
ganeti.query._WrapLogicOp
ganeti.query.html#_WrapLogicOp
Function
Function
PRIVATE
Wrapper for logic operator functions.
-
ganeti.query._WrapUnaryOp
ganeti.query.html#_WrapUnaryOp
Function
Function
PRIVATE
Wrapper for unary operator functions.
-
ganeti.query._WrapBinaryOp
ganeti.query.html#_WrapBinaryOp
Function
Function
PRIVATE
Wrapper for binary operator functions.
-
ganeti.query._WrapNot
ganeti.query.html#_WrapNot
Function
Function
PRIVATE
Negates the result of a wrapped function.
-
ganeti.query._PrepareRegex
ganeti.query.html#_PrepareRegex
Function
Function
PRIVATE
Compiles a regular expression.
-
ganeti.query._PrepareSplitTimestamp
ganeti.query.html#_PrepareSplitTimestamp
Function
Function
PRIVATE
-
ganeti.query._MakeSplitTimestampComparison
ganeti.query.html#_MakeSplitTimestampComparison
Function
Function
PRIVATE
Compares split timestamp values after converting to float.
-
ganeti.query._MakeComparisonChecks
ganeti.query.html#_MakeComparisonChecks
Function
Function
PRIVATE
Prepares flag-specific comparisons using a comparison function.
-
ganeti.query._FilterCompilerHelper
ganeti.query._FilterCompilerHelper.html
Class
Class
PRIVATE
Converts a query filter to a callable usable for filtering.
-
ganeti.query._FilterCompilerHelper._LEVELS_MAX
ganeti.query._FilterCompilerHelper.html#_LEVELS_MAX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper._OPTYPE_LOGIC
ganeti.query._FilterCompilerHelper.html#_OPTYPE_LOGIC
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper._OPTYPE_UNARY
ganeti.query._FilterCompilerHelper.html#_OPTYPE_UNARY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper._OPTYPE_BINARY
ganeti.query._FilterCompilerHelper.html#_OPTYPE_BINARY
Attribute
Constant
PRIVATE
Functions for equality checks depending on field flags.
-
ganeti.query._FilterCompilerHelper._EQUALITY_CHECKS
ganeti.query._FilterCompilerHelper.html#_EQUALITY_CHECKS
Attribute
Constant
PRIVATE
Known operators
-
ganeti.query._FilterCompilerHelper._OPS
ganeti.query._FilterCompilerHelper.html#_OPS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper.__init__
ganeti.query._FilterCompilerHelper.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query._FilterCompilerHelper._fields
ganeti.query._FilterCompilerHelper.html#_fields
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper._hints
ganeti.query._FilterCompilerHelper.html#_hints
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper._op_handler
ganeti.query._FilterCompilerHelper.html#_op_handler
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query._FilterCompilerHelper.__call__
ganeti.query._FilterCompilerHelper.html#__call__
Function
Method
PUBLIC
Converts a query filter into a callable function.
-
ganeti.query._FilterCompilerHelper._Compile
ganeti.query._FilterCompilerHelper.html#_Compile
Function
Method
PRIVATE
Inner function for converting filters.
-
ganeti.query._FilterCompilerHelper._LookupField
ganeti.query._FilterCompilerHelper.html#_LookupField
Function
Method
PRIVATE
Returns a field definition by name.
-
ganeti.query._FilterCompilerHelper._HandleLogicOp
ganeti.query._FilterCompilerHelper.html#_HandleLogicOp
Function
Method
PRIVATE
Handles logic operators.
-
ganeti.query._FilterCompilerHelper._HandleUnaryOp
ganeti.query._FilterCompilerHelper.html#_HandleUnaryOp
Function
Method
PRIVATE
Handles unary operators.
-
ganeti.query._FilterCompilerHelper._HandleBinaryOp
ganeti.query._FilterCompilerHelper.html#_HandleBinaryOp
Function
Method
PRIVATE
Handles binary operators.
-
ganeti.query._CompileFilter
ganeti.query.html#_CompileFilter
Function
Function
PRIVATE
Converts a query filter into a callable function.
-
ganeti.query.Query
ganeti.query.Query.html
Class
Class
PUBLIC
No class docstring; 0/5 instance variable, 6/6 methods documented
-
ganeti.query.Query.__init__
ganeti.query.Query.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.Query._fields
ganeti.query.Query.html#_fields
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query.Query._filter_fn
ganeti.query.Query.html#_filter_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query.Query._requested_names
ganeti.query.Query.html#_requested_names
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query.Query._filter_datakinds
ganeti.query.Query.html#_filter_datakinds
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query.Query._name_fn
ganeti.query.Query.html#_name_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query.Query.RequestedNames
ganeti.query.Query.html#RequestedNames
Function
Method
PUBLIC
Returns all names referenced in the filter.
-
ganeti.query.Query.RequestedData
ganeti.query.Query.html#RequestedData
Function
Method
PUBLIC
Gets requested kinds of data.
-
ganeti.query.Query.GetFields
ganeti.query.Query.html#GetFields
Function
Method
PUBLIC
Returns the list of fields for this query.
-
ganeti.query.Query.Query
ganeti.query.Query.html#Query
Function
Method
PUBLIC
Execute a query.
-
ganeti.query.Query.OldStyleQuery
ganeti.query.Query.html#OldStyleQuery
Function
Method
PUBLIC
Query with "old" query result format.
-
ganeti.query._ProcessResult
ganeti.query.html#_ProcessResult
Function
Function
PRIVATE
Converts result values into externally-visible ones.
-
ganeti.query._VerifyResultRow
ganeti.query.html#_VerifyResultRow
Function
Function
PRIVATE
Verifies the contents of a query result row.
-
ganeti.query._FieldDictKey
ganeti.query.html#_FieldDictKey
Function
Function
PRIVATE
Generates key for field dictionary.
-
ganeti.query._PrepareFieldList
ganeti.query.html#_PrepareFieldList
Function
Function
PRIVATE
Prepares field list for use by
Query.
-
ganeti.query.GetQueryResponse
ganeti.query.html#GetQueryResponse
Function
Function
PUBLIC
Prepares the response for a query.
-
ganeti.query.QueryFields
ganeti.query.html#QueryFields
Function
Function
PUBLIC
Returns list of available fields.
-
ganeti.query._MakeField
ganeti.query.html#_MakeField
Function
Function
PRIVATE
-
ganeti.query._StaticValueInner
ganeti.query.html#_StaticValueInner
Function
Function
PRIVATE
Returns a static value.
-
ganeti.query._StaticValue
ganeti.query.html#_StaticValue
Function
Function
PRIVATE
Prepares a function to return a static value.
-
ganeti.query._GetNodeRole
ganeti.query.html#_GetNodeRole
Function
Function
PRIVATE
Determine node role.
-
ganeti.query._GetItemAttr
ganeti.query.html#_GetItemAttr
Function
Function
PRIVATE
Returns a field function to return an attribute of the item.
-
ganeti.query._GetItemMaybeAttr
ganeti.query.html#_GetItemMaybeAttr
Function
Function
PRIVATE
Returns a field function to return a not-None attribute of the item.
-
ganeti.query._GetNDParam
ganeti.query.html#_GetNDParam
Function
Function
PRIVATE
Return a field function to return an ND parameter out of the context.
-
ganeti.query._BuildNDFields
ganeti.query.html#_BuildNDFields
Function
Function
PRIVATE
Builds all the ndparam fields.
-
ganeti.query._ConvWrapInner
ganeti.query.html#_ConvWrapInner
Function
Function
PRIVATE
Wrapper for converting values.
-
ganeti.query._ConvWrap
ganeti.query.html#_ConvWrap
Function
Function
PRIVATE
-
ganeti.query._GetItemTimestamp
ganeti.query.html#_GetItemTimestamp
Function
Function
PRIVATE
Returns function for getting timestamp of item.
-
ganeti.query._GetItemTimestampFields
ganeti.query.html#_GetItemTimestampFields
Function
Function
PRIVATE
Returns common timestamp fields.
-
ganeti.query.NodeQueryData
ganeti.query.NodeQueryData.html
Class
Class
PUBLIC
Data container for node data queries.
-
ganeti.query.NodeQueryData.__init__
ganeti.query.NodeQueryData.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.NodeQueryData.nodes
ganeti.query.NodeQueryData.html#nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.live_data
ganeti.query.NodeQueryData.html#live_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.master_uuid
ganeti.query.NodeQueryData.html#master_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.node_to_primary
ganeti.query.NodeQueryData.html#node_to_primary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.node_to_secondary
ganeti.query.NodeQueryData.html#node_to_secondary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.inst_uuid_to_inst_name
ganeti.query.NodeQueryData.html#inst_uuid_to_inst_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.groups
ganeti.query.NodeQueryData.html#groups
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.oob_support
ganeti.query.NodeQueryData.html#oob_support
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.cluster
ganeti.query.NodeQueryData.html#cluster
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.curlive_data
ganeti.query.NodeQueryData.html#curlive_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.ndparams
ganeti.query.NodeQueryData.html#ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NodeQueryData.__iter__
ganeti.query.NodeQueryData.html#__iter__
Function
Method
PUBLIC
Iterate over all nodes.
-
ganeti.query._NODE_SIMPLE_FIELDS
ganeti.query.html#_NODE_SIMPLE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._NODE_LIVE_FIELDS
ganeti.query.html#_NODE_LIVE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._GetGroup
ganeti.query.html#_GetGroup
Function
Function
PRIVATE
Build function for calling another function with an node group.
-
ganeti.query._GetNodeGroup
ganeti.query.html#_GetNodeGroup
Function
Function
PRIVATE
Returns the name of a node's group.
-
ganeti.query._GetNodePower
ganeti.query.html#_GetNodePower
Function
Function
PRIVATE
Returns the node powered state
-
ganeti.query._GetNdParams
ganeti.query.html#_GetNdParams
Function
Function
PRIVATE
Returns the ndparams for this node.
-
ganeti.query._GetLiveNodeField
ganeti.query.html#_GetLiveNodeField
Function
Function
PRIVATE
-
ganeti.query._GetStatsField
ganeti.query.html#_GetStatsField
Function
Function
PRIVATE
Gets a value from live statistics.
-
ganeti.query._GetNodeHvState
ganeti.query.html#_GetNodeHvState
Function
Function
PRIVATE
Converts node's hypervisor state for query result.
-
ganeti.query._GetNodeDiskState
ganeti.query.html#_GetNodeDiskState
Function
Function
PRIVATE
Converts node's disk state for query result.
-
ganeti.query._BuildNodeFields
ganeti.query.html#_BuildNodeFields
Function
Function
PRIVATE
Builds list of fields for node queries.
-
ganeti.query.InstanceQueryData
ganeti.query.InstanceQueryData.html
Class
Class
PUBLIC
Data container for instance data queries.
-
ganeti.query.InstanceQueryData.__init__
ganeti.query.InstanceQueryData.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.InstanceQueryData.instances
ganeti.query.InstanceQueryData.html#instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.cluster
ganeti.query.InstanceQueryData.html#cluster
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.disk_usage
ganeti.query.InstanceQueryData.html#disk_usage
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.offline_nodes
ganeti.query.InstanceQueryData.html#offline_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.bad_nodes
ganeti.query.InstanceQueryData.html#bad_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.live_data
ganeti.query.InstanceQueryData.html#live_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.wrongnode_inst
ganeti.query.InstanceQueryData.html#wrongnode_inst
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.console
ganeti.query.InstanceQueryData.html#console
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.nodes
ganeti.query.InstanceQueryData.html#nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.groups
ganeti.query.InstanceQueryData.html#groups
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.networks
ganeti.query.InstanceQueryData.html#networks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.inst_hvparams
ganeti.query.InstanceQueryData.html#inst_hvparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.inst_beparams
ganeti.query.InstanceQueryData.html#inst_beparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.inst_osparams
ganeti.query.InstanceQueryData.html#inst_osparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.inst_nicparams
ganeti.query.InstanceQueryData.html#inst_nicparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.InstanceQueryData.__iter__
ganeti.query.InstanceQueryData.html#__iter__
Function
Method
PUBLIC
Iterate over all instances.
-
ganeti.query._GetInstOperState
ganeti.query.html#_GetInstOperState
Function
Function
PRIVATE
Get instance's operational status.
-
ganeti.query._GetInstLiveData
ganeti.query.html#_GetInstLiveData
Function
Function
PRIVATE
Build function for retrieving live data.
-
ganeti.query._GetLiveInstStatus
ganeti.query.html#_GetLiveInstStatus
Function
Function
PRIVATE
Undocumented
-
ganeti.query._GetDeadInstStatus
ganeti.query.html#_GetDeadInstStatus
Function
Function
PRIVATE
Undocumented
-
ganeti.query._GetInstStatus
ganeti.query.html#_GetInstStatus
Function
Function
PRIVATE
Get instance status.
-
ganeti.query._GetInstDisk
ganeti.query.html#_GetInstDisk
Function
Function
PRIVATE
Build function for calling another function with an instance Disk.
-
ganeti.query._GetInstDiskSize
ganeti.query.html#_GetInstDiskSize
Function
Function
PRIVATE
Get a Disk's size.
-
ganeti.query._GetInstDiskSpindles
ganeti.query.html#_GetInstDiskSpindles
Function
Function
PRIVATE
Get a Disk's spindles.
-
ganeti.query._GetInstDeviceName
ganeti.query.html#_GetInstDeviceName
Function
Function
PRIVATE
Get a Device's Name.
-
ganeti.query._GetInstDeviceUUID
ganeti.query.html#_GetInstDeviceUUID
Function
Function
PRIVATE
Get a Device's UUID.
-
ganeti.query._GetInstNic
ganeti.query.html#_GetInstNic
Function
Function
PRIVATE
Build function for calling another function with an instance NIC.
-
ganeti.query._GetInstNicNetworkName
ganeti.query.html#_GetInstNicNetworkName
Function
Function
PRIVATE
Get a NIC's Network.
-
ganeti.query._GetInstNicNetwork
ganeti.query.html#_GetInstNicNetwork
Function
Function
PRIVATE
Get a NIC's Network.
-
ganeti.query._GetInstNicIp
ganeti.query.html#_GetInstNicIp
Function
Function
PRIVATE
Get a NIC's IP address.
-
ganeti.query._GetInstNicBridge
ganeti.query.html#_GetInstNicBridge
Function
Function
PRIVATE
Get a NIC's bridge.
-
ganeti.query._GetInstNicVLan
ganeti.query.html#_GetInstNicVLan
Function
Function
PRIVATE
Get a NIC's VLAN.
-
ganeti.query._GetInstAllNicNetworkNames
ganeti.query.html#_GetInstAllNicNetworkNames
Function
Function
PRIVATE
Get all network names for an instance.
-
ganeti.query._GetInstAllNicVlans
ganeti.query.html#_GetInstAllNicVlans
Function
Function
PRIVATE
Get all network VLANs for an instance.
-
ganeti.query._GetInstAllNicBridges
ganeti.query.html#_GetInstAllNicBridges
Function
Function
PRIVATE
Get all network bridges for an instance.
-
ganeti.query._GetInstNicParam
ganeti.query.html#_GetInstNicParam
Function
Function
PRIVATE
Build function for retrieving a NIC parameter.
-
ganeti.query._GetInstanceNetworkFields
ganeti.query.html#_GetInstanceNetworkFields
Function
Function
PRIVATE
Get instance fields involving network interfaces.
-
ganeti.query._GetInstDiskUsage
ganeti.query.html#_GetInstDiskUsage
Function
Function
PRIVATE
Get disk usage for an instance.
-
ganeti.query._GetInstanceConsole
ganeti.query.html#_GetInstanceConsole
Function
Function
PRIVATE
Get console information for instance.
-
ganeti.query._GetInstanceDiskFields
ganeti.query.html#_GetInstanceDiskFields
Function
Function
PRIVATE
Get instance fields involving disks.
-
ganeti.query._GetInstanceParameterFields
ganeti.query.html#_GetInstanceParameterFields
Function
Function
PRIVATE
Get instance fields involving parameters.
-
ganeti.query._INST_SIMPLE_FIELDS
ganeti.query.html#_INST_SIMPLE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._GetNodeName
ganeti.query.html#_GetNodeName
Function
Function
PRIVATE
Gets node name of a node.
-
ganeti.query._GetInstNodeGroup
ganeti.query.html#_GetInstNodeGroup
Function
Function
PRIVATE
Gets group UUID of an instance node.
-
ganeti.query._GetInstNodeGroupName
ganeti.query.html#_GetInstNodeGroupName
Function
Function
PRIVATE
Gets group name of an instance node.
-
ganeti.query._BuildInstanceFields
ganeti.query.html#_BuildInstanceFields
Function
Function
PRIVATE
Builds list of fields for instance queries.
-
ganeti.query.LockQueryData
ganeti.query.LockQueryData.html
Class
Class
PUBLIC
Data container for lock data queries.
-
ganeti.query.LockQueryData.__init__
ganeti.query.LockQueryData.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.LockQueryData.lockdata
ganeti.query.LockQueryData.html#lockdata
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.LockQueryData.__iter__
ganeti.query.LockQueryData.html#__iter__
Function
Method
PUBLIC
Iterate over all locks.
-
ganeti.query._GetLockOwners
ganeti.query.html#_GetLockOwners
Function
Function
PRIVATE
Returns a sorted list of a lock's current owners.
-
ganeti.query._GetLockPending
ganeti.query.html#_GetLockPending
Function
Function
PRIVATE
Returns a sorted list of a lock's pending acquires.
-
ganeti.query._BuildLockFields
ganeti.query.html#_BuildLockFields
Function
Function
PRIVATE
Builds list of fields for lock queries.
-
ganeti.query.GroupQueryData
ganeti.query.GroupQueryData.html
Class
Class
PUBLIC
Data container for node group data queries.
-
ganeti.query.GroupQueryData.__init__
ganeti.query.GroupQueryData.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.GroupQueryData.groups
ganeti.query.GroupQueryData.html#groups
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.group_to_nodes
ganeti.query.GroupQueryData.html#group_to_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.group_to_instances
ganeti.query.GroupQueryData.html#group_to_instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.cluster
ganeti.query.GroupQueryData.html#cluster
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.want_diskparams
ganeti.query.GroupQueryData.html#want_diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.group_ipolicy
ganeti.query.GroupQueryData.html#group_ipolicy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.ndparams
ganeti.query.GroupQueryData.html#ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.group_dp
ganeti.query.GroupQueryData.html#group_dp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.GroupQueryData.__iter__
ganeti.query.GroupQueryData.html#__iter__
Function
Method
PUBLIC
Iterate over all node groups.
-
ganeti.query._GROUP_SIMPLE_FIELDS
ganeti.query.html#_GROUP_SIMPLE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._BuildGroupFields
ganeti.query.html#_BuildGroupFields
Function
Function
PRIVATE
Builds list of fields for node group queries.
-
ganeti.query.OsInfo
ganeti.query.OsInfo.html
Class
Class
PUBLIC
Undocumented
-
ganeti.query.OsInfo.__slots__
ganeti.query.OsInfo.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.query._BuildOsFields
ganeti.query.html#_BuildOsFields
Function
Function
PRIVATE
Builds list of fields for operating system queries.
-
ganeti.query.ExtStorageInfo
ganeti.query.ExtStorageInfo.html
Class
Class
PUBLIC
Undocumented
-
ganeti.query.ExtStorageInfo.__slots__
ganeti.query.ExtStorageInfo.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.query._BuildExtStorageFields
ganeti.query.html#_BuildExtStorageFields
Function
Function
PRIVATE
Builds list of fields for extstorage provider queries.
-
ganeti.query._JobUnavailInner
ganeti.query.html#_JobUnavailInner
Function
Function
PRIVATE
-
ganeti.query._JobUnavail
ganeti.query.html#_JobUnavail
Function
Function
PRIVATE
-
ganeti.query._PerJobOpInner
ganeti.query.html#_PerJobOpInner
Function
Function
PRIVATE
Executes a function per opcode in a job.
-
ganeti.query._PerJobOp
ganeti.query.html#_PerJobOp
Function
Function
PRIVATE
-
ganeti.query._JobTimestampInner
ganeti.query.html#_JobTimestampInner
Function
Function
PRIVATE
-
ganeti.query._JobTimestamp
ganeti.query.html#_JobTimestamp
Function
Function
PRIVATE
-
ganeti.query._BuildJobFields
ganeti.query.html#_BuildJobFields
Function
Function
PRIVATE
Builds list of fields for job queries.
-
ganeti.query._GetExportName
ganeti.query.html#_GetExportName
Function
Function
PRIVATE
Returns an export name if available.
-
ganeti.query._BuildExportFields
ganeti.query.html#_BuildExportFields
Function
Function
PRIVATE
Builds list of fields for exports.
-
ganeti.query._CLUSTER_VERSION_FIELDS
ganeti.query.html#_CLUSTER_VERSION_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._CLUSTER_SIMPLE_FIELDS
ganeti.query.html#_CLUSTER_SIMPLE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query.ClusterQueryData
ganeti.query.ClusterQueryData.html
Class
Class
PUBLIC
No class docstring; 0/4 instance variable, 1/2 method documented
-
ganeti.query.ClusterQueryData.__init__
ganeti.query.ClusterQueryData.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.ClusterQueryData._cluster
ganeti.query.ClusterQueryData.html#_cluster
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.query.ClusterQueryData.nodes
ganeti.query.ClusterQueryData.html#nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.ClusterQueryData.drain_flag
ganeti.query.ClusterQueryData.html#drain_flag
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.ClusterQueryData.watcher_pause
ganeti.query.ClusterQueryData.html#watcher_pause
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.ClusterQueryData.__iter__
ganeti.query.ClusterQueryData.html#__iter__
Function
Method
PUBLIC
Undocumented
-
ganeti.query._ClusterWatcherPause
ganeti.query.html#_ClusterWatcherPause
Function
Function
PRIVATE
Returns until when watcher is paused (if available).
-
ganeti.query._BuildClusterFields
ganeti.query.html#_BuildClusterFields
Function
Function
PRIVATE
Builds list of fields for cluster information.
-
ganeti.query.NetworkQueryData
ganeti.query.NetworkQueryData.html
Class
Class
PUBLIC
Data container for network data queries.
-
ganeti.query.NetworkQueryData.__init__
ganeti.query.NetworkQueryData.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.query.NetworkQueryData.networks
ganeti.query.NetworkQueryData.html#networks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NetworkQueryData.network_to_groups
ganeti.query.NetworkQueryData.html#network_to_groups
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NetworkQueryData.network_to_instances
ganeti.query.NetworkQueryData.html#network_to_instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NetworkQueryData.stats
ganeti.query.NetworkQueryData.html#stats
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query.NetworkQueryData.__iter__
ganeti.query.NetworkQueryData.html#__iter__
Function
Method
PUBLIC
Iterate over all networks.
-
ganeti.query.NetworkQueryData.curstats
ganeti.query.NetworkQueryData.html#curstats
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.query._NETWORK_SIMPLE_FIELDS
ganeti.query.html#_NETWORK_SIMPLE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._NETWORK_STATS_FIELDS
ganeti.query.html#_NETWORK_STATS_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._GetNetworkStatsField
ganeti.query.html#_GetNetworkStatsField
Function
Function
PRIVATE
-
ganeti.query._BuildNetworkFields
ganeti.query.html#_BuildNetworkFields
Function
Function
PRIVATE
Builds list of fields for network queries.
-
ganeti.query._FILTER_SIMPLE_FIELDS
ganeti.query.html#_FILTER_SIMPLE_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.query._BuildFilterFields
ganeti.query.html#_BuildFilterFields
Function
Function
PRIVATE
Builds list of fields for job filter queries.
-
ganeti.query.CLUSTER_FIELDS
ganeti.query.html#CLUSTER_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NODE_FIELDS
ganeti.query.html#NODE_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.INSTANCE_FIELDS
ganeti.query.html#INSTANCE_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.LOCK_FIELDS
ganeti.query.html#LOCK_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.GROUP_FIELDS
ganeti.query.html#GROUP_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.OS_FIELDS
ganeti.query.html#OS_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.EXTSTORAGE_FIELDS
ganeti.query.html#EXTSTORAGE_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.JOB_FIELDS
ganeti.query.html#JOB_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.EXPORT_FIELDS
ganeti.query.html#EXPORT_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.NETWORK_FIELDS
ganeti.query.html#NETWORK_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.FILTER_FIELDS
ganeti.query.html#FILTER_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.ALL_FIELDS
ganeti.query.html#ALL_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.query.ALL_FIELD_LISTS
ganeti.query.html#ALL_FIELD_LISTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking._EXCLUSIVE_TEXT
ganeti.locking.html#_EXCLUSIVE_TEXT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.locking._SHARED_TEXT
ganeti.locking.html#_SHARED_TEXT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.locking._DELETED_TEXT
ganeti.locking.html#_DELETED_TEXT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.locking._DEFAULT_PRIORITY
ganeti.locking.html#_DEFAULT_PRIORITY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.locking._LOCK_ACQUIRE_MIN_TIMEOUT
ganeti.locking.html#_LOCK_ACQUIRE_MIN_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.locking.ssynchronized
ganeti.locking.html#ssynchronized
Function
Function
PUBLIC
Shared Synchronization decorator.
-
ganeti.locking._SingleNotifyPipeConditionWaiter
ganeti.locking._SingleNotifyPipeConditionWaiter.html
Class
Class
PRIVATE
Helper class for SingleNotifyPipeCondition
-
ganeti.locking._SingleNotifyPipeConditionWaiter.__slots__
ganeti.locking._SingleNotifyPipeConditionWaiter.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.locking._SingleNotifyPipeConditionWaiter.__init__
ganeti.locking._SingleNotifyPipeConditionWaiter.html#__init__
Function
Method
PUBLIC
Constructor for _SingleNotifyPipeConditionWaiter
-
ganeti.locking._SingleNotifyPipeConditionWaiter._fd
ganeti.locking._SingleNotifyPipeConditionWaiter.html#_fd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking._SingleNotifyPipeConditionWaiter.__call__
ganeti.locking._SingleNotifyPipeConditionWaiter.html#__call__
Function
Method
PUBLIC
Wait for something to happen on the pipe.
-
ganeti.locking._BaseCondition
ganeti.locking._BaseCondition.html
Class
Class
PRIVATE
Base class containing common code for conditions.
-
ganeti.locking._BaseCondition.__slots__
ganeti.locking._BaseCondition.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.locking._BaseCondition.__init__
ganeti.locking._BaseCondition.html#__init__
Function
Method
PUBLIC
Constructor for _BaseCondition.
-
ganeti.locking._BaseCondition._release_save
ganeti.locking._BaseCondition.html#_release_save
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking._BaseCondition._acquire_restore
ganeti.locking._BaseCondition.html#_acquire_restore
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking._BaseCondition._is_owned
ganeti.locking._BaseCondition.html#_is_owned
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking._BaseCondition._lock
ganeti.locking._BaseCondition.html#_lock
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking._BaseCondition.acquire
ganeti.locking._BaseCondition.html#acquire
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.locking._BaseCondition.release
ganeti.locking._BaseCondition.html#release
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.locking._BaseCondition._base_is_owned
ganeti.locking._BaseCondition.html#_base_is_owned
Function
Method
PRIVATE
Check whether lock is owned by current thread.
-
ganeti.locking._BaseCondition._base_release_save
ganeti.locking._BaseCondition.html#_base_release_save
Function
Method
PRIVATE
Undocumented
-
ganeti.locking._BaseCondition._base_acquire_restore
ganeti.locking._BaseCondition.html#_base_acquire_restore
Function
Method
PRIVATE
Undocumented
-
ganeti.locking._BaseCondition._check_owned
ganeti.locking._BaseCondition.html#_check_owned
Function
Method
PRIVATE
Raise an exception if the current thread doesn't own the lock.
-
ganeti.locking.SingleNotifyPipeCondition
ganeti.locking.SingleNotifyPipeCondition.html
Class
Class
PUBLIC
Condition which can only be notified once.
-
ganeti.locking.SingleNotifyPipeCondition.__slots__
ganeti.locking.SingleNotifyPipeCondition.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.locking.SingleNotifyPipeCondition.__init__
ganeti.locking.SingleNotifyPipeCondition.html#__init__
Function
Method
PUBLIC
Constructor for SingleNotifyPipeCondition
-
ganeti.locking.SingleNotifyPipeCondition._nwaiters
ganeti.locking.SingleNotifyPipeCondition.html#_nwaiters
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SingleNotifyPipeCondition._notified
ganeti.locking.SingleNotifyPipeCondition.html#_notified
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SingleNotifyPipeCondition._read_fd
ganeti.locking.SingleNotifyPipeCondition.html#_read_fd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SingleNotifyPipeCondition._write_fd
ganeti.locking.SingleNotifyPipeCondition.html#_write_fd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SingleNotifyPipeCondition._check_unnotified
ganeti.locking.SingleNotifyPipeCondition.html#_check_unnotified
Function
Method
PRIVATE
Throws an exception if already notified.
-
ganeti.locking.SingleNotifyPipeCondition._Cleanup
ganeti.locking.SingleNotifyPipeCondition.html#_Cleanup
Function
Method
PRIVATE
Cleanup open file descriptors, if any.
-
ganeti.locking.SingleNotifyPipeCondition.wait
ganeti.locking.SingleNotifyPipeCondition.html#wait
Function
Method
PUBLIC
Wait for a notification.
-
ganeti.locking.SingleNotifyPipeCondition.notify_all
ganeti.locking.SingleNotifyPipeCondition.html#notify_all
Function
Method
PUBLIC
Close the writing side of the pipe to notify all waiters.
-
ganeti.locking.PipeCondition
ganeti.locking.PipeCondition.html
Class
Class
PUBLIC
Group-only non-polling condition with counters.
-
ganeti.locking.PipeCondition.__slots__
ganeti.locking.PipeCondition.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.locking.PipeCondition.__init__
ganeti.locking.PipeCondition.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.locking.PipeCondition._waiters
ganeti.locking.PipeCondition.html#_waiters
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.PipeCondition._single_condition
ganeti.locking.PipeCondition.html#_single_condition
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.PipeCondition.wait
ganeti.locking.PipeCondition.html#wait
Function
Method
PUBLIC
Wait for a notification.
-
ganeti.locking.PipeCondition.notify_all
ganeti.locking.PipeCondition.html#notify_all
Function
Method
PUBLIC
Notify all currently waiting threads.
-
ganeti.locking.PipeCondition.get_waiting
ganeti.locking.PipeCondition.html#get_waiting
Function
Method
PUBLIC
Returns a list of all waiting threads.
-
ganeti.locking.PipeCondition.has_waiting
ganeti.locking.PipeCondition.html#has_waiting
Function
Method
PUBLIC
Returns whether there are active waiters.
-
ganeti.locking.PipeCondition.__repr__
ganeti.locking.PipeCondition.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.locking._PipeConditionWithMode
ganeti.locking._PipeConditionWithMode.html
Class
Class
PRIVATE
No class docstring; 0/1 instance variable, 0/1 class variable, 1/1 method documented
-
ganeti.locking._PipeConditionWithMode.__slots__
ganeti.locking._PipeConditionWithMode.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.locking._PipeConditionWithMode.__init__
ganeti.locking._PipeConditionWithMode.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.locking._PipeConditionWithMode.shared
ganeti.locking._PipeConditionWithMode.html#shared
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.locking.SharedLock
ganeti.locking.SharedLock.html
Class
Class
PUBLIC
Implements a shared lock.
-
ganeti.locking.SharedLock.name
ganeti.locking.SharedLock.html#name
Attribute
Instance Variable
PUBLIC
the name of the lock
-
ganeti.locking.SharedLock.__slots__
ganeti.locking.SharedLock.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.locking.SharedLock.__init__
ganeti.locking.SharedLock.html#__init__
Function
Method
PUBLIC
Construct a new SharedLock.
-
ganeti.locking.SharedLock.__time_fn
ganeti.locking.SharedLock.html#__time_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__lock
ganeti.locking.SharedLock.html#__lock
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__pending
ganeti.locking.SharedLock.html#__pending
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__pending_by_prio
ganeti.locking.SharedLock.html#__pending_by_prio
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__pending_shared
ganeti.locking.SharedLock.html#__pending_shared
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__shr
ganeti.locking.SharedLock.html#__shr
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__exc
ganeti.locking.SharedLock.html#__exc
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__deleted
ganeti.locking.SharedLock.html#__deleted
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.locking.SharedLock.__repr__
ganeti.locking.SharedLock.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.locking.SharedLock.GetLockInfo
ganeti.locking.SharedLock.html#GetLockInfo
Function
Method
PUBLIC
Retrieves information for querying locks.
-
ganeti.locking.SharedLock.__check_deleted
ganeti.locking.SharedLock.html#__check_deleted
Function
Method
PRIVATE
Raises an exception if the lock has been deleted.
-
ganeti.locking.SharedLock.__is_sharer
ganeti.locking.SharedLock.html#__is_sharer
Function
Method
PRIVATE
Is the current thread sharing the lock at this time?
-
ganeti.locking.SharedLock.__is_exclusive
ganeti.locking.SharedLock.html#__is_exclusive
Function
Method
PRIVATE
Is the current thread holding the lock exclusively at this time?
-
ganeti.locking.SharedLock.__is_owned
ganeti.locking.SharedLock.html#__is_owned
Function
Method
PRIVATE
Is the current thread somehow owning the lock at this time?
-
ganeti.locking.SharedLock.is_owned
ganeti.locking.SharedLock.html#is_owned
Function
Method
PUBLIC
Is the current thread somehow owning the lock at this time?
-
ganeti.locking.SharedLock._count_pending
ganeti.locking.SharedLock.html#_count_pending
Function
Method
PRIVATE
Returns the number of pending acquires.
-
ganeti.locking.SharedLock._check_empty
ganeti.locking.SharedLock.html#_check_empty
Function
Method
PRIVATE
Checks whether there are any pending acquires.
-
ganeti.locking.SharedLock.__do_acquire
ganeti.locking.SharedLock.html#__do_acquire
Function
Method
PRIVATE
Actually acquire the lock.
-
ganeti.locking.SharedLock.__can_acquire
ganeti.locking.SharedLock.html#__can_acquire
Function
Method
PRIVATE
Determine whether lock can be acquired.
-
ganeti.locking.SharedLock.__find_first_pending_queue
ganeti.locking.SharedLock.html#__find_first_pending_queue
Function
Method
PRIVATE
Tries to find the topmost queued entry with pending acquires.
-
ganeti.locking.SharedLock.__is_on_top
ganeti.locking.SharedLock.html#__is_on_top
Function
Method
PRIVATE
Checks whether the passed condition is on top of the queue.
-
ganeti.locking.SharedLock.__acquire_unlocked
ganeti.locking.SharedLock.html#__acquire_unlocked
Function
Method
PRIVATE
Acquire a shared lock.
-
ganeti.locking.SharedLock.acquire
ganeti.locking.SharedLock.html#acquire
Function
Method
PUBLIC
Acquire a shared lock.
-
ganeti.locking.SharedLock.downgrade
ganeti.locking.SharedLock.html#downgrade
Function
Method
PUBLIC
Changes the lock mode from exclusive to shared.
-
ganeti.locking.SharedLock.release
ganeti.locking.SharedLock.html#release
Function
Method
PUBLIC
Release a Shared Lock.
-
ganeti.locking.SharedLock.__notify_topmost
ganeti.locking.SharedLock.html#__notify_topmost
Function
Method
PRIVATE
Notifies topmost condition in queue of pending acquires.
-
ganeti.locking.SharedLock._notify_topmost
ganeti.locking.SharedLock.html#_notify_topmost
Function
Method
PRIVATE
-
ganeti.locking.SharedLock.delete
ganeti.locking.SharedLock.html#delete
Function
Method
PUBLIC
Delete a Shared Lock.
-
ganeti.locking.SharedLock._release_save
ganeti.locking.SharedLock.html#_release_save
Function
Method
PRIVATE
Undocumented
-
ganeti.locking.SharedLock._acquire_restore
ganeti.locking.SharedLock.html#_acquire_restore
Function
Method
PRIVATE
Undocumented
-
ganeti.locking.ALL_SET
ganeti.locking.html#ALL_SET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LOCKSET_NAME
ganeti.locking.html#LOCKSET_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking._TimeoutZero
ganeti.locking.html#_TimeoutZero
Function
Function
PRIVATE
Returns the number zero.
-
ganeti.locking._AcquireTimeout
ganeti.locking._AcquireTimeout.html
Class
Exception
PRIVATE
Internal exception to abort an acquire on a timeout.
-
ganeti.locking.LEVEL_CLUSTER
ganeti.locking.html#LEVEL_CLUSTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVEL_INSTANCE
ganeti.locking.html#LEVEL_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVEL_NODEGROUP
ganeti.locking.html#LEVEL_NODEGROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVEL_NODE
ganeti.locking.html#LEVEL_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVEL_NODE_RES
ganeti.locking.html#LEVEL_NODE_RES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVEL_NETWORK
ganeti.locking.html#LEVEL_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVELS
ganeti.locking.html#LEVELS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVELS_MOD
ganeti.locking.html#LEVELS_MOD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.LEVEL_NAMES
ganeti.locking.html#LEVEL_NAMES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.locking.BGL
ganeti.locking.html#BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes_base._OPID_RE
ganeti.opcodes_base.html#_OPID_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.opcodes_base.SUMMARY_PREFIX
ganeti.opcodes_base.html#SUMMARY_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes_base.DEPEND_ATTR
ganeti.opcodes_base.html#DEPEND_ATTR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes_base._NameComponents
ganeti.opcodes_base.html#_NameComponents
Function
Function
PRIVATE
Split an opcode class name into its components
-
ganeti.opcodes_base._NameToId
ganeti.opcodes_base.html#_NameToId
Function
Function
PRIVATE
Convert an opcode class name to an OP_ID.
-
ganeti.opcodes_base.NameToReasonSrc
ganeti.opcodes_base.html#NameToReasonSrc
Function
Function
PUBLIC
Convert an opcode class name to a source string for the reason trail
-
ganeti.opcodes_base._AutoOpParamSlots
ganeti.opcodes_base._AutoOpParamSlots.html
Class
Class
PRIVATE
Meta class for opcode definitions.
-
ganeti.opcodes_base._AutoOpParamSlots.__new__
ganeti.opcodes_base._AutoOpParamSlots.html#__new__
Function
Method
PUBLIC
Called when a class should be created.
-
ganeti.opcodes_base._AutoOpParamSlots._GetSlots
ganeti.opcodes_base._AutoOpParamSlots.html#_GetSlots
Function
Class Method
PRIVATE
Build the slots out of OP_PARAMS.
-
ganeti.opcodes_base.BaseOpCode
ganeti.opcodes_base.BaseOpCode.html
Class
Class
PUBLIC
A simple serializable object.
-
ganeti.opcodes_base.BaseOpCode.__init__
ganeti.opcodes_base.BaseOpCode.html#__init__
Function
Method
PUBLIC
Constructor for BaseOpCode.
-
ganeti.opcodes_base.BaseOpCode.__getstate__
ganeti.opcodes_base.BaseOpCode.html#__getstate__
Function
Method
PUBLIC
Generic serializer.
-
ganeti.opcodes_base.BaseOpCode.__setstate__
ganeti.opcodes_base.BaseOpCode.html#__setstate__
Function
Method
PUBLIC
Generic unserializer.
-
ganeti.opcodes_base.BaseOpCode.GetAllParams
ganeti.opcodes_base.BaseOpCode.html#GetAllParams
Function
Class Method
PUBLIC
Compute list of all parameters for an opcode.
-
ganeti.opcodes_base.BaseOpCode.Validate
ganeti.opcodes_base.BaseOpCode.html#Validate
Function
Method
PUBLIC
Validate opcode parameters, optionally setting default values.
-
ganeti.opcodes_base.BuildJobDepCheck
ganeti.opcodes_base.html#BuildJobDepCheck
Function
Function
PUBLIC
-
ganeti.opcodes_base.TNoRelativeJobDependencies
ganeti.opcodes_base.html#TNoRelativeJobDependencies
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.opcodes.OpCode
ganeti.opcodes.OpCode.html
Class
Class
PUBLIC
Abstract OpCode.
-
ganeti.opcodes.OpCode.OP_ID
ganeti.opcodes.OpCode.html#OP_ID
Attribute
Class Variable
PUBLIC
The ID of this opcode. This should be unique amongst all children of this class.
-
ganeti.opcodes.OpCode.OP_DSC_FIELD
ganeti.opcodes.OpCode.html#OP_DSC_FIELD
Attribute
Class Variable
PUBLIC
The name of a field whose value will be included in the string returned by Summary(); see the docstring of that method for details).
-
ganeti.opcodes.OpCode.OP_DSC_FORMATTER
ganeti.opcodes.OpCode.html#OP_DSC_FORMATTER
Attribute
Class Variable
PUBLIC
A callable that should format the OP_DSC_FIELD; if not present, then the field will be simply converted to string
-
ganeti.opcodes.OpCode.OP_PARAMS
ganeti.opcodes.OpCode.html#OP_PARAMS
Attribute
Constant
PUBLIC
List of opcode attributes, the default values they should get if not already defined, and types they must match.
-
ganeti.opcodes.OpCode.OP_RESULT
ganeti.opcodes.OpCode.html#OP_RESULT
Attribute
Constant
PUBLIC
Callable to verify opcode result
-
ganeti.opcodes.OpCode.WITH_LU
ganeti.opcodes.OpCode.html#WITH_LU
Attribute
Constant
PUBLIC
Boolean that specifies whether this should be included in mcpu's dispatch table
-
ganeti.opcodes.OpCode.dry_run
ganeti.opcodes.OpCode.html#dry_run
Attribute
Instance Variable
PUBLIC
Whether the LU should be run in dry-run mode, i.e. just the check steps
-
ganeti.opcodes.OpCode.priority
ganeti.opcodes.OpCode.html#priority
Attribute
Instance Variable
PUBLIC
Opcode priority for queue
-
ganeti.opcodes.OpCode.__getstate__
ganeti.opcodes.OpCode.html#__getstate__
Function
Method
PUBLIC
Specialized getstate for opcodes.
-
ganeti.opcodes.OpCode.LoadOpCode
ganeti.opcodes.OpCode.html#LoadOpCode
Function
Class Method
PUBLIC
Generic load opcode method.
-
ganeti.opcodes.OpCode.Summary
ganeti.opcodes.OpCode.html#Summary
Function
Method
PUBLIC
Generates a summary description of this opcode.
-
ganeti.opcodes.OpCode.TinySummary
ganeti.opcodes.OpCode.html#TinySummary
Function
Method
PUBLIC
Generates a compact summary description of the opcode.
-
ganeti.opcodes.OpInstanceMultiAllocBase
ganeti.opcodes.OpInstanceMultiAllocBase.html
Class
Class
PUBLIC
Allocates multiple instances.
-
ganeti.opcodes.OpInstanceMultiAllocBase.__getstate__
ganeti.opcodes.OpInstanceMultiAllocBase.html#__getstate__
Function
Method
PUBLIC
Generic serializer.
-
ganeti.opcodes.OpInstanceMultiAllocBase.__setstate__
ganeti.opcodes.OpInstanceMultiAllocBase.html#__setstate__
Function
Method
PUBLIC
Generic unserializer.
-
ganeti.opcodes.OpInstanceMultiAllocBase.Validate
ganeti.opcodes.OpInstanceMultiAllocBase.html#Validate
Function
Method
PUBLIC
Validates this opcode.
-
ganeti.opcodes.OpClusterPostInit
ganeti.opcodes.OpClusterPostInit.html
Class
Class
PUBLIC
Post cluster initialization.
-
ganeti.opcodes.OpClusterPostInit.OP_PARAMS
ganeti.opcodes.OpClusterPostInit.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterDestroy
ganeti.opcodes.OpClusterDestroy.html
Class
Class
PUBLIC
Destroy the cluster.
-
ganeti.opcodes.OpClusterDestroy.OP_PARAMS
ganeti.opcodes.OpClusterDestroy.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterQuery
ganeti.opcodes.OpClusterQuery.html
Class
Class
PUBLIC
Query cluster information.
-
ganeti.opcodes.OpClusterQuery.OP_PARAMS
ganeti.opcodes.OpClusterQuery.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterQuery.OP_RESULT
ganeti.opcodes.OpClusterQuery.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterVerify
ganeti.opcodes.OpClusterVerify.html
Class
Class
PUBLIC
Submits all jobs necessary to verify the cluster.
-
ganeti.opcodes.OpClusterVerify.OP_PARAMS
ganeti.opcodes.OpClusterVerify.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterVerifyConfig
ganeti.opcodes.OpClusterVerifyConfig.html
Class
Class
PUBLIC
Verify the cluster config.
-
ganeti.opcodes.OpClusterVerifyConfig.OP_PARAMS
ganeti.opcodes.OpClusterVerifyConfig.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterVerifyGroup
ganeti.opcodes.OpClusterVerifyGroup.html
Class
Class
PUBLIC
Run verify on a node group from the cluster.
-
ganeti.opcodes.OpClusterVerifyGroup.skip_checks
ganeti.opcodes.OpClusterVerifyGroup.html#skip_checks
Attribute
Instance Variable
PUBLIC
-
ganeti.opcodes.OpClusterVerifyGroup.OP_DSC_FIELD
ganeti.opcodes.OpClusterVerifyGroup.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterVerifyGroup.OP_PARAMS
ganeti.opcodes.OpClusterVerifyGroup.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterVerifyDisks
ganeti.opcodes.OpClusterVerifyDisks.html
Class
Class
PUBLIC
Verify the cluster disks.
-
ganeti.opcodes.OpClusterVerifyDisks.OP_PARAMS
ganeti.opcodes.OpClusterVerifyDisks.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupVerifyDisks
ganeti.opcodes.OpGroupVerifyDisks.html
Class
Class
PUBLIC
Verifies the status of all disks in a node group.
-
ganeti.opcodes.OpGroupVerifyDisks.OP_DSC_FIELD
ganeti.opcodes.OpGroupVerifyDisks.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupVerifyDisks.OP_PARAMS
ganeti.opcodes.OpGroupVerifyDisks.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupVerifyDisks.OP_RESULT
ganeti.opcodes.OpGroupVerifyDisks.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterRepairDiskSizes
ganeti.opcodes.OpClusterRepairDiskSizes.html
Class
Class
PUBLIC
Verify the disk sizes of the instances and fixes configuration mismatches.
-
ganeti.opcodes.OpClusterRepairDiskSizes.instances
ganeti.opcodes.OpClusterRepairDiskSizes.html#instances
Attribute
Instance Variable
PUBLIC
the list of instances to check, or empty for all instances
-
ganeti.opcodes.OpClusterRepairDiskSizes.OP_PARAMS
ganeti.opcodes.OpClusterRepairDiskSizes.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterRepairDiskSizes.OP_RESULT
ganeti.opcodes.OpClusterRepairDiskSizes.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterConfigQuery
ganeti.opcodes.OpClusterConfigQuery.html
Class
Class
PUBLIC
Query cluster configuration values.
-
ganeti.opcodes.OpClusterConfigQuery.OP_PARAMS
ganeti.opcodes.OpClusterConfigQuery.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterConfigQuery.OP_RESULT
ganeti.opcodes.OpClusterConfigQuery.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterRename
ganeti.opcodes.OpClusterRename.html
Class
Class
PUBLIC
Rename the cluster.
-
ganeti.opcodes.OpClusterRename.name
ganeti.opcodes.OpClusterRename.html#name
Attribute
Instance Variable
PUBLIC
The new name of the cluster. The name and/or the master IP address will be changed to match the new name and its IP address.
-
ganeti.opcodes.OpClusterRename.OP_DSC_FIELD
ganeti.opcodes.OpClusterRename.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterRename.OP_PARAMS
ganeti.opcodes.OpClusterRename.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterSetParams
ganeti.opcodes.OpClusterSetParams.html
Class
Class
PUBLIC
Change the parameters of the cluster.
-
ganeti.opcodes.OpClusterSetParams.vg_name
ganeti.opcodes.OpClusterSetParams.html#vg_name
Attribute
Instance Variable
PUBLIC
The new volume group name or None to disable LVM usage.
-
ganeti.opcodes.OpClusterSetParams.OP_PARAMS
ganeti.opcodes.OpClusterSetParams.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterSetParams.OP_RESULT
ganeti.opcodes.OpClusterSetParams.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterRedistConf
ganeti.opcodes.OpClusterRedistConf.html
Class
Class
PUBLIC
Force a full push of the cluster configuration.
-
ganeti.opcodes.OpClusterRedistConf.OP_PARAMS
ganeti.opcodes.OpClusterRedistConf.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterActivateMasterIp
ganeti.opcodes.OpClusterActivateMasterIp.html
Class
Class
PUBLIC
Activate the master IP on the master node.
-
ganeti.opcodes.OpClusterActivateMasterIp.OP_PARAMS
ganeti.opcodes.OpClusterActivateMasterIp.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterDeactivateMasterIp
ganeti.opcodes.OpClusterDeactivateMasterIp.html
Class
Class
PUBLIC
Deactivate the master IP on the master node.
-
ganeti.opcodes.OpClusterDeactivateMasterIp.OP_PARAMS
ganeti.opcodes.OpClusterDeactivateMasterIp.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpClusterRenewCrypto
ganeti.opcodes.OpClusterRenewCrypto.html
Class
Class
PUBLIC
Renews the cluster node's SSL client certificates.
-
ganeti.opcodes.OpClusterRenewCrypto.OP_PARAMS
ganeti.opcodes.OpClusterRenewCrypto.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpQuery
ganeti.opcodes.OpQuery.html
Class
Class
PUBLIC
Query for resources/items.
-
ganeti.opcodes.OpQuery.what
ganeti.opcodes.OpQuery.html#what
Attribute
Instance Variable
PUBLIC
-
ganeti.opcodes.OpQuery.fields
ganeti.opcodes.OpQuery.html#fields
Attribute
Instance Variable
PUBLIC
List of fields to retrieve
-
ganeti.opcodes.OpQuery.qfilter
ganeti.opcodes.OpQuery.html#qfilter
Attribute
Instance Variable
PUBLIC
Query filter
-
ganeti.opcodes.OpQuery.OP_DSC_FIELD
ganeti.opcodes.OpQuery.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpQuery.OP_PARAMS
ganeti.opcodes.OpQuery.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpQueryFields
ganeti.opcodes.OpQueryFields.html
Class
Class
PUBLIC
Query for available resource/item fields.
-
ganeti.opcodes.OpQueryFields.what
ganeti.opcodes.OpQueryFields.html#what
Attribute
Instance Variable
PUBLIC
-
ganeti.opcodes.OpQueryFields.fields
ganeti.opcodes.OpQueryFields.html#fields
Attribute
Instance Variable
PUBLIC
List of fields to retrieve
-
ganeti.opcodes.OpQueryFields.OP_DSC_FIELD
ganeti.opcodes.OpQueryFields.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpQueryFields.OP_PARAMS
ganeti.opcodes.OpQueryFields.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpOobCommand
ganeti.opcodes.OpOobCommand.html
Class
Class
PUBLIC
Interact with OOB.
-
ganeti.opcodes.OpOobCommand.OP_PARAMS
ganeti.opcodes.OpOobCommand.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpOobCommand.OP_RESULT
ganeti.opcodes.OpOobCommand.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpRestrictedCommand
ganeti.opcodes.OpRestrictedCommand.html
Class
Class
PUBLIC
Runs a restricted command on node(s).
-
ganeti.opcodes.OpRestrictedCommand.OP_PARAMS
ganeti.opcodes.OpRestrictedCommand.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpRestrictedCommand.OP_RESULT
ganeti.opcodes.OpRestrictedCommand.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeRemove
ganeti.opcodes.OpNodeRemove.html
Class
Class
PUBLIC
Remove a node.
-
ganeti.opcodes.OpNodeRemove.node_name
ganeti.opcodes.OpNodeRemove.html#node_name
Attribute
Instance Variable
PUBLIC
The name of the node to remove. If the node still has instances on it, the operation will fail.
-
ganeti.opcodes.OpNodeRemove.OP_DSC_FIELD
ganeti.opcodes.OpNodeRemove.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeRemove.OP_PARAMS
ganeti.opcodes.OpNodeRemove.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeAdd
ganeti.opcodes.OpNodeAdd.html
Class
Class
PUBLIC
Add a node to the cluster.
-
ganeti.opcodes.OpNodeAdd.node_name
ganeti.opcodes.OpNodeAdd.html#node_name
Attribute
Instance Variable
PUBLIC
The name of the node to add. This can be a short name, but it will be expanded to the FQDN.
-
ganeti.opcodes.OpNodeAdd.primary_ip
ganeti.opcodes.OpNodeAdd.html#primary_ip
Attribute
Instance Variable
PUBLIC
The primary IP of the node. This will be ignored when the opcode is submitted, but will be filled during the node add (so it will be visible in the job query).
-
ganeti.opcodes.OpNodeAdd.secondary_ip
ganeti.opcodes.OpNodeAdd.html#secondary_ip
Attribute
Instance Variable
PUBLIC
The secondary IP of the node. This needs to be passed if the cluster has been initialized in 'dual-network' mode, otherwise it must not be given.
-
ganeti.opcodes.OpNodeAdd.readd
ganeti.opcodes.OpNodeAdd.html#readd
Attribute
Instance Variable
PUBLIC
Whether to re-add an existing node to the cluster. If this is not passed, then the operation will abort if the node name is already in the cluster; use this parameter to 'repair' a node that had its configuration broken, or was reinstalled without removal from the cluster.
-
ganeti.opcodes.OpNodeAdd.group
ganeti.opcodes.OpNodeAdd.html#group
Attribute
Instance Variable
PUBLIC
The node group to which this node will belong.
-
ganeti.opcodes.OpNodeAdd.vm_capable
ganeti.opcodes.OpNodeAdd.html#vm_capable
Attribute
Instance Variable
PUBLIC
The vm_capable node attribute
-
ganeti.opcodes.OpNodeAdd.master_capable
ganeti.opcodes.OpNodeAdd.html#master_capable
Attribute
Instance Variable
PUBLIC
The master_capable node attribute
-
ganeti.opcodes.OpNodeAdd.OP_DSC_FIELD
ganeti.opcodes.OpNodeAdd.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeAdd.OP_PARAMS
ganeti.opcodes.OpNodeAdd.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeQueryvols
ganeti.opcodes.OpNodeQueryvols.html
Class
Class
PUBLIC
Get list of volumes on node.
-
ganeti.opcodes.OpNodeQueryvols.OP_PARAMS
ganeti.opcodes.OpNodeQueryvols.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeQueryvols.OP_RESULT
ganeti.opcodes.OpNodeQueryvols.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeQueryStorage
ganeti.opcodes.OpNodeQueryStorage.html
Class
Class
PUBLIC
Get information on storage for node(s).
-
ganeti.opcodes.OpNodeQueryStorage.OP_PARAMS
ganeti.opcodes.OpNodeQueryStorage.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeQueryStorage.OP_RESULT
ganeti.opcodes.OpNodeQueryStorage.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeModifyStorage
ganeti.opcodes.OpNodeModifyStorage.html
Class
Class
PUBLIC
Modifies the properies of a storage unit
-
ganeti.opcodes.OpNodeModifyStorage.OP_DSC_FIELD
ganeti.opcodes.OpNodeModifyStorage.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeModifyStorage.OP_PARAMS
ganeti.opcodes.OpNodeModifyStorage.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpRepairNodeStorage
ganeti.opcodes.OpRepairNodeStorage.html
Class
Class
PUBLIC
Repairs the volume group on a node.
-
ganeti.opcodes.OpRepairNodeStorage.OP_DSC_FIELD
ganeti.opcodes.OpRepairNodeStorage.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpRepairNodeStorage.OP_PARAMS
ganeti.opcodes.OpRepairNodeStorage.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeSetParams
ganeti.opcodes.OpNodeSetParams.html
Class
Class
PUBLIC
Change the parameters of a node.
-
ganeti.opcodes.OpNodeSetParams.OP_DSC_FIELD
ganeti.opcodes.OpNodeSetParams.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeSetParams.OP_PARAMS
ganeti.opcodes.OpNodeSetParams.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeSetParams.OP_RESULT
ganeti.opcodes.OpNodeSetParams.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodePowercycle
ganeti.opcodes.OpNodePowercycle.html
Class
Class
PUBLIC
Tries to powercycle a node.
-
ganeti.opcodes.OpNodePowercycle.OP_DSC_FIELD
ganeti.opcodes.OpNodePowercycle.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodePowercycle.OP_PARAMS
ganeti.opcodes.OpNodePowercycle.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodePowercycle.OP_RESULT
ganeti.opcodes.OpNodePowercycle.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeMigrate
ganeti.opcodes.OpNodeMigrate.html
Class
Class
PUBLIC
Migrate all instances from a node.
-
ganeti.opcodes.OpNodeMigrate.OP_DSC_FIELD
ganeti.opcodes.OpNodeMigrate.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeMigrate.OP_PARAMS
ganeti.opcodes.OpNodeMigrate.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeEvacuate
ganeti.opcodes.OpNodeEvacuate.html
Class
Class
PUBLIC
Evacuate instances off a number of nodes.
-
ganeti.opcodes.OpNodeEvacuate.OP_DSC_FIELD
ganeti.opcodes.OpNodeEvacuate.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNodeEvacuate.OP_PARAMS
ganeti.opcodes.OpNodeEvacuate.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceCreate
ganeti.opcodes.OpInstanceCreate.html
Class
Class
PUBLIC
Create an instance.
-
ganeti.opcodes.OpInstanceCreate.instance_name
ganeti.opcodes.OpInstanceCreate.html#instance_name
Attribute
Instance Variable
PUBLIC
Instance name
-
ganeti.opcodes.OpInstanceCreate.mode
ganeti.opcodes.OpInstanceCreate.html#mode
Attribute
Instance Variable
PUBLIC
-
ganeti.opcodes.OpInstanceCreate.source_handshake
ganeti.opcodes.OpInstanceCreate.html#source_handshake
Attribute
Instance Variable
PUBLIC
Signed handshake from source (remote import only)
-
ganeti.opcodes.OpInstanceCreate.source_x509_ca
ganeti.opcodes.OpInstanceCreate.html#source_x509_ca
Attribute
Instance Variable
PUBLIC
Source X509 CA in PEM format (remote import only)
-
ganeti.opcodes.OpInstanceCreate.source_instance_name
ganeti.opcodes.OpInstanceCreate.html#source_instance_name
Attribute
Instance Variable
PUBLIC
Previous name of instance (remote import only)
-
ganeti.opcodes.OpInstanceCreate.source_shutdown_timeout
ganeti.opcodes.OpInstanceCreate.html#source_shutdown_timeout
Attribute
Instance Variable
PUBLIC
Shutdown timeout used for source instance (remote import only)
-
ganeti.opcodes.OpInstanceCreate.OP_DSC_FIELD
ganeti.opcodes.OpInstanceCreate.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceCreate.OP_PARAMS
ganeti.opcodes.OpInstanceCreate.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceCreate.OP_RESULT
ganeti.opcodes.OpInstanceCreate.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceMultiAlloc
ganeti.opcodes.OpInstanceMultiAlloc.html
Class
Class
PUBLIC
Allocates multiple instances.
-
ganeti.opcodes.OpInstanceMultiAlloc.OP_PARAMS
ganeti.opcodes.OpInstanceMultiAlloc.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceReinstall
ganeti.opcodes.OpInstanceReinstall.html
Class
Class
PUBLIC
Reinstall an instance's OS.
-
ganeti.opcodes.OpInstanceReinstall.OP_DSC_FIELD
ganeti.opcodes.OpInstanceReinstall.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceReinstall.OP_PARAMS
ganeti.opcodes.OpInstanceReinstall.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceRemove
ganeti.opcodes.OpInstanceRemove.html
Class
Class
PUBLIC
Remove an instance.
-
ganeti.opcodes.OpInstanceRemove.OP_DSC_FIELD
ganeti.opcodes.OpInstanceRemove.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceRemove.OP_PARAMS
ganeti.opcodes.OpInstanceRemove.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceRename
ganeti.opcodes.OpInstanceRename.html
Class
Class
PUBLIC
Rename an instance.
-
ganeti.opcodes.OpInstanceRename.OP_PARAMS
ganeti.opcodes.OpInstanceRename.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceStartup
ganeti.opcodes.OpInstanceStartup.html
Class
Class
PUBLIC
Startup an instance.
-
ganeti.opcodes.OpInstanceStartup.OP_DSC_FIELD
ganeti.opcodes.OpInstanceStartup.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceStartup.OP_PARAMS
ganeti.opcodes.OpInstanceStartup.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceShutdown
ganeti.opcodes.OpInstanceShutdown.html
Class
Class
PUBLIC
Shutdown an instance.
-
ganeti.opcodes.OpInstanceShutdown.OP_DSC_FIELD
ganeti.opcodes.OpInstanceShutdown.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceShutdown.OP_PARAMS
ganeti.opcodes.OpInstanceShutdown.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceReboot
ganeti.opcodes.OpInstanceReboot.html
Class
Class
PUBLIC
Reboot an instance.
-
ganeti.opcodes.OpInstanceReboot.OP_DSC_FIELD
ganeti.opcodes.OpInstanceReboot.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceReboot.OP_PARAMS
ganeti.opcodes.OpInstanceReboot.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceReplaceDisks
ganeti.opcodes.OpInstanceReplaceDisks.html
Class
Class
PUBLIC
Replace the disks of an instance.
-
ganeti.opcodes.OpInstanceReplaceDisks.OP_DSC_FIELD
ganeti.opcodes.OpInstanceReplaceDisks.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceReplaceDisks.OP_PARAMS
ganeti.opcodes.OpInstanceReplaceDisks.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceFailover
ganeti.opcodes.OpInstanceFailover.html
Class
Class
PUBLIC
Failover an instance.
-
ganeti.opcodes.OpInstanceFailover.OP_DSC_FIELD
ganeti.opcodes.OpInstanceFailover.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceFailover.OP_PARAMS
ganeti.opcodes.OpInstanceFailover.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceMigrate
ganeti.opcodes.OpInstanceMigrate.html
Class
Class
PUBLIC
Migrate an instance.
-
ganeti.opcodes.OpInstanceMigrate.instance_name
ganeti.opcodes.OpInstanceMigrate.html#instance_name
Attribute
Instance Variable
PUBLIC
the name of the instance
-
ganeti.opcodes.OpInstanceMigrate.mode
ganeti.opcodes.OpInstanceMigrate.html#mode
Attribute
Instance Variable
PUBLIC
the migration mode (live, non-live or None for auto)
-
ganeti.opcodes.OpInstanceMigrate.OP_DSC_FIELD
ganeti.opcodes.OpInstanceMigrate.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceMigrate.OP_PARAMS
ganeti.opcodes.OpInstanceMigrate.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceMove
ganeti.opcodes.OpInstanceMove.html
Class
Class
PUBLIC
Move an instance.
-
ganeti.opcodes.OpInstanceMove.instance_name
ganeti.opcodes.OpInstanceMove.html#instance_name
Attribute
Instance Variable
PUBLIC
the name of the instance
-
ganeti.opcodes.OpInstanceMove.target_node
ganeti.opcodes.OpInstanceMove.html#target_node
Attribute
Instance Variable
PUBLIC
the destination node
-
ganeti.opcodes.OpInstanceMove.OP_DSC_FIELD
ganeti.opcodes.OpInstanceMove.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceMove.OP_PARAMS
ganeti.opcodes.OpInstanceMove.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceConsole
ganeti.opcodes.OpInstanceConsole.html
Class
Class
PUBLIC
Connect to an instance's console.
-
ganeti.opcodes.OpInstanceConsole.OP_DSC_FIELD
ganeti.opcodes.OpInstanceConsole.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceConsole.OP_PARAMS
ganeti.opcodes.OpInstanceConsole.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceConsole.OP_RESULT
ganeti.opcodes.OpInstanceConsole.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceActivateDisks
ganeti.opcodes.OpInstanceActivateDisks.html
Class
Class
PUBLIC
Activate an instance's disks.
-
ganeti.opcodes.OpInstanceActivateDisks.OP_DSC_FIELD
ganeti.opcodes.OpInstanceActivateDisks.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceActivateDisks.OP_PARAMS
ganeti.opcodes.OpInstanceActivateDisks.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceActivateDisks.OP_RESULT
ganeti.opcodes.OpInstanceActivateDisks.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceDeactivateDisks
ganeti.opcodes.OpInstanceDeactivateDisks.html
Class
Class
PUBLIC
Deactivate an instance's disks.
-
ganeti.opcodes.OpInstanceDeactivateDisks.OP_DSC_FIELD
ganeti.opcodes.OpInstanceDeactivateDisks.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceDeactivateDisks.OP_PARAMS
ganeti.opcodes.OpInstanceDeactivateDisks.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceRecreateDisks
ganeti.opcodes.OpInstanceRecreateDisks.html
Class
Class
PUBLIC
Recreate an instance's disks.
-
ganeti.opcodes.OpInstanceRecreateDisks.OP_DSC_FIELD
ganeti.opcodes.OpInstanceRecreateDisks.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceRecreateDisks.OP_PARAMS
ganeti.opcodes.OpInstanceRecreateDisks.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceQueryData
ganeti.opcodes.OpInstanceQueryData.html
Class
Class
PUBLIC
Compute the run-time status of instances.
-
ganeti.opcodes.OpInstanceQueryData.OP_PARAMS
ganeti.opcodes.OpInstanceQueryData.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceQueryData.OP_RESULT
ganeti.opcodes.OpInstanceQueryData.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceSetParams
ganeti.opcodes.OpInstanceSetParams.html
Class
Class
PUBLIC
Change the parameters of an instance.
-
ganeti.opcodes.OpInstanceSetParams.OP_DSC_FIELD
ganeti.opcodes.OpInstanceSetParams.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceSetParams.OP_PARAMS
ganeti.opcodes.OpInstanceSetParams.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceSetParams.OP_RESULT
ganeti.opcodes.OpInstanceSetParams.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceGrowDisk
ganeti.opcodes.OpInstanceGrowDisk.html
Class
Class
PUBLIC
Grow a disk of an instance.
-
ganeti.opcodes.OpInstanceGrowDisk.OP_DSC_FIELD
ganeti.opcodes.OpInstanceGrowDisk.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceGrowDisk.OP_PARAMS
ganeti.opcodes.OpInstanceGrowDisk.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceChangeGroup
ganeti.opcodes.OpInstanceChangeGroup.html
Class
Class
PUBLIC
Moves an instance to another node group.
-
ganeti.opcodes.OpInstanceChangeGroup.OP_DSC_FIELD
ganeti.opcodes.OpInstanceChangeGroup.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpInstanceChangeGroup.OP_PARAMS
ganeti.opcodes.OpInstanceChangeGroup.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupAdd
ganeti.opcodes.OpGroupAdd.html
Class
Class
PUBLIC
Add a node group to the cluster.
-
ganeti.opcodes.OpGroupAdd.OP_DSC_FIELD
ganeti.opcodes.OpGroupAdd.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupAdd.OP_PARAMS
ganeti.opcodes.OpGroupAdd.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupAdd.OP_RESULT
ganeti.opcodes.OpGroupAdd.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupAssignNodes
ganeti.opcodes.OpGroupAssignNodes.html
Class
Class
PUBLIC
Assign nodes to a node group.
-
ganeti.opcodes.OpGroupAssignNodes.OP_DSC_FIELD
ganeti.opcodes.OpGroupAssignNodes.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupAssignNodes.OP_PARAMS
ganeti.opcodes.OpGroupAssignNodes.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupSetParams
ganeti.opcodes.OpGroupSetParams.html
Class
Class
PUBLIC
Change the parameters of a node group.
-
ganeti.opcodes.OpGroupSetParams.OP_DSC_FIELD
ganeti.opcodes.OpGroupSetParams.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupSetParams.OP_PARAMS
ganeti.opcodes.OpGroupSetParams.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupSetParams.OP_RESULT
ganeti.opcodes.OpGroupSetParams.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupRemove
ganeti.opcodes.OpGroupRemove.html
Class
Class
PUBLIC
Remove a node group from the cluster.
-
ganeti.opcodes.OpGroupRemove.OP_DSC_FIELD
ganeti.opcodes.OpGroupRemove.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupRemove.OP_PARAMS
ganeti.opcodes.OpGroupRemove.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupRename
ganeti.opcodes.OpGroupRename.html
Class
Class
PUBLIC
Rename a node group in the cluster.
-
ganeti.opcodes.OpGroupRename.OP_PARAMS
ganeti.opcodes.OpGroupRename.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupEvacuate
ganeti.opcodes.OpGroupEvacuate.html
Class
Class
PUBLIC
Evacuate a node group in the cluster.
-
ganeti.opcodes.OpGroupEvacuate.OP_DSC_FIELD
ganeti.opcodes.OpGroupEvacuate.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpGroupEvacuate.OP_PARAMS
ganeti.opcodes.OpGroupEvacuate.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpOsDiagnose
ganeti.opcodes.OpOsDiagnose.html
Class
Class
PUBLIC
Compute the list of guest operating systems.
-
ganeti.opcodes.OpOsDiagnose.OP_PARAMS
ganeti.opcodes.OpOsDiagnose.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpOsDiagnose.OP_RESULT
ganeti.opcodes.OpOsDiagnose.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpExtStorageDiagnose
ganeti.opcodes.OpExtStorageDiagnose.html
Class
Class
PUBLIC
Compute the list of external storage providers.
-
ganeti.opcodes.OpExtStorageDiagnose.OP_PARAMS
ganeti.opcodes.OpExtStorageDiagnose.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpExtStorageDiagnose.OP_RESULT
ganeti.opcodes.OpExtStorageDiagnose.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupPrepare
ganeti.opcodes.OpBackupPrepare.html
Class
Class
PUBLIC
Prepares an instance export.
-
ganeti.opcodes.OpBackupPrepare.instance_name
ganeti.opcodes.OpBackupPrepare.html#instance_name
Attribute
Instance Variable
PUBLIC
Instance name
-
ganeti.opcodes.OpBackupPrepare.mode
ganeti.opcodes.OpBackupPrepare.html#mode
Attribute
Instance Variable
PUBLIC
-
ganeti.opcodes.OpBackupPrepare.OP_DSC_FIELD
ganeti.opcodes.OpBackupPrepare.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupPrepare.OP_PARAMS
ganeti.opcodes.OpBackupPrepare.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupPrepare.OP_RESULT
ganeti.opcodes.OpBackupPrepare.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupExport
ganeti.opcodes.OpBackupExport.html
Class
Class
PUBLIC
Export an instance.
-
ganeti.opcodes.OpBackupExport.mode
ganeti.opcodes.OpBackupExport.html#mode
Attribute
Instance Variable
PUBLIC
-
ganeti.opcodes.OpBackupExport.target_node
ganeti.opcodes.OpBackupExport.html#target_node
Attribute
Instance Variable
PUBLIC
Export destination
-
ganeti.opcodes.OpBackupExport.x509_key_name
ganeti.opcodes.OpBackupExport.html#x509_key_name
Attribute
Instance Variable
PUBLIC
X509 key to use (remote export only)
-
ganeti.opcodes.OpBackupExport.destination_x509_ca
ganeti.opcodes.OpBackupExport.html#destination_x509_ca
Attribute
Instance Variable
PUBLIC
Destination X509 CA in PEM format (remote export only)
-
ganeti.opcodes.OpBackupExport.OP_DSC_FIELD
ganeti.opcodes.OpBackupExport.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupExport.OP_PARAMS
ganeti.opcodes.OpBackupExport.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupExport.OP_RESULT
ganeti.opcodes.OpBackupExport.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupRemove
ganeti.opcodes.OpBackupRemove.html
Class
Class
PUBLIC
Remove an instance's export.
-
ganeti.opcodes.OpBackupRemove.OP_DSC_FIELD
ganeti.opcodes.OpBackupRemove.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpBackupRemove.OP_PARAMS
ganeti.opcodes.OpBackupRemove.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsGet
ganeti.opcodes.OpTagsGet.html
Class
Class
PUBLIC
Returns the tags of the given object.
-
ganeti.opcodes.OpTagsGet.OP_DSC_FIELD
ganeti.opcodes.OpTagsGet.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsGet.OP_PARAMS
ganeti.opcodes.OpTagsGet.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsGet.OP_RESULT
ganeti.opcodes.OpTagsGet.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsSearch
ganeti.opcodes.OpTagsSearch.html
Class
Class
PUBLIC
Searches the tags in the cluster for a given pattern.
-
ganeti.opcodes.OpTagsSearch.OP_DSC_FIELD
ganeti.opcodes.OpTagsSearch.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsSearch.OP_PARAMS
ganeti.opcodes.OpTagsSearch.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsSearch.OP_RESULT
ganeti.opcodes.OpTagsSearch.html#OP_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsSet
ganeti.opcodes.OpTagsSet.html
Class
Class
PUBLIC
Add a list of tags on a given object.
-
ganeti.opcodes.OpTagsSet.OP_PARAMS
ganeti.opcodes.OpTagsSet.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTagsDel
ganeti.opcodes.OpTagsDel.html
Class
Class
PUBLIC
Remove a list of tags from a given object.
-
ganeti.opcodes.OpTagsDel.OP_PARAMS
ganeti.opcodes.OpTagsDel.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestDelay
ganeti.opcodes.OpTestDelay.html
Class
Class
PUBLIC
Sleeps for a configured amount of time.
-
ganeti.opcodes.OpTestDelay.OP_DSC_FIELD
ganeti.opcodes.OpTestDelay.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestDelay.OP_PARAMS
ganeti.opcodes.OpTestDelay.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestAllocator
ganeti.opcodes.OpTestAllocator.html
Class
Class
PUBLIC
Allocator framework testing.
-
ganeti.opcodes.OpTestAllocator.OP_DSC_FIELD
ganeti.opcodes.OpTestAllocator.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestAllocator.OP_PARAMS
ganeti.opcodes.OpTestAllocator.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestJqueue
ganeti.opcodes.OpTestJqueue.html
Class
Class
PUBLIC
Utility opcode to test some aspects of the job queue.
-
ganeti.opcodes.OpTestJqueue.OP_PARAMS
ganeti.opcodes.OpTestJqueue.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestOsParams
ganeti.opcodes.OpTestOsParams.html
Class
Class
PUBLIC
Utility opcode to test secret os parameter transmission.
-
ganeti.opcodes.OpTestOsParams.OP_PARAMS
ganeti.opcodes.OpTestOsParams.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestDummy
ganeti.opcodes.OpTestDummy.html
Class
Class
PUBLIC
Utility opcode used by unittests.
-
ganeti.opcodes.OpTestDummy.OP_PARAMS
ganeti.opcodes.OpTestDummy.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpTestDummy.WITH_LU
ganeti.opcodes.OpTestDummy.html#WITH_LU
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkAdd
ganeti.opcodes.OpNetworkAdd.html
Class
Class
PUBLIC
Add an IP network to the cluster.
-
ganeti.opcodes.OpNetworkAdd.OP_DSC_FIELD
ganeti.opcodes.OpNetworkAdd.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkAdd.OP_PARAMS
ganeti.opcodes.OpNetworkAdd.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkRemove
ganeti.opcodes.OpNetworkRemove.html
Class
Class
PUBLIC
Remove an existing network from the cluster. Must not be connected to any nodegroup.
-
ganeti.opcodes.OpNetworkRemove.OP_DSC_FIELD
ganeti.opcodes.OpNetworkRemove.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkRemove.OP_PARAMS
ganeti.opcodes.OpNetworkRemove.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkRename
ganeti.opcodes.OpNetworkRename.html
Class
Class
PUBLIC
Rename a network in the cluster.
-
ganeti.opcodes.OpNetworkRename.OP_PARAMS
ganeti.opcodes.OpNetworkRename.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkSetParams
ganeti.opcodes.OpNetworkSetParams.html
Class
Class
PUBLIC
Modify Network's parameters except for IPv4 subnet
-
ganeti.opcodes.OpNetworkSetParams.OP_DSC_FIELD
ganeti.opcodes.OpNetworkSetParams.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkSetParams.OP_PARAMS
ganeti.opcodes.OpNetworkSetParams.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkConnect
ganeti.opcodes.OpNetworkConnect.html
Class
Class
PUBLIC
Connect a Network to a specific Nodegroup with the defined netparams (mode, link). Nics in this Network will inherit those params. Produce errors if a NIC (that its not already assigned to a network) has an IP that is contained in the Network this will produce error unless --no-conflicts-check is passed.
-
ganeti.opcodes.OpNetworkConnect.OP_DSC_FIELD
ganeti.opcodes.OpNetworkConnect.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkConnect.OP_PARAMS
ganeti.opcodes.OpNetworkConnect.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkDisconnect
ganeti.opcodes.OpNetworkDisconnect.html
Class
Class
PUBLIC
Disconnect a Network from a Nodegroup. Produce errors if NICs are present in the Network unless --no-conficts-check option is passed.
-
ganeti.opcodes.OpNetworkDisconnect.OP_DSC_FIELD
ganeti.opcodes.OpNetworkDisconnect.html#OP_DSC_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes.OpNetworkDisconnect.OP_PARAMS
ganeti.opcodes.OpNetworkDisconnect.html#OP_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.opcodes._GetOpList
ganeti.opcodes.html#_GetOpList
Function
Function
PRIVATE
Returns list of all defined opcodes.
-
ganeti.opcodes.OP_MAPPING
ganeti.opcodes.html#OP_MAPPING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.common.INSTANCE_DOWN
ganeti.cmdlib.common.html#INSTANCE_DOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.common.INSTANCE_ONLINE
ganeti.cmdlib.common.html#INSTANCE_ONLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.common.INSTANCE_NOT_RUNNING
ganeti.cmdlib.common.html#INSTANCE_NOT_RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.common._ExpandItemName
ganeti.cmdlib.common.html#_ExpandItemName
Function
Function
PRIVATE
Expand an item name.
-
ganeti.cmdlib.common.ExpandInstanceUuidAndName
ganeti.cmdlib.common.html#ExpandInstanceUuidAndName
Function
Function
PUBLIC
-
ganeti.cmdlib.common.ExpandNodeUuidAndName
ganeti.cmdlib.common.html#ExpandNodeUuidAndName
Function
Function
PUBLIC
Expand a short node name into the node UUID and full name.
-
ganeti.cmdlib.common.ShareAll
ganeti.cmdlib.common.html#ShareAll
Function
Function
PUBLIC
Returns a dict declaring all lock levels shared.
-
ganeti.cmdlib.common.CheckNodeGroupInstances
ganeti.cmdlib.common.html#CheckNodeGroupInstances
Function
Function
PUBLIC
Checks if the instances in a node group are still correct.
-
ganeti.cmdlib.common.GetWantedNodes
ganeti.cmdlib.common.html#GetWantedNodes
Function
Function
PUBLIC
Returns list of checked and expanded node names.
-
ganeti.cmdlib.common.GetWantedInstances
ganeti.cmdlib.common.html#GetWantedInstances
Function
Function
PUBLIC
Returns list of checked and expanded instance names.
-
ganeti.cmdlib.common.RunPostHook
ganeti.cmdlib.common.html#RunPostHook
Function
Function
PUBLIC
Runs the post-hook for an opcode on a single node.
-
ganeti.cmdlib.common.RedistributeAncillaryFiles
ganeti.cmdlib.common.html#RedistributeAncillaryFiles
Function
Function
PUBLIC
Distribute additional files which are part of the cluster configuration.
-
ganeti.cmdlib.common.ComputeAncillaryFiles
ganeti.cmdlib.common.html#ComputeAncillaryFiles
Function
Function
PUBLIC
Compute files external to Ganeti which need to be consistent.
-
ganeti.cmdlib.common.UploadHelper
ganeti.cmdlib.common.html#UploadHelper
Function
Function
PUBLIC
Helper for uploading a file and showing warnings.
-
ganeti.cmdlib.common.MergeAndVerifyHvState
ganeti.cmdlib.common.html#MergeAndVerifyHvState
Function
Function
PUBLIC
Combines the hv state from an opcode with the one of the object
-
ganeti.cmdlib.common.MergeAndVerifyDiskState
ganeti.cmdlib.common.html#MergeAndVerifyDiskState
Function
Function
PUBLIC
Combines the disk state from an opcode with the one of the object
-
ganeti.cmdlib.common.CheckOSParams
ganeti.cmdlib.common.html#CheckOSParams
Function
Function
PUBLIC
OS parameters validation.
-
ganeti.cmdlib.common.CheckImageValidity
ganeti.cmdlib.common.html#CheckImageValidity
Function
Function
PUBLIC
Checks if a given image description is either a valid file path or a URL.
-
ganeti.cmdlib.common.CheckOSImage
ganeti.cmdlib.common.html#CheckOSImage
Function
Function
PUBLIC
Checks if the OS image in the OS parameters of an opcode is valid.
-
ganeti.cmdlib.common.CheckHVParams
ganeti.cmdlib.common.html#CheckHVParams
Function
Function
PUBLIC
Hypervisor parameter validation.
-
ganeti.cmdlib.common.AddMasterCandidateSshKey
ganeti.cmdlib.common.html#AddMasterCandidateSshKey
Function
Function
PUBLIC
Undocumented
-
ganeti.cmdlib.common.AdjustCandidatePool
ganeti.cmdlib.common.html#AdjustCandidatePool
Function
Function
PUBLIC
Adjust the candidate pool after node operations.
-
ganeti.cmdlib.common.CheckNodePVs
ganeti.cmdlib.common.html#CheckNodePVs
Function
Function
PUBLIC
Check node PVs.
-
ganeti.cmdlib.common._ComputeMinMaxSpec
ganeti.cmdlib.common.html#_ComputeMinMaxSpec
Function
Function
PRIVATE
Computes if value is in the desired range.
-
ganeti.cmdlib.common.ComputeIPolicySpecViolation
ganeti.cmdlib.common.html#ComputeIPolicySpecViolation
Function
Function
PUBLIC
Verifies ipolicy against provided specs.
-
ganeti.cmdlib.common.ComputeIPolicyDiskSizesViolation
ganeti.cmdlib.common.html#ComputeIPolicyDiskSizesViolation
Function
Function
PUBLIC
Verifies ipolicy against provided disk sizes.
-
ganeti.cmdlib.common.ComputeIPolicyInstanceViolation
ganeti.cmdlib.common.html#ComputeIPolicyInstanceViolation
Function
Function
PUBLIC
Compute if instance meets the specs of ipolicy.
-
ganeti.cmdlib.common._ComputeViolatingInstances
ganeti.cmdlib.common.html#_ComputeViolatingInstances
Function
Function
PRIVATE
Computes a set of instances who violates given ipolicy.
-
ganeti.cmdlib.common.ComputeNewInstanceViolations
ganeti.cmdlib.common.html#ComputeNewInstanceViolations
Function
Function
PUBLIC
Computes a set of any instances that would violate the new ipolicy.
-
ganeti.cmdlib.common.GetUpdatedParams
ganeti.cmdlib.common.html#GetUpdatedParams
Function
Function
PUBLIC
Return the new version of a parameter dictionary.
-
ganeti.cmdlib.common.GetUpdatedIPolicy
ganeti.cmdlib.common.html#GetUpdatedIPolicy
Function
Function
PUBLIC
Return the new version of an instance policy.
-
ganeti.cmdlib.common.AnnotateDiskParams
ganeti.cmdlib.common.html#AnnotateDiskParams
Function
Function
PUBLIC
Little helper wrapper to the rpc annotation method.
-
ganeti.cmdlib.common.SupportsOob
ganeti.cmdlib.common.html#SupportsOob
Function
Function
PUBLIC
Tells if node supports OOB.
-
ganeti.cmdlib.common._UpdateAndVerifySubDict
ganeti.cmdlib.common.html#_UpdateAndVerifySubDict
Function
Function
PRIVATE
Updates and verifies a dict with sub dicts of the same type.
-
ganeti.cmdlib.common._FilterVmNodes
ganeti.cmdlib.common.html#_FilterVmNodes
Function
Function
PRIVATE
Filters out non-vm_capable nodes from a list.
-
ganeti.cmdlib.common.GetDefaultIAllocator
ganeti.cmdlib.common.html#GetDefaultIAllocator
Function
Function
PUBLIC
Decides on which iallocator to use.
-
ganeti.cmdlib.common.CheckInstancesNodeGroups
ganeti.cmdlib.common.html#CheckInstancesNodeGroups
Function
Function
PUBLIC
Checks if node groups for locked instances are still correct.
-
ganeti.cmdlib.common.CheckInstanceNodeGroups
ganeti.cmdlib.common.html#CheckInstanceNodeGroups
Function
Function
PUBLIC
Checks if the owned node groups are still correct for an instance.
-
ganeti.cmdlib.common.LoadNodeEvacResult
ganeti.cmdlib.common.html#LoadNodeEvacResult
Function
Function
PUBLIC
Unpacks the result of change-group and node-evacuate iallocator requests.
-
ganeti.cmdlib.common._NodeEvacDest
ganeti.cmdlib.common.html#_NodeEvacDest
Function
Function
PRIVATE
Returns group or nodes depending on caller's choice.
-
ganeti.cmdlib.common._SetOpEarlyRelease
ganeti.cmdlib.common.html#_SetOpEarlyRelease
Function
Function
PRIVATE
Sets early_release flag on opcodes if available.
-
ganeti.cmdlib.common.MapInstanceLvsToNodes
ganeti.cmdlib.common.html#MapInstanceLvsToNodes
Function
Function
PUBLIC
Creates a map from (node, volume) to instance name.
-
ganeti.cmdlib.common.CheckParamsNotGlobal
ganeti.cmdlib.common.html#CheckParamsNotGlobal
Function
Function
PUBLIC
Make sure that none of the given paramters is global.
-
ganeti.cmdlib.common.IsExclusiveStorageEnabledNode
ganeti.cmdlib.common.html#IsExclusiveStorageEnabledNode
Function
Function
PUBLIC
Whether exclusive_storage is in effect for the given node.
-
ganeti.cmdlib.common.IsInstanceRunning
ganeti.cmdlib.common.html#IsInstanceRunning
Function
Function
PUBLIC
Given an instance object, checks if the instance is running.
-
ganeti.cmdlib.common.CheckInstanceState
ganeti.cmdlib.common.html#CheckInstanceState
Function
Function
PUBLIC
Ensure that an instance is in one of the required states.
-
ganeti.cmdlib.common.CheckIAllocatorOrNode
ganeti.cmdlib.common.html#CheckIAllocatorOrNode
Function
Function
PUBLIC
Check the sanity of iallocator and node arguments and use the cluster-wide iallocator if appropriate.
-
ganeti.cmdlib.common.FindFaultyInstanceDisks
ganeti.cmdlib.common.html#FindFaultyInstanceDisks
Function
Function
PUBLIC
Undocumented
-
ganeti.cmdlib.common.CheckNodeOnline
ganeti.cmdlib.common.html#CheckNodeOnline
Function
Function
PUBLIC
Ensure that a given node is online.
-
ganeti.cmdlib.common.CheckDiskTemplateEnabled
ganeti.cmdlib.common.html#CheckDiskTemplateEnabled
Function
Function
PUBLIC
Helper function to check if a disk template is enabled.
-
ganeti.cmdlib.common.CheckStorageTypeEnabled
ganeti.cmdlib.common.html#CheckStorageTypeEnabled
Function
Function
PUBLIC
Helper function to check if a storage type is enabled.
-
ganeti.cmdlib.common.CheckIpolicyVsDiskTemplates
ganeti.cmdlib.common.html#CheckIpolicyVsDiskTemplates
Function
Function
PUBLIC
Checks ipolicy disk templates against enabled disk tempaltes.
-
ganeti.cmdlib.common.CheckDiskAccessModeValidity
ganeti.cmdlib.common.html#CheckDiskAccessModeValidity
Function
Function
PUBLIC
Checks if the access parameter is legal.
-
ganeti.cmdlib.common.CheckDiskAccessModeConsistency
ganeti.cmdlib.common.html#CheckDiskAccessModeConsistency
Function
Function
PUBLIC
Checks if the access param is consistent with the cluster configuration.
-
ganeti.cmdlib.common.IsValidDiskAccessModeCombination
ganeti.cmdlib.common.html#IsValidDiskAccessModeCombination
Function
Function
PUBLIC
Checks if an hypervisor can read a disk template with given mode.
-
ganeti.cmdlib.common.AddNodeCertToCandidateCerts
ganeti.cmdlib.common.html#AddNodeCertToCandidateCerts
Function
Function
PUBLIC
Add the node's client SSL certificate digest to the candidate certs.
-
ganeti.cmdlib.common.RemoveNodeCertFromCandidateCerts
ganeti.cmdlib.common.html#RemoveNodeCertFromCandidateCerts
Function
Function
PUBLIC
Removes the node's certificate from the candidate certificates list.
-
ganeti.cmdlib.common.GetClientCertDigest
ganeti.cmdlib.common.html#GetClientCertDigest
Function
Function
PUBLIC
Get the client SSL certificate digest for the node.
-
ganeti.cmdlib.common.AddInstanceCommunicationNetworkOp
ganeti.cmdlib.common.html#AddInstanceCommunicationNetworkOp
Function
Function
PUBLIC
Create an OpCode that adds the instance communication network.
-
ganeti.cmdlib.common.ConnectInstanceCommunicationNetworkOp
ganeti.cmdlib.common.html#ConnectInstanceCommunicationNetworkOp
Function
Function
PUBLIC
Create an OpCode that connects a group to the instance communication network.
-
ganeti.cmdlib.common.DetermineImageSize
ganeti.cmdlib.common.html#DetermineImageSize
Function
Function
PUBLIC
Determines the size of the specified image.
-
ganeti.cmdlib.common.EnsureKvmdOnNodes
ganeti.cmdlib.common.html#EnsureKvmdOnNodes
Function
Function
PUBLIC
Ensure KVM daemon is running on nodes with KVM instances.
-
ganeti.cmdlib.common.WarnAboutFailedSshUpdates
ganeti.cmdlib.common.html#WarnAboutFailedSshUpdates
Function
Function
PUBLIC
Undocumented
-
ganeti.cmdlib.base.ResultWithJobs
ganeti.cmdlib.base.ResultWithJobs.html
Class
Class
PUBLIC
Data container for LU results with jobs.
-
ganeti.cmdlib.base.ResultWithJobs.__init__
ganeti.cmdlib.base.ResultWithJobs.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cmdlib.base.ResultWithJobs.jobs
ganeti.cmdlib.base.ResultWithJobs.html#jobs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.ResultWithJobs.other
ganeti.cmdlib.base.ResultWithJobs.html#other
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LUWConfdClient
ganeti.cmdlib.base.LUWConfdClient.html
Class
Class
PUBLIC
Wrapper class for wconfd client calls from LUs.
-
ganeti.cmdlib.base.LUWConfdClient.__init__
ganeti.cmdlib.base.LUWConfdClient.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LUWConfdClient.lu
ganeti.cmdlib.base.LUWConfdClient.html#lu
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LUWConfdClient.TryUpdateLocks
ganeti.cmdlib.base.LUWConfdClient.html#TryUpdateLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LUWConfdClient.DownGradeLocksLevel
ganeti.cmdlib.base.LUWConfdClient.html#DownGradeLocksLevel
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LUWConfdClient.FreeLocksLevel
ganeti.cmdlib.base.LUWConfdClient.html#FreeLocksLevel
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit
ganeti.cmdlib.base.LogicalUnit.html
Class
Class
PUBLIC
Logical Unit base class.
-
ganeti.cmdlib.base.LogicalUnit.dry_run_result
ganeti.cmdlib.base.LogicalUnit.html#dry_run_result
Attribute
Instance Variable
PUBLIC
the value (if any) that will be returned to the caller in dry-run mode (signalled by opcode dry_run parameter)
-
ganeti.cmdlib.base.LogicalUnit.HPATH
ganeti.cmdlib.base.LogicalUnit.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.HTYPE
ganeti.cmdlib.base.LogicalUnit.html#HTYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.REQ_BGL
ganeti.cmdlib.base.LogicalUnit.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.__init__
ganeti.cmdlib.base.LogicalUnit.html#__init__
Function
Method
PUBLIC
Constructor for LogicalUnit.
-
ganeti.cmdlib.base.LogicalUnit.proc
ganeti.cmdlib.base.LogicalUnit.html#proc
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.op
ganeti.cmdlib.base.LogicalUnit.html#op
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.cfg
ganeti.cmdlib.base.LogicalUnit.html#cfg
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.wconfdlocks
ganeti.cmdlib.base.LogicalUnit.html#wconfdlocks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.wconfdcontext
ganeti.cmdlib.base.LogicalUnit.html#wconfdcontext
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.rpc
ganeti.cmdlib.base.LogicalUnit.html#rpc
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.wconfd
ganeti.cmdlib.base.LogicalUnit.html#wconfd
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.needed_locks
ganeti.cmdlib.base.LogicalUnit.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.share_locks
ganeti.cmdlib.base.LogicalUnit.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.opportunistic_locks
ganeti.cmdlib.base.LogicalUnit.html#opportunistic_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.opportunistic_locks_count
ganeti.cmdlib.base.LogicalUnit.html#opportunistic_locks_count
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.dont_collate_locks
ganeti.cmdlib.base.LogicalUnit.html#dont_collate_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.add_locks
ganeti.cmdlib.base.LogicalUnit.html#add_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.recalculate_locks
ganeti.cmdlib.base.LogicalUnit.html#recalculate_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.Log
ganeti.cmdlib.base.LogicalUnit.html#Log
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.LogWarning
ganeti.cmdlib.base.LogicalUnit.html#LogWarning
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.LogInfo
ganeti.cmdlib.base.LogicalUnit.html#LogInfo
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.LogStep
ganeti.cmdlib.base.LogicalUnit.html#LogStep
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.tasklets
ganeti.cmdlib.base.LogicalUnit.html#tasklets
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.WConfdClient
ganeti.cmdlib.base.LogicalUnit.html#WConfdClient
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.base.LogicalUnit.owned_locks
ganeti.cmdlib.base.LogicalUnit.html#owned_locks
Function
Method
PUBLIC
Return the list of locks owned by the LU at a given level.
-
ganeti.cmdlib.base.LogicalUnit.release_request
ganeti.cmdlib.base.LogicalUnit.html#release_request
Function
Method
PUBLIC
Return a request to release the specified locks of the given level.
-
ganeti.cmdlib.base.LogicalUnit.CheckArguments
ganeti.cmdlib.base.LogicalUnit.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.base.LogicalUnit.ExpandNames
ganeti.cmdlib.base.LogicalUnit.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.base.LogicalUnit.DeclareLocks
ganeti.cmdlib.base.LogicalUnit.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.base.LogicalUnit.CheckPrereq
ganeti.cmdlib.base.LogicalUnit.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.base.LogicalUnit.Exec
ganeti.cmdlib.base.LogicalUnit.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.base.LogicalUnit.PrepareRetry
ganeti.cmdlib.base.LogicalUnit.html#PrepareRetry
Function
Method
PUBLIC
Prepare the LU to run again.
-
ganeti.cmdlib.base.LogicalUnit.BuildHooksEnv
ganeti.cmdlib.base.LogicalUnit.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks environment for this LU.
-
ganeti.cmdlib.base.LogicalUnit.BuildHooksNodes
ganeti.cmdlib.base.LogicalUnit.html#BuildHooksNodes
Function
Method
PUBLIC
Build list of nodes to run LU's hooks.
-
ganeti.cmdlib.base.LogicalUnit.PreparePostHookNodes
ganeti.cmdlib.base.LogicalUnit.html#PreparePostHookNodes
Function
Method
PUBLIC
Extend list of nodes to run the post LU hook.
-
ganeti.cmdlib.base.LogicalUnit.HooksCallBack
ganeti.cmdlib.base.LogicalUnit.html#HooksCallBack
Function
Method
PUBLIC
Notify the LU about the results of its hooks.
-
ganeti.cmdlib.base.LogicalUnit._ExpandAndLockInstance
ganeti.cmdlib.base.LogicalUnit.html#_ExpandAndLockInstance
Function
Method
PRIVATE
Helper function to expand and lock an instance.
-
ganeti.cmdlib.base.LogicalUnit._LockInstancesNodes
ganeti.cmdlib.base.LogicalUnit.html#_LockInstancesNodes
Function
Method
PRIVATE
Helper function to declare instances' nodes for locking.
-
ganeti.cmdlib.base.LogicalUnit.AssertReleasedLocks
ganeti.cmdlib.base.LogicalUnit.html#AssertReleasedLocks
Function
Method
PUBLIC
Raise AssertionError if the LU holds some locks of the given level.
-
ganeti.cmdlib.base.NoHooksLU
ganeti.cmdlib.base.NoHooksLU.html
Class
Class
PUBLIC
Simple LU which runs no hooks.
-
ganeti.cmdlib.base.NoHooksLU.HPATH
ganeti.cmdlib.base.NoHooksLU.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.NoHooksLU.HTYPE
ganeti.cmdlib.base.NoHooksLU.html#HTYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.NoHooksLU.BuildHooksEnv
ganeti.cmdlib.base.NoHooksLU.html#BuildHooksEnv
Function
Method
PUBLIC
Empty BuildHooksEnv for NoHooksLu.
-
ganeti.cmdlib.base.NoHooksLU.BuildHooksNodes
ganeti.cmdlib.base.NoHooksLU.html#BuildHooksNodes
Function
Method
PUBLIC
Empty BuildHooksNodes for NoHooksLU.
-
ganeti.cmdlib.base.NoHooksLU.PreparePostHookNodes
ganeti.cmdlib.base.NoHooksLU.html#PreparePostHookNodes
Function
Method
PUBLIC
Empty PreparePostHookNodes for NoHooksLU.
-
ganeti.cmdlib.base.Tasklet
ganeti.cmdlib.base.Tasklet.html
Class
Class
PUBLIC
Tasklet base class.
-
ganeti.cmdlib.base.Tasklet.__init__
ganeti.cmdlib.base.Tasklet.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.base.Tasklet.lu
ganeti.cmdlib.base.Tasklet.html#lu
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.Tasklet.cfg
ganeti.cmdlib.base.Tasklet.html#cfg
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.Tasklet.rpc
ganeti.cmdlib.base.Tasklet.html#rpc
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.Tasklet.CheckPrereq
ganeti.cmdlib.base.Tasklet.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this tasklets.
-
ganeti.cmdlib.base.Tasklet.Exec
ganeti.cmdlib.base.Tasklet.html#Exec
Function
Method
PUBLIC
Execute the tasklet.
-
ganeti.cmdlib.base.QueryBase
ganeti.cmdlib.base.QueryBase.html
Class
Class
PUBLIC
Base for query utility classes.
-
ganeti.cmdlib.base.QueryBase.FIELDS
ganeti.cmdlib.base.QueryBase.html#FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.SORT_FIELD
ganeti.cmdlib.base.QueryBase.html#SORT_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.__init__
ganeti.cmdlib.base.QueryBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cmdlib.base.QueryBase.use_locking
ganeti.cmdlib.base.QueryBase.html#use_locking
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.query
ganeti.cmdlib.base.QueryBase.html#query
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.requested_data
ganeti.cmdlib.base.QueryBase.html#requested_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.names
ganeti.cmdlib.base.QueryBase.html#names
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.sort_by_name
ganeti.cmdlib.base.QueryBase.html#sort_by_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.do_locking
ganeti.cmdlib.base.QueryBase.html#do_locking
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase.wanted
ganeti.cmdlib.base.QueryBase.html#wanted
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.base.QueryBase._GetNames
ganeti.cmdlib.base.QueryBase.html#_GetNames
Function
Method
PRIVATE
Helper function to determine names asked for in the query.
-
ganeti.cmdlib.base.QueryBase.ExpandNames
ganeti.cmdlib.base.QueryBase.html#ExpandNames
Function
Method
PUBLIC
Expand names for this query.
-
ganeti.cmdlib.base.QueryBase.DeclareLocks
ganeti.cmdlib.base.QueryBase.html#DeclareLocks
Function
Method
PUBLIC
Declare locks for this query.
-
ganeti.cmdlib.base.QueryBase._GetQueryData
ganeti.cmdlib.base.QueryBase.html#_GetQueryData
Function
Method
PRIVATE
Collects all data for this query.
-
ganeti.cmdlib.base.QueryBase.NewStyleQuery
ganeti.cmdlib.base.QueryBase.html#NewStyleQuery
Function
Method
PUBLIC
Collect data and execute query.
-
ganeti.cmdlib.base.QueryBase.OldStyleQuery
ganeti.cmdlib.base.QueryBase.html#OldStyleQuery
Function
Method
PUBLIC
Collect data and execute query.
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html
Class
Class
PUBLIC
Renew the cluster's crypto tokens.
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto._MAX_NUM_RETRIES
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#_MAX_NUM_RETRIES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.REQ_BGL
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.ExpandNames
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.needed_locks
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.share_locks
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.CheckPrereq
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.ssh_key_type
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#ssh_key_type
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.ssh_key_bits
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#ssh_key_bits
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto._RenewNodeSslCertificates
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#_RenewNodeSslCertificates
Function
Method
PRIVATE
Renews the nodes' SSL certificates.
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto._RenewSshKeys
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#_RenewSshKeys
Function
Method
PRIVATE
Renew all nodes' SSH keys.
-
ganeti.cmdlib.cluster.LUClusterRenewCrypto.Exec
ganeti.cmdlib.cluster.LUClusterRenewCrypto.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.cluster.LUClusterActivateMasterIp
ganeti.cmdlib.cluster.LUClusterActivateMasterIp.html
Class
Class
PUBLIC
Activate the master IP on the master node.
-
ganeti.cmdlib.cluster.LUClusterActivateMasterIp.Exec
ganeti.cmdlib.cluster.LUClusterActivateMasterIp.html#Exec
Function
Method
PUBLIC
Activate the master IP.
-
ganeti.cmdlib.cluster.LUClusterDeactivateMasterIp
ganeti.cmdlib.cluster.LUClusterDeactivateMasterIp.html
Class
Class
PUBLIC
Deactivate the master IP on the master node.
-
ganeti.cmdlib.cluster.LUClusterDeactivateMasterIp.Exec
ganeti.cmdlib.cluster.LUClusterDeactivateMasterIp.html#Exec
Function
Method
PUBLIC
Deactivate the master IP.
-
ganeti.cmdlib.cluster.LUClusterConfigQuery
ganeti.cmdlib.cluster.LUClusterConfigQuery.html
Class
Class
PUBLIC
Return configuration values.
-
ganeti.cmdlib.cluster.LUClusterConfigQuery.REQ_BGL
ganeti.cmdlib.cluster.LUClusterConfigQuery.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterConfigQuery.CheckArguments
ganeti.cmdlib.cluster.LUClusterConfigQuery.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.cluster.LUClusterConfigQuery.cq
ganeti.cmdlib.cluster.LUClusterConfigQuery.html#cq
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterConfigQuery.ExpandNames
ganeti.cmdlib.cluster.LUClusterConfigQuery.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.LUClusterConfigQuery.DeclareLocks
ganeti.cmdlib.cluster.LUClusterConfigQuery.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.cluster.LUClusterConfigQuery.Exec
ganeti.cmdlib.cluster.LUClusterConfigQuery.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.cluster.LUClusterDestroy
ganeti.cmdlib.cluster.LUClusterDestroy.html
Class
Class
PUBLIC
Logical unit for destroying the cluster.
-
ganeti.cmdlib.cluster.LUClusterDestroy.HPATH
ganeti.cmdlib.cluster.LUClusterDestroy.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterDestroy.clusterHasBeenDestroyed
ganeti.cmdlib.cluster.LUClusterDestroy.html#clusterHasBeenDestroyed
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterDestroy.BuildHooksEnv
ganeti.cmdlib.cluster.LUClusterDestroy.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.cluster.LUClusterDestroy.BuildHooksNodes
ganeti.cmdlib.cluster.LUClusterDestroy.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.cluster.LUClusterDestroy.CheckPrereq
ganeti.cmdlib.cluster.LUClusterDestroy.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.cluster.LUClusterDestroy.Exec
ganeti.cmdlib.cluster.LUClusterDestroy.html#Exec
Function
Method
PUBLIC
Destroys the cluster.
-
ganeti.cmdlib.cluster.LUClusterPostInit
ganeti.cmdlib.cluster.LUClusterPostInit.html
Class
Class
PUBLIC
Logical unit for running hooks after cluster initialization.
-
ganeti.cmdlib.cluster.LUClusterPostInit.HPATH
ganeti.cmdlib.cluster.LUClusterPostInit.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterPostInit.CheckArguments
ganeti.cmdlib.cluster.LUClusterPostInit.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.cluster.LUClusterPostInit.master_uuid
ganeti.cmdlib.cluster.LUClusterPostInit.html#master_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterPostInit.master_ndparams
ganeti.cmdlib.cluster.LUClusterPostInit.html#master_ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterPostInit.BuildHooksEnv
ganeti.cmdlib.cluster.LUClusterPostInit.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.cluster.LUClusterPostInit.BuildHooksNodes
ganeti.cmdlib.cluster.LUClusterPostInit.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.cluster.LUClusterPostInit.Exec
ganeti.cmdlib.cluster.LUClusterPostInit.html#Exec
Function
Method
PUBLIC
Create and configure Open vSwitch
-
ganeti.cmdlib.cluster.ClusterQuery
ganeti.cmdlib.cluster.ClusterQuery.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 0/1 constant, 1/3 method documented
-
ganeti.cmdlib.cluster.ClusterQuery.SORT_FIELD
ganeti.cmdlib.cluster.ClusterQuery.html#SORT_FIELD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.ClusterQuery.ExpandNames
ganeti.cmdlib.cluster.ClusterQuery.html#ExpandNames
Function
Method
PUBLIC
Expand names for this query.
-
ganeti.cmdlib.cluster.ClusterQuery.wanted
ganeti.cmdlib.cluster.ClusterQuery.html#wanted
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.ClusterQuery.do_locking
ganeti.cmdlib.cluster.ClusterQuery.html#do_locking
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.ClusterQuery.DeclareLocks
ganeti.cmdlib.cluster.ClusterQuery.html#DeclareLocks
Function
Method
PUBLIC
Declare locks for this query.
-
ganeti.cmdlib.cluster.ClusterQuery._GetQueryData
ganeti.cmdlib.cluster.ClusterQuery.html#_GetQueryData
Function
Method
PRIVATE
Computes the list of nodes and their attributes.
-
ganeti.cmdlib.cluster.LUClusterQuery
ganeti.cmdlib.cluster.LUClusterQuery.html
Class
Class
PUBLIC
Query cluster configuration.
-
ganeti.cmdlib.cluster.LUClusterQuery.REQ_BGL
ganeti.cmdlib.cluster.LUClusterQuery.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterQuery.ExpandNames
ganeti.cmdlib.cluster.LUClusterQuery.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.LUClusterQuery.needed_locks
ganeti.cmdlib.cluster.LUClusterQuery.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterQuery.Exec
ganeti.cmdlib.cluster.LUClusterQuery.html#Exec
Function
Method
PUBLIC
Return cluster config.
-
ganeti.cmdlib.cluster.LUClusterRedistConf
ganeti.cmdlib.cluster.LUClusterRedistConf.html
Class
Class
PUBLIC
Force the redistribution of cluster configuration.
-
ganeti.cmdlib.cluster.LUClusterRedistConf.REQ_BGL
ganeti.cmdlib.cluster.LUClusterRedistConf.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRedistConf.ExpandNames
ganeti.cmdlib.cluster.LUClusterRedistConf.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.LUClusterRedistConf.needed_locks
ganeti.cmdlib.cluster.LUClusterRedistConf.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRedistConf.share_locks
ganeti.cmdlib.cluster.LUClusterRedistConf.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRedistConf.Exec
ganeti.cmdlib.cluster.LUClusterRedistConf.html#Exec
Function
Method
PUBLIC
Redistribute the configuration.
-
ganeti.cmdlib.cluster.LUClusterRename
ganeti.cmdlib.cluster.LUClusterRename.html
Class
Class
PUBLIC
Rename the cluster.
-
ganeti.cmdlib.cluster.LUClusterRename.HPATH
ganeti.cmdlib.cluster.LUClusterRename.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRename.BuildHooksEnv
ganeti.cmdlib.cluster.LUClusterRename.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.cluster.LUClusterRename.BuildHooksNodes
ganeti.cmdlib.cluster.LUClusterRename.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.cluster.LUClusterRename.CheckPrereq
ganeti.cmdlib.cluster.LUClusterRename.html#CheckPrereq
Function
Method
PUBLIC
Verify that the passed name is a valid one.
-
ganeti.cmdlib.cluster.LUClusterRename.ip
ganeti.cmdlib.cluster.LUClusterRename.html#ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRename.Exec
ganeti.cmdlib.cluster.LUClusterRename.html#Exec
Function
Method
PUBLIC
Rename the cluster.
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html
Class
Class
PUBLIC
Verifies the cluster disks sizes.
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.REQ_BGL
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.ExpandNames
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.wanted_names
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#wanted_names
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.needed_locks
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.share_locks
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.DeclareLocks
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.CheckPrereq
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.wanted_instances
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#wanted_instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes._EnsureChildSizes
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#_EnsureChildSizes
Function
Method
PRIVATE
Ensure children of the disk have the needed disk size.
-
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.Exec
ganeti.cmdlib.cluster.LUClusterRepairDiskSizes.html#Exec
Function
Method
PUBLIC
Verify the size of cluster disks.
-
ganeti.cmdlib.cluster._ValidateNetmask
ganeti.cmdlib.cluster.html#_ValidateNetmask
Function
Function
PRIVATE
Checks if a netmask is valid.
-
ganeti.cmdlib.cluster.CheckFileBasedStoragePathVsEnabledDiskTemplates
ganeti.cmdlib.cluster.html#CheckFileBasedStoragePathVsEnabledDiskTemplates
Function
Function
PUBLIC
Checks whether the given file-based storage directory is acceptable.
-
ganeti.cmdlib.cluster.CheckFileStoragePathVsEnabledDiskTemplates
ganeti.cmdlib.cluster.html#CheckFileStoragePathVsEnabledDiskTemplates
Function
Function
PUBLIC
Checks whether the given file storage directory is acceptable.
-
ganeti.cmdlib.cluster.CheckSharedFileStoragePathVsEnabledDiskTemplates
ganeti.cmdlib.cluster.html#CheckSharedFileStoragePathVsEnabledDiskTemplates
Function
Function
PUBLIC
Checks whether the given shared file storage directory is acceptable.
-
ganeti.cmdlib.cluster.CheckGlusterStoragePathVsEnabledDiskTemplates
ganeti.cmdlib.cluster.html#CheckGlusterStoragePathVsEnabledDiskTemplates
Function
Function
PUBLIC
Checks whether the given gluster storage directory is acceptable.
-
ganeti.cmdlib.cluster.CheckCompressionTools
ganeti.cmdlib.cluster.html#CheckCompressionTools
Function
Function
PUBLIC
Check whether the provided compression tools look like executables.
-
ganeti.cmdlib.cluster.LUClusterSetParams
ganeti.cmdlib.cluster.LUClusterSetParams.html
Class
Class
PUBLIC
Change the parameters of the cluster.
-
ganeti.cmdlib.cluster.LUClusterSetParams.HPATH
ganeti.cmdlib.cluster.LUClusterSetParams.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.REQ_BGL
ganeti.cmdlib.cluster.LUClusterSetParams.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.CheckArguments
ganeti.cmdlib.cluster.LUClusterSetParams.html#CheckArguments
Function
Method
PUBLIC
Check parameters
-
ganeti.cmdlib.cluster.LUClusterSetParams.ExpandNames
ganeti.cmdlib.cluster.LUClusterSetParams.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.LUClusterSetParams.needed_locks
ganeti.cmdlib.cluster.LUClusterSetParams.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.share_locks
ganeti.cmdlib.cluster.LUClusterSetParams.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.BuildHooksEnv
ganeti.cmdlib.cluster.LUClusterSetParams.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.cluster.LUClusterSetParams.BuildHooksNodes
ganeti.cmdlib.cluster.LUClusterSetParams.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckVgName
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckVgName
Function
Method
PRIVATE
Check the consistency of the vg name on all nodes and in case it gets unset whether there are instances still using it.
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckVgNameOnNodes
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckVgNameOnNodes
Function
Method
PRIVATE
Check the status of the volume group on each node.
-
ganeti.cmdlib.cluster.LUClusterSetParams._GetDiskTemplateSetsInner
ganeti.cmdlib.cluster.LUClusterSetParams.html#_GetDiskTemplateSetsInner
Function
Static Method
PRIVATE
Computes three sets of disk templates.
-
ganeti.cmdlib.cluster.LUClusterSetParams._GetDiskTemplateSets
ganeti.cmdlib.cluster.LUClusterSetParams.html#_GetDiskTemplateSets
Function
Method
PRIVATE
Computes three sets of disk templates.
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckIpolicy
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckIpolicy
Function
Method
PRIVATE
Checks the ipolicy.
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_ipolicy
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_ipolicy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckDrbdHelperOnNodes
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckDrbdHelperOnNodes
Function
Method
PRIVATE
Checks whether the set DRBD helper actually exists on the nodes.
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckDrbdHelper
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckDrbdHelper
Function
Method
PRIVATE
Check the DRBD usermode helper.
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckInstancesOfDisabledDiskTemplates
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckInstancesOfDisabledDiskTemplates
Function
Method
PRIVATE
Check whether we try to disable a disk template that is in use.
-
ganeti.cmdlib.cluster.LUClusterSetParams._CheckInstanceCommunicationNetwork
ganeti.cmdlib.cluster.LUClusterSetParams.html#_CheckInstanceCommunicationNetwork
Function
Static Method
PRIVATE
Check whether an existing network is configured for instance communication.
-
ganeti.cmdlib.cluster.LUClusterSetParams.CheckPrereq
ganeti.cmdlib.cluster.LUClusterSetParams.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.cluster.LUClusterSetParams.cluster
ganeti.cmdlib.cluster.LUClusterSetParams.html#cluster
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_beparams
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_beparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_ndparams
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_hv_state
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_hv_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_disk_state
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_disk_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_nicparams
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_nicparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_hvparams
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_hvparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_diskparams
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_os_hvp
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_os_hvp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams._BuildOSParams
ganeti.cmdlib.cluster.LUClusterSetParams.html#_BuildOSParams
Function
Method
PRIVATE
Calculate the new OS parameters for this operation.
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_osp
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_osp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams.new_osp_private
ganeti.cmdlib.cluster.LUClusterSetParams.html#new_osp_private
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.LUClusterSetParams._SetVgName
ganeti.cmdlib.cluster.LUClusterSetParams.html#_SetVgName
Function
Method
PRIVATE
Determines and sets the new volume group name.
-
ganeti.cmdlib.cluster.LUClusterSetParams._SetFileStorageDir
ganeti.cmdlib.cluster.LUClusterSetParams.html#_SetFileStorageDir
Function
Method
PRIVATE
Set the file storage directory.
-
ganeti.cmdlib.cluster.LUClusterSetParams._SetSharedFileStorageDir
ganeti.cmdlib.cluster.LUClusterSetParams.html#_SetSharedFileStorageDir
Function
Method
PRIVATE
Set the shared file storage directory.
-
ganeti.cmdlib.cluster.LUClusterSetParams._SetDrbdHelper
ganeti.cmdlib.cluster.LUClusterSetParams.html#_SetDrbdHelper
Function
Method
PRIVATE
Set the DRBD usermode helper.
-
ganeti.cmdlib.cluster.LUClusterSetParams._EnsureInstanceCommunicationNetwork
ganeti.cmdlib.cluster.LUClusterSetParams.html#_EnsureInstanceCommunicationNetwork
Function
Static Method
PRIVATE
Ensure that the instance communication network exists and is connected to all groups.
-
ganeti.cmdlib.cluster.LUClusterSetParams._ModifyInstanceCommunicationNetwork
ganeti.cmdlib.cluster.LUClusterSetParams.html#_ModifyInstanceCommunicationNetwork
Function
Static Method
PRIVATE
Update the instance communication network stored in the cluster configuration.
-
ganeti.cmdlib.cluster.LUClusterSetParams.Exec
ganeti.cmdlib.cluster.LUClusterSetParams.html#Exec
Function
Method
PUBLIC
Change the parameters of the cluster.
-
ganeti.cmdlib.cluster.verify._GetAllHypervisorParameters
ganeti.cmdlib.cluster.verify.html#_GetAllHypervisorParameters
Function
Function
PRIVATE
Compute the set of all hypervisor parameters.
-
ganeti.cmdlib.cluster.verify._VerifyErrors
ganeti.cmdlib.cluster.verify._VerifyErrors.html
Class
Class
PRIVATE
Mix-in for cluster/group verify LUs.
-
ganeti.cmdlib.cluster.verify._VerifyErrors._ErrorMsgList
ganeti.cmdlib.cluster.verify._VerifyErrors.html#_ErrorMsgList
Function
Method
PRIVATE
Format multiple error messages.
-
ganeti.cmdlib.cluster.verify._VerifyErrors.bad
ganeti.cmdlib.cluster.verify._VerifyErrors.html#bad
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify._VerifyErrors._ErrorMsg
ganeti.cmdlib.cluster.verify._VerifyErrors.html#_ErrorMsg
Function
Method
PRIVATE
Log a single error message.
-
ganeti.cmdlib.cluster.verify._VerifyErrors._ErrorIf
ganeti.cmdlib.cluster.verify._VerifyErrors.html#_ErrorIf
Function
Method
PRIVATE
Log an error message if the passed condition is True.
-
ganeti.cmdlib.cluster.verify._VerifyErrors._Error
ganeti.cmdlib.cluster.verify._VerifyErrors.html#_Error
Function
Method
PRIVATE
Log an error message if the passed condition is True.
-
ganeti.cmdlib.cluster.verify.LUClusterVerify
ganeti.cmdlib.cluster.verify.LUClusterVerify.html
Class
Class
PUBLIC
Submits all jobs necessary to verify the cluster.
-
ganeti.cmdlib.cluster.verify.LUClusterVerify.REQ_BGL
ganeti.cmdlib.cluster.verify.LUClusterVerify.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerify.ExpandNames
ganeti.cmdlib.cluster.verify.LUClusterVerify.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerify.needed_locks
ganeti.cmdlib.cluster.verify.LUClusterVerify.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerify.Exec
ganeti.cmdlib.cluster.verify.LUClusterVerify.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.html
Class
Class
PUBLIC
Verifies the cluster disks status.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.REQ_BGL
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.ExpandNames
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.share_locks
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.needed_locks
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.Exec
ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html
Class
Class
PUBLIC
Verifies the cluster config.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.REQ_BGL
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig._VerifyHVP
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#_VerifyHVP
Function
Method
PRIVATE
Verifies locally the syntax of the hypervisor parameters.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.ExpandNames
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.needed_locks
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.share_locks
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.CheckPrereq
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.all_group_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#all_group_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.all_node_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#all_node_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.all_inst_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#all_inst_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.Exec
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#Exec
Function
Method
PUBLIC
Verify integrity of cluster, performing various test on nodes.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.bad
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#bad
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig._feedback_fn
ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig.html#_feedback_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html
Class
Class
PUBLIC
Verifies the status of a node group.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.HPATH
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.REQ_BGL
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._HOOKS_INDENT_RE
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_HOOKS_INDENT_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html
Class
Class
PUBLIC
A class representing the logical and physical status of a node.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.uuid
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#uuid
Attribute
Instance Variable
PUBLIC
the node UUID to which this object refers
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.volumes
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#volumes
Attribute
Instance Variable
PUBLIC
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.instances
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#instances
Attribute
Instance Variable
PUBLIC
a list of running instances (runtime)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.pinst
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#pinst
Attribute
Instance Variable
PUBLIC
list of configured primary instances (config)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.sinst
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#sinst
Attribute
Instance Variable
PUBLIC
list of configured secondary instances (config)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.sbp
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#sbp
Attribute
Instance Variable
PUBLIC
dictionary of {primary-node: list of instances} for all instances for which this node is secondary (config)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.mfree
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#mfree
Attribute
Instance Variable
PUBLIC
free memory, as reported by hypervisor (runtime)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.dfree
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#dfree
Attribute
Instance Variable
PUBLIC
free disk, as reported by the node (runtime)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.offline
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#offline
Attribute
Instance Variable
PUBLIC
the offline status (config)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.rpc_fail
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#rpc_fail
Attribute
Instance Variable
PUBLIC
whether the RPC verify call was successfull (overall, not whether the individual keys were correct) (runtime)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.lvm_fail
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#lvm_fail
Attribute
Instance Variable
PUBLIC
whether the RPC call didn't return valid LVM data
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.hyp_fail
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#hyp_fail
Attribute
Instance Variable
PUBLIC
whether the RPC call didn't return the instance list
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.ghost
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#ghost
Attribute
Instance Variable
PUBLIC
whether this is a known node or not (config)
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.os_fail
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#os_fail
Attribute
Instance Variable
PUBLIC
whether the RPC call didn't return valid OS data
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.oslist
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#oslist
Attribute
Instance Variable
PUBLIC
list of OSes as diagnosed by DiagnoseOS
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.vm_capable
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#vm_capable
Attribute
Instance Variable
PUBLIC
whether the node can host instances
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.pv_min
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#pv_min
Attribute
Instance Variable
PUBLIC
size in MiB of the smallest PVs
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.pv_max
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#pv_max
Attribute
Instance Variable
PUBLIC
size in MiB of the biggest PVs
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.__init__
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.NodeImage.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.ExpandNames
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.group_uuid
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.needed_locks
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.share_locks
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.DeclareLocks
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.CheckPrereq
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.group_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#group_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.all_node_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#all_node_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.all_inst_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#all_inst_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.all_disks_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#all_disks_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.my_node_uuids
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#my_node_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.my_node_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#my_node_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.my_inst_uuids
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#my_inst_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.my_inst_info
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#my_inst_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNode
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNode
Function
Method
PRIVATE
Perform some basic validation on data returned from a node.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeTime
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeTime
Function
Method
PRIVATE
Check the node time.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._UpdateVerifyNodeLVM
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_UpdateVerifyNodeLVM
Function
Method
PRIVATE
Check the node LVM results and update info for cross-node checks.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyGroupDRBDVersion
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyGroupDRBDVersion
Function
Method
PRIVATE
Check cross-node DRBD version consistency.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyGroupLVM
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyGroupLVM
Function
Method
PRIVATE
Check cross-node consistency in LVM.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeBridges
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeBridges
Function
Method
PRIVATE
Check the node bridges.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeUserScripts
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeUserScripts
Function
Method
PRIVATE
Check the results of user scripts presence and executability on the node
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeNetwork
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeNetwork
Function
Method
PRIVATE
Check the node network connectivity results.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyInstance
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyInstance
Function
Method
PRIVATE
Verify an instance.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyOrphanVolumes
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyOrphanVolumes
Function
Method
PRIVATE
Verify if there are any unknown volumes in the cluster.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNPlusOneMemory
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNPlusOneMemory
Function
Method
PRIVATE
Verify N+1 Memory Resilience.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._CertError
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_CertError
Function
Method
PRIVATE
Helper function for _VerifyClientCertificates.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._cert_error_found
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_cert_error_found
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyClientCertificates
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyClientCertificates
Function
Method
PRIVATE
Verifies the consistency of the client certificates.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifySshSetup
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifySshSetup
Function
Method
PRIVATE
Evaluates the verification results of the SSH setup and clutter test.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyFiles
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyFiles
Function
Method
PRIVATE
Verifies file checksums collected from all nodes.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeDrbdHelper
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeDrbdHelper
Function
Method
PRIVATE
Verify the drbd helper.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._ComputeDrbdMinors
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_ComputeDrbdMinors
Function
Static Method
PRIVATE
Gives the DRBD information in a map for a node.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeDrbd
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeDrbd
Function
Method
PRIVATE
Verifies and the node DRBD status.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._UpdateNodeOS
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_UpdateNodeOS
Function
Method
PRIVATE
Builds the node OS structures.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyNodeOS
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyNodeOS
Function
Method
PRIVATE
Verifies the node OS list.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyAcceptedFileStoragePaths
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyAcceptedFileStoragePaths
Function
Method
PRIVATE
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyStoragePaths
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyStoragePaths
Function
Method
PRIVATE
Verifies (file) storage paths.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyFileStoragePaths
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyFileStoragePaths
Function
Method
PRIVATE
Verifies (file) storage paths.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifySharedFileStoragePaths
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifySharedFileStoragePaths
Function
Method
PRIVATE
Verifies (file) storage paths.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyGlusterStoragePaths
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyGlusterStoragePaths
Function
Method
PRIVATE
Verifies (file) storage paths.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyOob
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyOob
Function
Method
PRIVATE
Verifies out of band functionality of a node.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._UpdateNodeVolumes
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_UpdateNodeVolumes
Function
Method
PRIVATE
Verifies and updates the node volume data.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._UpdateNodeInstances
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_UpdateNodeInstances
Function
Method
PRIVATE
Verifies and updates the node instance list.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._UpdateNodeInfo
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_UpdateNodeInfo
Function
Method
PRIVATE
Verifies and computes a node information map
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._CollectDiskInfo
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_CollectDiskInfo
Function
Method
PRIVATE
Gets per-disk status information for all instances.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._SshNodeSelector
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_SshNodeSelector
Function
Static Method
PRIVATE
Create endless iterators for all potential SSH check hosts.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._SelectSshCheckNodes
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_SelectSshCheckNodes
Function
Class Method
PRIVATE
Choose which nodes should talk to which other nodes.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._PrepareSshSetupCheck
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_PrepareSshSetupCheck
Function
Method
PRIVATE
Prepare the input data for the SSH setup verification.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.BuildHooksEnv
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.BuildHooksNodes
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyOtherNotes
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyOtherNotes
Function
Static Method
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._VerifyExclusionTags
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_VerifyExclusionTags
Function
Method
PRIVATE
Verify that all instances have different exclusion tags.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.Exec
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#Exec
Function
Method
PUBLIC
Verify integrity of the node group, performing various test on nodes.
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.bad
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#bad
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._feedback_fn
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_feedback_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.master_node
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#master_node
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup._exclusive_storage
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#_exclusive_storage
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.HooksCallBack
ganeti.cmdlib.cluster.verify.LUClusterVerifyGroup.html#HooksCallBack
Function
Method
PUBLIC
Analyze the post-hooks' result
-
ganeti.masterd.iallocator._STRING_LIST
ganeti.masterd.iallocator.html#_STRING_LIST
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._JOB_LIST
ganeti.masterd.iallocator.html#_JOB_LIST
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._NEVAC_MOVED
ganeti.masterd.iallocator.html#_NEVAC_MOVED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._NEVAC_FAILED
ganeti.masterd.iallocator.html#_NEVAC_FAILED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._NEVAC_RESULT
ganeti.masterd.iallocator.html#_NEVAC_RESULT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._INST_NAME
ganeti.masterd.iallocator.html#_INST_NAME
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._INST_UUID
ganeti.masterd.iallocator.html#_INST_UUID
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator._AutoReqParam
ganeti.masterd.iallocator._AutoReqParam.html
Class
Class
PRIVATE
Meta class for request definitions.
-
ganeti.masterd.iallocator._AutoReqParam._GetSlots
ganeti.masterd.iallocator._AutoReqParam.html#_GetSlots
Function
Class Method
PRIVATE
Extract the slots out of REQ_PARAMS.
-
ganeti.masterd.iallocator.IARequestBase
ganeti.masterd.iallocator.IARequestBase.html
Class
Class
PUBLIC
A generic IAllocator request object.
-
ganeti.masterd.iallocator.IARequestBase.REQ_PARAMS
ganeti.masterd.iallocator.IARequestBase.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IARequestBase.__init__
ganeti.masterd.iallocator.IARequestBase.html#__init__
Function
Method
PUBLIC
Constructor for IARequestBase.
-
ganeti.masterd.iallocator.IARequestBase.Validate
ganeti.masterd.iallocator.IARequestBase.html#Validate
Function
Method
PUBLIC
Validates all parameters of the request.
-
ganeti.masterd.iallocator.IARequestBase.GetRequest
ganeti.masterd.iallocator.IARequestBase.html#GetRequest
Function
Method
PUBLIC
Gets the request data dict.
-
ganeti.masterd.iallocator.IARequestBase.ValidateResult
ganeti.masterd.iallocator.IARequestBase.html#ValidateResult
Function
Method
PUBLIC
Validates the result of an request.
-
ganeti.masterd.iallocator.IAReqInstanceAlloc
ganeti.masterd.iallocator.IAReqInstanceAlloc.html
Class
Class
PUBLIC
An instance allocation request.
-
ganeti.masterd.iallocator.IAReqInstanceAlloc.REQ_PARAMS
ganeti.masterd.iallocator.IAReqInstanceAlloc.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqInstanceAlloc.RequiredNodes
ganeti.masterd.iallocator.IAReqInstanceAlloc.html#RequiredNodes
Function
Method
PUBLIC
Calculates the required nodes based on the disk_template.
-
ganeti.masterd.iallocator.IAReqInstanceAlloc.GetRequest
ganeti.masterd.iallocator.IAReqInstanceAlloc.html#GetRequest
Function
Method
PUBLIC
Requests a new instance.
-
ganeti.masterd.iallocator.IAReqInstanceAlloc.ValidateResult
ganeti.masterd.iallocator.IAReqInstanceAlloc.html#ValidateResult
Function
Method
PUBLIC
Validates an single instance allocation request.
-
ganeti.masterd.iallocator.IAReqInstanceAllocateSecondary
ganeti.masterd.iallocator.IAReqInstanceAllocateSecondary.html
Class
Class
PUBLIC
Request to find a secondary node for plain to DRBD conversion.
-
ganeti.masterd.iallocator.IAReqInstanceAllocateSecondary.REQ_PARAMS
ganeti.masterd.iallocator.IAReqInstanceAllocateSecondary.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqInstanceAllocateSecondary.GetRequest
ganeti.masterd.iallocator.IAReqInstanceAllocateSecondary.html#GetRequest
Function
Method
PUBLIC
Gets the request data dict.
-
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.html
Class
Class
PUBLIC
An multi instance allocation request.
-
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.REQ_PARAMS
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc._MASUCCESS
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.html#_MASUCCESS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc._MAFAILED
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.html#_MAFAILED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.REQ_RESULT
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.html#REQ_RESULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.GetRequest
ganeti.masterd.iallocator.IAReqMultiInstanceAlloc.html#GetRequest
Function
Method
PUBLIC
Gets the request data dict.
-
ganeti.masterd.iallocator.IAReqRelocate
ganeti.masterd.iallocator.IAReqRelocate.html
Class
Class
PUBLIC
A relocation request.
-
ganeti.masterd.iallocator.IAReqRelocate.REQ_PARAMS
ganeti.masterd.iallocator.IAReqRelocate.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqRelocate.GetRequest
ganeti.masterd.iallocator.IAReqRelocate.html#GetRequest
Function
Method
PUBLIC
Request an relocation of an instance
-
ganeti.masterd.iallocator.IAReqRelocate.ValidateResult
ganeti.masterd.iallocator.IAReqRelocate.html#ValidateResult
Function
Method
PUBLIC
Validates the result of an relocation request.
-
ganeti.masterd.iallocator.IAReqRelocate._NodesToGroups
ganeti.masterd.iallocator.IAReqRelocate.html#_NodesToGroups
Function
Static Method
PRIVATE
Returns a list of unique group names for a list of nodes.
-
ganeti.masterd.iallocator.IAReqNodeEvac
ganeti.masterd.iallocator.IAReqNodeEvac.html
Class
Class
PUBLIC
A node evacuation request.
-
ganeti.masterd.iallocator.IAReqNodeEvac.REQ_PARAMS
ganeti.masterd.iallocator.IAReqNodeEvac.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqNodeEvac.GetRequest
ganeti.masterd.iallocator.IAReqNodeEvac.html#GetRequest
Function
Method
PUBLIC
Get data for node-evacuate requests.
-
ganeti.masterd.iallocator.IAReqGroupChange
ganeti.masterd.iallocator.IAReqGroupChange.html
Class
Class
PUBLIC
A group change request.
-
ganeti.masterd.iallocator.IAReqGroupChange.REQ_PARAMS
ganeti.masterd.iallocator.IAReqGroupChange.html#REQ_PARAMS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAReqGroupChange.GetRequest
ganeti.masterd.iallocator.IAReqGroupChange.html#GetRequest
Function
Method
PUBLIC
Get data for node-evacuate requests.
-
ganeti.masterd.iallocator.IAllocator
ganeti.masterd.iallocator.IAllocator.html
Class
Class
PUBLIC
IAllocator framework.
-
ganeti.masterd.iallocator.IAllocator.__init__
ganeti.masterd.iallocator.IAllocator.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.cfg
ganeti.masterd.iallocator.IAllocator.html#cfg
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.rpc
ganeti.masterd.iallocator.IAllocator.html#rpc
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.req
ganeti.masterd.iallocator.IAllocator.html#req
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.in_text
ganeti.masterd.iallocator.IAllocator.html#in_text
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.out_text
ganeti.masterd.iallocator.IAllocator.html#out_text
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.in_data
ganeti.masterd.iallocator.IAllocator.html#in_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.out_data
ganeti.masterd.iallocator.IAllocator.html#out_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.success
ganeti.masterd.iallocator.IAllocator.html#success
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.info
ganeti.masterd.iallocator.IAllocator.html#info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator.result
ganeti.masterd.iallocator.IAllocator.html#result
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.iallocator.IAllocator._ComputeClusterDataNodeInfo
ganeti.masterd.iallocator.IAllocator.html#_ComputeClusterDataNodeInfo
Function
Method
PRIVATE
Prepare and execute node info call.
-
ganeti.masterd.iallocator.IAllocator._ComputeClusterData
ganeti.masterd.iallocator.IAllocator.html#_ComputeClusterData
Function
Method
PRIVATE
Compute the generic allocator input data.
-
ganeti.masterd.iallocator.IAllocator._ComputeNodeGroupData
ganeti.masterd.iallocator.IAllocator.html#_ComputeNodeGroupData
Function
Static Method
PRIVATE
Compute node groups data.
-
ganeti.masterd.iallocator.IAllocator._ComputeBasicNodeData
ganeti.masterd.iallocator.IAllocator.html#_ComputeBasicNodeData
Function
Static Method
PRIVATE
Compute global node data.
-
ganeti.masterd.iallocator.IAllocator._GetAttributeFromHypervisorNodeData
ganeti.masterd.iallocator.IAllocator.html#_GetAttributeFromHypervisorNodeData
Function
Static Method
PRIVATE
Extract an attribute from the hypervisor's node information.
-
ganeti.masterd.iallocator.IAllocator._ComputeStorageDataFromSpaceInfoByTemplate
ganeti.masterd.iallocator.IAllocator.html#_ComputeStorageDataFromSpaceInfoByTemplate
Function
Static Method
PRIVATE
Extract storage data from node info.
-
ganeti.masterd.iallocator.IAllocator._ComputeStorageDataFromSpaceInfo
ganeti.masterd.iallocator.IAllocator.html#_ComputeStorageDataFromSpaceInfo
Function
Static Method
PRIVATE
Extract storage data from node info.
-
ganeti.masterd.iallocator.IAllocator._ComputeInstanceMemory
ganeti.masterd.iallocator.IAllocator.html#_ComputeInstanceMemory
Function
Static Method
PRIVATE
Compute memory used by primary instances.
-
ganeti.masterd.iallocator.IAllocator._ComputeDynamicNodeData
ganeti.masterd.iallocator.IAllocator.html#_ComputeDynamicNodeData
Function
Method
PRIVATE
Compute global node data.
-
ganeti.masterd.iallocator.IAllocator._ComputeInstanceData
ganeti.masterd.iallocator.IAllocator.html#_ComputeInstanceData
Function
Static Method
PRIVATE
Compute global instance data.
-
ganeti.masterd.iallocator.IAllocator._BuildInputData
ganeti.masterd.iallocator.IAllocator.html#_BuildInputData
Function
Method
PRIVATE
Build input data structures.
-
ganeti.masterd.iallocator.IAllocator.Run
ganeti.masterd.iallocator.IAllocator.html#Run
Function
Method
PUBLIC
Run an instance allocator and return the results.
-
ganeti.masterd.iallocator.IAllocator._ValidateResult
ganeti.masterd.iallocator.IAllocator.html#_ValidateResult
Function
Method
PRIVATE
Process the allocator results.
-
ganeti.cmdlib.group.LUGroupAdd
ganeti.cmdlib.group.LUGroupAdd.html
Class
Class
PUBLIC
Logical unit for creating node groups.
-
ganeti.cmdlib.group.LUGroupAdd.HPATH
ganeti.cmdlib.group.LUGroupAdd.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd.REQ_BGL
ganeti.cmdlib.group.LUGroupAdd.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd.ExpandNames
ganeti.cmdlib.group.LUGroupAdd.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupAdd.group_uuid
ganeti.cmdlib.group.LUGroupAdd.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd.needed_locks
ganeti.cmdlib.group.LUGroupAdd.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd._CheckIpolicy
ganeti.cmdlib.group.LUGroupAdd.html#_CheckIpolicy
Function
Method
PRIVATE
Checks the group's ipolicy for consistency and validity.
-
ganeti.cmdlib.group.LUGroupAdd.CheckPrereq
ganeti.cmdlib.group.LUGroupAdd.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.group.LUGroupAdd.new_hv_state
ganeti.cmdlib.group.LUGroupAdd.html#new_hv_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd.new_disk_state
ganeti.cmdlib.group.LUGroupAdd.html#new_disk_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd.new_diskparams
ganeti.cmdlib.group.LUGroupAdd.html#new_diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAdd.BuildHooksEnv
ganeti.cmdlib.group.LUGroupAdd.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.group.LUGroupAdd.BuildHooksNodes
ganeti.cmdlib.group.LUGroupAdd.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.group.LUGroupAdd._ConnectInstanceCommunicationNetwork
ganeti.cmdlib.group.LUGroupAdd.html#_ConnectInstanceCommunicationNetwork
Function
Static Method
PRIVATE
Connect a node group to the instance communication network.
-
ganeti.cmdlib.group.LUGroupAdd.Exec
ganeti.cmdlib.group.LUGroupAdd.html#Exec
Function
Method
PUBLIC
Add the node group to the cluster.
-
ganeti.cmdlib.group.LUGroupAssignNodes
ganeti.cmdlib.group.LUGroupAssignNodes.html
Class
Class
PUBLIC
Logical unit for assigning nodes to groups.
-
ganeti.cmdlib.group.LUGroupAssignNodes.REQ_BGL
ganeti.cmdlib.group.LUGroupAssignNodes.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAssignNodes.ExpandNames
ganeti.cmdlib.group.LUGroupAssignNodes.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupAssignNodes.group_uuid
ganeti.cmdlib.group.LUGroupAssignNodes.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAssignNodes.needed_locks
ganeti.cmdlib.group.LUGroupAssignNodes.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAssignNodes.DeclareLocks
ganeti.cmdlib.group.LUGroupAssignNodes.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.group.LUGroupAssignNodes.CheckPrereq
ganeti.cmdlib.group.LUGroupAssignNodes.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.group.LUGroupAssignNodes.node_data
ganeti.cmdlib.group.LUGroupAssignNodes.html#node_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAssignNodes.group
ganeti.cmdlib.group.LUGroupAssignNodes.html#group
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupAssignNodes.Exec
ganeti.cmdlib.group.LUGroupAssignNodes.html#Exec
Function
Method
PUBLIC
Assign nodes to a new group.
-
ganeti.cmdlib.group.LUGroupAssignNodes.CheckAssignmentForSplitInstances
ganeti.cmdlib.group.LUGroupAssignNodes.html#CheckAssignmentForSplitInstances
Function
Method
PUBLIC
Check for split instances after a node assignment.
-
ganeti.cmdlib.group.LUGroupSetParams
ganeti.cmdlib.group.LUGroupSetParams.html
Class
Class
PUBLIC
Modifies the parameters of a node group.
-
ganeti.cmdlib.group.LUGroupSetParams.HPATH
ganeti.cmdlib.group.LUGroupSetParams.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.REQ_BGL
ganeti.cmdlib.group.LUGroupSetParams.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.CheckArguments
ganeti.cmdlib.group.LUGroupSetParams.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.group.LUGroupSetParams.ExpandNames
ganeti.cmdlib.group.LUGroupSetParams.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupSetParams.group_uuid
ganeti.cmdlib.group.LUGroupSetParams.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.needed_locks
ganeti.cmdlib.group.LUGroupSetParams.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.DeclareLocks
ganeti.cmdlib.group.LUGroupSetParams.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.group.LUGroupSetParams._UpdateAndVerifyDiskParams
ganeti.cmdlib.group.LUGroupSetParams.html#_UpdateAndVerifyDiskParams
Function
Static Method
PRIVATE
Updates and verifies disk parameters.
-
ganeti.cmdlib.group.LUGroupSetParams._CheckIpolicy
ganeti.cmdlib.group.LUGroupSetParams.html#_CheckIpolicy
Function
Method
PRIVATE
Sanity checks for the ipolicy.
-
ganeti.cmdlib.group.LUGroupSetParams.new_ipolicy
ganeti.cmdlib.group.LUGroupSetParams.html#new_ipolicy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.CheckPrereq
ganeti.cmdlib.group.LUGroupSetParams.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.group.LUGroupSetParams.group
ganeti.cmdlib.group.LUGroupSetParams.html#group
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.new_ndparams
ganeti.cmdlib.group.LUGroupSetParams.html#new_ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.new_diskparams
ganeti.cmdlib.group.LUGroupSetParams.html#new_diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.new_hv_state
ganeti.cmdlib.group.LUGroupSetParams.html#new_hv_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.new_disk_state
ganeti.cmdlib.group.LUGroupSetParams.html#new_disk_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupSetParams.BuildHooksEnv
ganeti.cmdlib.group.LUGroupSetParams.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.group.LUGroupSetParams.BuildHooksNodes
ganeti.cmdlib.group.LUGroupSetParams.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.group.LUGroupSetParams.Exec
ganeti.cmdlib.group.LUGroupSetParams.html#Exec
Function
Method
PUBLIC
Modifies the node group.
-
ganeti.cmdlib.group.LUGroupRemove
ganeti.cmdlib.group.LUGroupRemove.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 0/2 constant, 4/5 methods documented
-
ganeti.cmdlib.group.LUGroupRemove.HPATH
ganeti.cmdlib.group.LUGroupRemove.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRemove.REQ_BGL
ganeti.cmdlib.group.LUGroupRemove.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRemove.ExpandNames
ganeti.cmdlib.group.LUGroupRemove.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupRemove.group_uuid
ganeti.cmdlib.group.LUGroupRemove.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRemove.needed_locks
ganeti.cmdlib.group.LUGroupRemove.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRemove.CheckPrereq
ganeti.cmdlib.group.LUGroupRemove.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.group.LUGroupRemove.BuildHooksEnv
ganeti.cmdlib.group.LUGroupRemove.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.group.LUGroupRemove.BuildHooksNodes
ganeti.cmdlib.group.LUGroupRemove.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.group.LUGroupRemove.Exec
ganeti.cmdlib.group.LUGroupRemove.html#Exec
Function
Method
PUBLIC
Remove the node group.
-
ganeti.cmdlib.group.LUGroupRename
ganeti.cmdlib.group.LUGroupRename.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 0/2 constant, 4/5 methods documented
-
ganeti.cmdlib.group.LUGroupRename.HPATH
ganeti.cmdlib.group.LUGroupRename.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRename.REQ_BGL
ganeti.cmdlib.group.LUGroupRename.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRename.ExpandNames
ganeti.cmdlib.group.LUGroupRename.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupRename.group_uuid
ganeti.cmdlib.group.LUGroupRename.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRename.needed_locks
ganeti.cmdlib.group.LUGroupRename.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupRename.CheckPrereq
ganeti.cmdlib.group.LUGroupRename.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.group.LUGroupRename.BuildHooksEnv
ganeti.cmdlib.group.LUGroupRename.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.group.LUGroupRename.BuildHooksNodes
ganeti.cmdlib.group.LUGroupRename.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.group.LUGroupRename.Exec
ganeti.cmdlib.group.LUGroupRename.html#Exec
Function
Method
PUBLIC
Rename the node group.
-
ganeti.cmdlib.group.LUGroupEvacuate
ganeti.cmdlib.group.LUGroupEvacuate.html
Class
Class
PUBLIC
No class docstring; 0/6 instance variable, 0/2 constant, 2/6 methods, 1/1 static method documented
-
ganeti.cmdlib.group.LUGroupEvacuate.HPATH
ganeti.cmdlib.group.LUGroupEvacuate.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.REQ_BGL
ganeti.cmdlib.group.LUGroupEvacuate.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.ExpandNames
ganeti.cmdlib.group.LUGroupEvacuate.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupEvacuate.group_uuid
ganeti.cmdlib.group.LUGroupEvacuate.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.req_target_uuids
ganeti.cmdlib.group.LUGroupEvacuate.html#req_target_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.share_locks
ganeti.cmdlib.group.LUGroupEvacuate.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.needed_locks
ganeti.cmdlib.group.LUGroupEvacuate.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.DeclareLocks
ganeti.cmdlib.group.LUGroupEvacuate.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.group.LUGroupEvacuate.CheckPrereq
ganeti.cmdlib.group.LUGroupEvacuate.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.group.LUGroupEvacuate.instances
ganeti.cmdlib.group.LUGroupEvacuate.html#instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.target_uuids
ganeti.cmdlib.group.LUGroupEvacuate.html#target_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupEvacuate.BuildHooksEnv
ganeti.cmdlib.group.LUGroupEvacuate.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.group.LUGroupEvacuate.BuildHooksNodes
ganeti.cmdlib.group.LUGroupEvacuate.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.group.LUGroupEvacuate._MigrateToFailover
ganeti.cmdlib.group.LUGroupEvacuate.html#_MigrateToFailover
Function
Static Method
PRIVATE
Return an equivalent failover opcode for a migrate one.
-
ganeti.cmdlib.group.LUGroupEvacuate.Exec
ganeti.cmdlib.group.LUGroupEvacuate.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.group.LUGroupVerifyDisks
ganeti.cmdlib.group.LUGroupVerifyDisks.html
Class
Class
PUBLIC
Verifies the status of all disks in a node group.
-
ganeti.cmdlib.group.LUGroupVerifyDisks.REQ_BGL
ganeti.cmdlib.group.LUGroupVerifyDisks.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks.ExpandNames
ganeti.cmdlib.group.LUGroupVerifyDisks.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.group.LUGroupVerifyDisks.group_uuid
ganeti.cmdlib.group.LUGroupVerifyDisks.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks.share_locks
ganeti.cmdlib.group.LUGroupVerifyDisks.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks.needed_locks
ganeti.cmdlib.group.LUGroupVerifyDisks.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks.DeclareLocks
ganeti.cmdlib.group.LUGroupVerifyDisks.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.group.LUGroupVerifyDisks.CheckPrereq
ganeti.cmdlib.group.LUGroupVerifyDisks.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.group.LUGroupVerifyDisks.instances
ganeti.cmdlib.group.LUGroupVerifyDisks.html#instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks._VerifyInstanceLvs
ganeti.cmdlib.group.LUGroupVerifyDisks.html#_VerifyInstanceLvs
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks._VerifyDrbdStates
ganeti.cmdlib.group.LUGroupVerifyDisks.html#_VerifyDrbdStates
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.group.LUGroupVerifyDisks.Exec
ganeti.cmdlib.group.LUGroupVerifyDisks.html#Exec
Function
Method
PUBLIC
Verify integrity of cluster disks.
-
ganeti.cmdlib.node._DecideSelfPromotion
ganeti.cmdlib.node.html#_DecideSelfPromotion
Function
Function
PRIVATE
Decide whether I should promote myself as a master candidate.
-
ganeti.cmdlib.node._CheckNodeHasSecondaryIP
ganeti.cmdlib.node.html#_CheckNodeHasSecondaryIP
Function
Function
PRIVATE
Ensure that a node has the given secondary ip.
-
ganeti.cmdlib.node.LUNodeAdd
ganeti.cmdlib.node.LUNodeAdd.html
Class
Class
PUBLIC
Logical unit for adding node to the cluster.
-
ganeti.cmdlib.node.LUNodeAdd.HPATH
ganeti.cmdlib.node.LUNodeAdd.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd._NFLAGS
ganeti.cmdlib.node.LUNodeAdd.html#_NFLAGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.CheckArguments
ganeti.cmdlib.node.LUNodeAdd.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeAdd.primary_ip_family
ganeti.cmdlib.node.LUNodeAdd.html#primary_ip_family
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.hostname
ganeti.cmdlib.node.LUNodeAdd.html#hostname
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.BuildHooksEnv
ganeti.cmdlib.node.LUNodeAdd.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.node.LUNodeAdd.BuildHooksNodes
ganeti.cmdlib.node.LUNodeAdd.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.node.LUNodeAdd.PreparePostHookNodes
ganeti.cmdlib.node.LUNodeAdd.html#PreparePostHookNodes
Function
Method
PUBLIC
Extend list of nodes to run the post LU hook.
-
ganeti.cmdlib.node.LUNodeAdd.CheckPrereq
ganeti.cmdlib.node.LUNodeAdd.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.node.LUNodeAdd.changed_primary_ip
ganeti.cmdlib.node.LUNodeAdd.html#changed_primary_ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.master_candidate
ganeti.cmdlib.node.LUNodeAdd.html#master_candidate
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.node_group
ganeti.cmdlib.node.LUNodeAdd.html#node_group
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.new_node
ganeti.cmdlib.node.LUNodeAdd.html#new_node
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.new_hv_state
ganeti.cmdlib.node.LUNodeAdd.html#new_hv_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd.new_disk_state
ganeti.cmdlib.node.LUNodeAdd.html#new_disk_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd._InitOpenVSwitch
ganeti.cmdlib.node.LUNodeAdd.html#_InitOpenVSwitch
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.node.LUNodeAdd._SshUpdate
ganeti.cmdlib.node.LUNodeAdd.html#_SshUpdate
Function
Method
PRIVATE
Update the SSH setup of all nodes after adding a new node.
-
ganeti.cmdlib.node.LUNodeAdd.Exec
ganeti.cmdlib.node.LUNodeAdd.html#Exec
Function
Method
PUBLIC
Adds the new node to the cluster.
-
ganeti.cmdlib.node.LUNodeSetParams
ganeti.cmdlib.node.LUNodeSetParams.html
Class
Class
PUBLIC
Modifies the parameters of a node.
-
ganeti.cmdlib.node.LUNodeSetParams._F2R
ganeti.cmdlib.node.LUNodeSetParams.html#_F2R
Attribute
Constant
PRIVATE
a dictionary from tuples of flags (mc, drained, offline) to the node role (as _ROLE_*)
-
ganeti.cmdlib.node.LUNodeSetParams._R2F
ganeti.cmdlib.node.LUNodeSetParams.html#_R2F
Attribute
Constant
PRIVATE
a dictionary from node role to tuples of flags
-
ganeti.cmdlib.node.LUNodeSetParams._FLAGS
ganeti.cmdlib.node.LUNodeSetParams.html#_FLAGS
Attribute
Constant
PRIVATE
a list of attribute names corresponding to the flags
-
ganeti.cmdlib.node.LUNodeSetParams.HPATH
ganeti.cmdlib.node.LUNodeSetParams.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.REQ_BGL
ganeti.cmdlib.node.LUNodeSetParams.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams._ROLE_CANDIDATE
ganeti.cmdlib.node.LUNodeSetParams.html#_ROLE_CANDIDATE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams._ROLE_DRAINED
ganeti.cmdlib.node.LUNodeSetParams.html#_ROLE_DRAINED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams._ROLE_OFFLINE
ganeti.cmdlib.node.LUNodeSetParams.html#_ROLE_OFFLINE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams._ROLE_REGULAR
ganeti.cmdlib.node.LUNodeSetParams.html#_ROLE_REGULAR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.CheckArguments
ganeti.cmdlib.node.LUNodeSetParams.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeSetParams.might_demote
ganeti.cmdlib.node.LUNodeSetParams.html#might_demote
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.lock_all
ganeti.cmdlib.node.LUNodeSetParams.html#lock_all
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.lock_instances
ganeti.cmdlib.node.LUNodeSetParams.html#lock_instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams._InstanceFilter
ganeti.cmdlib.node.LUNodeSetParams.html#_InstanceFilter
Function
Method
PRIVATE
Filter for getting affected instances.
-
ganeti.cmdlib.node.LUNodeSetParams.ExpandNames
ganeti.cmdlib.node.LUNodeSetParams.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LUNodeSetParams.needed_locks
ganeti.cmdlib.node.LUNodeSetParams.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.share_locks
ganeti.cmdlib.node.LUNodeSetParams.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.BuildHooksEnv
ganeti.cmdlib.node.LUNodeSetParams.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.node.LUNodeSetParams.BuildHooksNodes
ganeti.cmdlib.node.LUNodeSetParams.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.node.LUNodeSetParams.CheckPrereq
ganeti.cmdlib.node.LUNodeSetParams.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.node.LUNodeSetParams.old_flags
ganeti.cmdlib.node.LUNodeSetParams.html#old_flags
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.old_role
ganeti.cmdlib.node.LUNodeSetParams.html#old_role
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.new_role
ganeti.cmdlib.node.LUNodeSetParams.html#new_role
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.new_ndparams
ganeti.cmdlib.node.LUNodeSetParams.html#new_ndparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.new_hv_state
ganeti.cmdlib.node.LUNodeSetParams.html#new_hv_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.new_disk_state
ganeti.cmdlib.node.LUNodeSetParams.html#new_disk_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeSetParams.Exec
ganeti.cmdlib.node.LUNodeSetParams.html#Exec
Function
Method
PUBLIC
Modifies a node.
-
ganeti.cmdlib.node.LUNodePowercycle
ganeti.cmdlib.node.LUNodePowercycle.html
Class
Class
PUBLIC
Powercycles a node.
-
ganeti.cmdlib.node.LUNodePowercycle.REQ_BGL
ganeti.cmdlib.node.LUNodePowercycle.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodePowercycle.CheckArguments
ganeti.cmdlib.node.LUNodePowercycle.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodePowercycle.ExpandNames
ganeti.cmdlib.node.LUNodePowercycle.html#ExpandNames
Function
Method
PUBLIC
Locking for PowercycleNode.
-
ganeti.cmdlib.node.LUNodePowercycle.needed_locks
ganeti.cmdlib.node.LUNodePowercycle.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodePowercycle.Exec
ganeti.cmdlib.node.LUNodePowercycle.html#Exec
Function
Method
PUBLIC
Reboots a node.
-
ganeti.cmdlib.node._GetNodeInstancesInner
ganeti.cmdlib.node.html#_GetNodeInstancesInner
Function
Function
PRIVATE
Undocumented
-
ganeti.cmdlib.node._GetNodePrimaryInstances
ganeti.cmdlib.node.html#_GetNodePrimaryInstances
Function
Function
PRIVATE
Returns primary instances on a node.
-
ganeti.cmdlib.node._GetNodeSecondaryInstances
ganeti.cmdlib.node.html#_GetNodeSecondaryInstances
Function
Function
PRIVATE
Returns secondary instances on a node.
-
ganeti.cmdlib.node._GetNodeInstances
ganeti.cmdlib.node.html#_GetNodeInstances
Function
Function
PRIVATE
Returns a list of all primary and secondary instances on a node.
-
ganeti.cmdlib.node.LUNodeEvacuate
ganeti.cmdlib.node.LUNodeEvacuate.html
Class
Class
PUBLIC
Evacuates instances off a list of nodes.
-
ganeti.cmdlib.node.LUNodeEvacuate.REQ_BGL
ganeti.cmdlib.node.LUNodeEvacuate.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeEvacuate.CheckArguments
ganeti.cmdlib.node.LUNodeEvacuate.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeEvacuate.ExpandNames
ganeti.cmdlib.node.LUNodeEvacuate.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LUNodeEvacuate.share_locks
ganeti.cmdlib.node.LUNodeEvacuate.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeEvacuate.needed_locks
ganeti.cmdlib.node.LUNodeEvacuate.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeEvacuate.lock_nodes
ganeti.cmdlib.node.LUNodeEvacuate.html#lock_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeEvacuate._DetermineNodes
ganeti.cmdlib.node.LUNodeEvacuate.html#_DetermineNodes
Function
Method
PRIVATE
Gets the list of node UUIDs to operate on.
-
ganeti.cmdlib.node.LUNodeEvacuate._DetermineInstances
ganeti.cmdlib.node.LUNodeEvacuate.html#_DetermineInstances
Function
Method
PRIVATE
Builds list of instances to operate on.
-
ganeti.cmdlib.node.LUNodeEvacuate.DeclareLocks
ganeti.cmdlib.node.LUNodeEvacuate.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.node.LUNodeEvacuate.CheckPrereq
ganeti.cmdlib.node.LUNodeEvacuate.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.node.LUNodeEvacuate.instances
ganeti.cmdlib.node.LUNodeEvacuate.html#instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeEvacuate.instance_names
ganeti.cmdlib.node.LUNodeEvacuate.html#instance_names
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeEvacuate.Exec
ganeti.cmdlib.node.LUNodeEvacuate.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.node.LUNodeMigrate
ganeti.cmdlib.node.LUNodeMigrate.html
Class
Class
PUBLIC
Migrate all instances from a node.
-
ganeti.cmdlib.node.LUNodeMigrate.HPATH
ganeti.cmdlib.node.LUNodeMigrate.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeMigrate.REQ_BGL
ganeti.cmdlib.node.LUNodeMigrate.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeMigrate.CheckArguments
ganeti.cmdlib.node.LUNodeMigrate.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeMigrate.ExpandNames
ganeti.cmdlib.node.LUNodeMigrate.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LUNodeMigrate.share_locks
ganeti.cmdlib.node.LUNodeMigrate.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeMigrate.needed_locks
ganeti.cmdlib.node.LUNodeMigrate.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeMigrate.BuildHooksEnv
ganeti.cmdlib.node.LUNodeMigrate.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.node.LUNodeMigrate.BuildHooksNodes
ganeti.cmdlib.node.LUNodeMigrate.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.node.LUNodeMigrate.CheckPrereq
ganeti.cmdlib.node.LUNodeMigrate.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.node.LUNodeMigrate.Exec
ganeti.cmdlib.node.LUNodeMigrate.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.node._GetStorageTypeArgs
ganeti.cmdlib.node.html#_GetStorageTypeArgs
Function
Function
PRIVATE
Returns the arguments for a storage type.
-
ganeti.cmdlib.node.LUNodeModifyStorage
ganeti.cmdlib.node.LUNodeModifyStorage.html
Class
Class
PUBLIC
Logical unit for modifying a storage volume on a node.
-
ganeti.cmdlib.node.LUNodeModifyStorage.REQ_BGL
ganeti.cmdlib.node.LUNodeModifyStorage.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeModifyStorage.CheckArguments
ganeti.cmdlib.node.LUNodeModifyStorage.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeModifyStorage.CheckPrereq
ganeti.cmdlib.node.LUNodeModifyStorage.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.node.LUNodeModifyStorage.ExpandNames
ganeti.cmdlib.node.LUNodeModifyStorage.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LUNodeModifyStorage.needed_locks
ganeti.cmdlib.node.LUNodeModifyStorage.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeModifyStorage.Exec
ganeti.cmdlib.node.LUNodeModifyStorage.html#Exec
Function
Method
PUBLIC
Computes the list of nodes and their attributes.
-
ganeti.cmdlib.node._CheckOutputFields
ganeti.cmdlib.node.html#_CheckOutputFields
Function
Function
PRIVATE
Checks whether all selected fields are valid according to fields.
-
ganeti.cmdlib.node.LUNodeQueryvols
ganeti.cmdlib.node.LUNodeQueryvols.html
Class
Class
PUBLIC
Logical unit for getting volumes on node(s).
-
ganeti.cmdlib.node.LUNodeQueryvols.REQ_BGL
ganeti.cmdlib.node.LUNodeQueryvols.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryvols.CheckArguments
ganeti.cmdlib.node.LUNodeQueryvols.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeQueryvols.ExpandNames
ganeti.cmdlib.node.LUNodeQueryvols.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LUNodeQueryvols.share_locks
ganeti.cmdlib.node.LUNodeQueryvols.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryvols.needed_locks
ganeti.cmdlib.node.LUNodeQueryvols.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryvols.Exec
ganeti.cmdlib.node.LUNodeQueryvols.html#Exec
Function
Method
PUBLIC
Computes the list of nodes and their attributes.
-
ganeti.cmdlib.node.LUNodeQueryStorage
ganeti.cmdlib.node.LUNodeQueryStorage.html
Class
Class
PUBLIC
Logical unit for getting information on storage units on node(s).
-
ganeti.cmdlib.node.LUNodeQueryStorage.REQ_BGL
ganeti.cmdlib.node.LUNodeQueryStorage.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryStorage.CheckArguments
ganeti.cmdlib.node.LUNodeQueryStorage.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LUNodeQueryStorage.ExpandNames
ganeti.cmdlib.node.LUNodeQueryStorage.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LUNodeQueryStorage.share_locks
ganeti.cmdlib.node.LUNodeQueryStorage.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryStorage.needed_locks
ganeti.cmdlib.node.LUNodeQueryStorage.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryStorage._DetermineStorageType
ganeti.cmdlib.node.LUNodeQueryStorage.html#_DetermineStorageType
Function
Method
PRIVATE
Determines the default storage type of the cluster.
-
ganeti.cmdlib.node.LUNodeQueryStorage.CheckPrereq
ganeti.cmdlib.node.LUNodeQueryStorage.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.node.LUNodeQueryStorage.storage_type
ganeti.cmdlib.node.LUNodeQueryStorage.html#storage_type
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeQueryStorage.Exec
ganeti.cmdlib.node.LUNodeQueryStorage.html#Exec
Function
Method
PUBLIC
Computes the list of nodes and their attributes.
-
ganeti.cmdlib.node.LUNodeQueryStorage.node_uuids
ganeti.cmdlib.node.LUNodeQueryStorage.html#node_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeRemove
ganeti.cmdlib.node.LUNodeRemove.html
Class
Class
PUBLIC
Logical unit for removing a node.
-
ganeti.cmdlib.node.LUNodeRemove.HPATH
ganeti.cmdlib.node.LUNodeRemove.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeRemove.BuildHooksEnv
ganeti.cmdlib.node.LUNodeRemove.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.node.LUNodeRemove.BuildHooksNodes
ganeti.cmdlib.node.LUNodeRemove.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.node.LUNodeRemove.CheckPrereq
ganeti.cmdlib.node.LUNodeRemove.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.node.LUNodeRemove.node
ganeti.cmdlib.node.LUNodeRemove.html#node
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LUNodeRemove.Exec
ganeti.cmdlib.node.LUNodeRemove.html#Exec
Function
Method
PUBLIC
Removes the node from the cluster.
-
ganeti.cmdlib.node.LURepairNodeStorage
ganeti.cmdlib.node.LURepairNodeStorage.html
Class
Class
PUBLIC
Repairs the volume group on a node.
-
ganeti.cmdlib.node.LURepairNodeStorage.REQ_BGL
ganeti.cmdlib.node.LURepairNodeStorage.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LURepairNodeStorage.CheckArguments
ganeti.cmdlib.node.LURepairNodeStorage.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.node.LURepairNodeStorage.ExpandNames
ganeti.cmdlib.node.LURepairNodeStorage.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.node.LURepairNodeStorage.needed_locks
ganeti.cmdlib.node.LURepairNodeStorage.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.node.LURepairNodeStorage._CheckFaultyDisks
ganeti.cmdlib.node.LURepairNodeStorage.html#_CheckFaultyDisks
Function
Method
PRIVATE
Ensure faulty disks abort the opcode or at least warn.
-
ganeti.cmdlib.node.LURepairNodeStorage.CheckPrereq
ganeti.cmdlib.node.LURepairNodeStorage.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.node.LURepairNodeStorage.Exec
ganeti.cmdlib.node.LURepairNodeStorage.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.instance_utils._TApplyContModsCbChanges
ganeti.cmdlib.instance_utils.html#_TApplyContModsCbChanges
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_utils.BuildInstanceHookEnv
ganeti.cmdlib.instance_utils.html#BuildInstanceHookEnv
Function
Function
PUBLIC
Builds instance related env variables for hooks
-
ganeti.cmdlib.instance_utils.BuildInstanceHookEnvByObject
ganeti.cmdlib.instance_utils.html#BuildInstanceHookEnvByObject
Function
Function
PUBLIC
Builds instance related env variables for hooks from an object.
-
ganeti.cmdlib.instance_utils.GetClusterDomainSecret
ganeti.cmdlib.instance_utils.html#GetClusterDomainSecret
Function
Function
PUBLIC
Reads the cluster domain secret.
-
ganeti.cmdlib.instance_utils.CheckNodeNotDrained
ganeti.cmdlib.instance_utils.html#CheckNodeNotDrained
Function
Function
PUBLIC
Ensure that a given node is not drained.
-
ganeti.cmdlib.instance_utils.CheckNodeVmCapable
ganeti.cmdlib.instance_utils.html#CheckNodeVmCapable
Function
Function
PUBLIC
Ensure that a given node is vm capable.
-
ganeti.cmdlib.instance_utils.RemoveInstance
ganeti.cmdlib.instance_utils.html#RemoveInstance
Function
Function
PUBLIC
Utility function to remove an instance.
-
ganeti.cmdlib.instance_utils._StoragePathsRemoved
ganeti.cmdlib.instance_utils.html#_StoragePathsRemoved
Function
Function
PRIVATE
Returns an iterable of all storage paths to be removed.
-
ganeti.cmdlib.instance_utils.RemoveDisks
ganeti.cmdlib.instance_utils.html#RemoveDisks
Function
Function
PUBLIC
Remove all or a subset of disks for an instance.
-
ganeti.cmdlib.instance_utils.NICToTuple
ganeti.cmdlib.instance_utils.html#NICToTuple
Function
Function
PUBLIC
Build a tupple of nic information.
-
ganeti.cmdlib.instance_utils.NICListToTuple
ganeti.cmdlib.instance_utils.html#NICListToTuple
Function
Function
PUBLIC
Build a list of nic information tuples.
-
ganeti.cmdlib.instance_utils.CopyLockList
ganeti.cmdlib.instance_utils.html#CopyLockList
Function
Function
PUBLIC
Makes a copy of a list of lock names.
-
ganeti.cmdlib.instance_utils.ReleaseLocks
ganeti.cmdlib.instance_utils.html#ReleaseLocks
Function
Function
PUBLIC
Releases locks owned by an LU.
-
ganeti.cmdlib.instance_utils._ComputeIPolicyNodeViolation
ganeti.cmdlib.instance_utils.html#_ComputeIPolicyNodeViolation
Function
Function
PRIVATE
Compute if instance meets the specs of the new target group.
-
ganeti.cmdlib.instance_utils.CheckTargetNodeIPolicy
ganeti.cmdlib.instance_utils.html#CheckTargetNodeIPolicy
Function
Function
PUBLIC
Checks that the target node is correct in terms of instance policy.
-
ganeti.cmdlib.instance_utils.GetInstanceInfoText
ganeti.cmdlib.instance_utils.html#GetInstanceInfoText
Function
Function
PUBLIC
Compute that text that should be added to the disk's metadata.
-
ganeti.cmdlib.instance_utils.CheckNodeFreeMemory
ganeti.cmdlib.instance_utils.html#CheckNodeFreeMemory
Function
Function
PUBLIC
Checks if a node has enough free memory.
-
ganeti.cmdlib.instance_utils.CheckInstanceBridgesExist
ganeti.cmdlib.instance_utils.html#CheckInstanceBridgesExist
Function
Function
PUBLIC
Check that the brigdes needed by an instance exist.
-
ganeti.cmdlib.instance_utils.CheckNicsBridgesExist
ganeti.cmdlib.instance_utils.html#CheckNicsBridgesExist
Function
Function
PUBLIC
Check that the brigdes needed by a list of nics exist.
-
ganeti.cmdlib.instance_utils.UpdateMetadata
ganeti.cmdlib.instance_utils.html#UpdateMetadata
Function
Function
PUBLIC
Updates instance metadata on the metadata daemon on the instance's primary node.
-
ganeti.cmdlib.instance_utils.CheckCompressionTool
ganeti.cmdlib.instance_utils.html#CheckCompressionTool
Function
Function
PUBLIC
Checks if the provided compression tool is allowed to be used.
-
ganeti.cmdlib.instance_utils.BuildDiskLogicalIDEnv
ganeti.cmdlib.instance_utils.html#BuildDiskLogicalIDEnv
Function
Function
PUBLIC
Helper method to create hooks env related to disk's logical_id
-
ganeti.cmdlib.instance_utils.BuildDiskEnv
ganeti.cmdlib.instance_utils.html#BuildDiskEnv
Function
Function
PUBLIC
Helper method to create disk's hooks env
-
ganeti.cmdlib.instance_utils.CheckInstanceExistence
ganeti.cmdlib.instance_utils.html#CheckInstanceExistence
Function
Function
PUBLIC
Raises an error if an instance with the given name exists already.
-
ganeti.cmdlib.instance_utils.CheckForConflictingIp
ganeti.cmdlib.instance_utils.html#CheckForConflictingIp
Function
Function
PUBLIC
In case of conflicting IP address raise error.
-
ganeti.cmdlib.instance_utils.ComputeIPolicyInstanceSpecViolation
ganeti.cmdlib.instance_utils.html#ComputeIPolicyInstanceSpecViolation
Function
Function
PUBLIC
Compute if instance specs meets the specs of ipolicy.
-
ganeti.cmdlib.instance_utils.ComputeInstanceCommunicationNIC
ganeti.cmdlib.instance_utils.html#ComputeInstanceCommunicationNIC
Function
Function
PUBLIC
Compute the name of the instance NIC used by instance communication.
-
ganeti.cmdlib.instance_utils.PrepareContainerMods
ganeti.cmdlib.instance_utils.html#PrepareContainerMods
Function
Function
PUBLIC
Prepares a list of container modifications by adding a private data field.
-
ganeti.cmdlib.instance_utils.ApplyContainerMods
ganeti.cmdlib.instance_utils.html#ApplyContainerMods
Function
Function
PUBLIC
Applies descriptions in mods to container.
-
ganeti.cmdlib.instance_utils.GetItemFromContainer
ganeti.cmdlib.instance_utils.html#GetItemFromContainer
Function
Function
PUBLIC
Return the item refered by the identifier.
-
ganeti.cmdlib.instance_utils.GetIndexFromIdentifier
ganeti.cmdlib.instance_utils.html#GetIndexFromIdentifier
Function
Function
PUBLIC
Check if the identifier represents a valid container index and return it.
-
ganeti.cmdlib.instance_utils.InsertItemToIndex
ganeti.cmdlib.instance_utils.html#InsertItemToIndex
Function
Function
PUBLIC
Insert an item to the provided index of a container.
-
ganeti.cmdlib.instance_utils.CheckNodesPhysicalCPUs
ganeti.cmdlib.instance_utils.html#CheckNodesPhysicalCPUs
Function
Function
PUBLIC
Checks if nodes have enough physical CPUs
-
ganeti.cmdlib.instance_utils.CheckHostnameSane
ganeti.cmdlib.instance_utils.html#CheckHostnameSane
Function
Function
PUBLIC
Ensures that a given hostname resolves to a 'sane' name.
-
ganeti.cmdlib.instance_utils.CheckOpportunisticLocking
ganeti.cmdlib.instance_utils.html#CheckOpportunisticLocking
Function
Function
PUBLIC
Generate error if opportunistic locking is not possible.
-
ganeti.cmdlib.instance_utils.CreateInstanceAllocRequest
ganeti.cmdlib.instance_utils.html#CreateInstanceAllocRequest
Function
Function
PUBLIC
Wrapper around IAReqInstanceAlloc.
-
ganeti.cmdlib.instance_utils.ComputeFullBeParams
ganeti.cmdlib.instance_utils.html#ComputeFullBeParams
Function
Function
PUBLIC
Computes the full beparams.
-
ganeti.cmdlib.instance_utils.ComputeNics
ganeti.cmdlib.instance_utils.html#ComputeNics
Function
Function
PUBLIC
Computes the nics.
-
ganeti.cmdlib.instance_storage._DISK_TEMPLATE_NAME_PREFIX
ganeti.cmdlib.instance_storage.html#_DISK_TEMPLATE_NAME_PREFIX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.CreateSingleBlockDev
ganeti.cmdlib.instance_storage.html#CreateSingleBlockDev
Function
Function
PUBLIC
Create a single block device on a given node.
-
ganeti.cmdlib.instance_storage._CreateBlockDevInner
ganeti.cmdlib.instance_storage.html#_CreateBlockDevInner
Function
Function
PRIVATE
Create a tree of block devices on a given node.
-
ganeti.cmdlib.instance_storage.IsExclusiveStorageEnabledNodeUuid
ganeti.cmdlib.instance_storage.html#IsExclusiveStorageEnabledNodeUuid
Function
Function
PUBLIC
Whether exclusive_storage is in effect for the given node.
-
ganeti.cmdlib.instance_storage._CreateBlockDev
ganeti.cmdlib.instance_storage.html#_CreateBlockDev
Function
Function
PRIVATE
-
ganeti.cmdlib.instance_storage._UndoCreateDisks
ganeti.cmdlib.instance_storage.html#_UndoCreateDisks
Function
Function
PRIVATE
-
ganeti.cmdlib.instance_storage.CreateDisks
ganeti.cmdlib.instance_storage.html#CreateDisks
Function
Function
PUBLIC
Create all disks for an instance.
-
ganeti.cmdlib.instance_storage.ComputeDiskSizePerVG
ganeti.cmdlib.instance_storage.html#ComputeDiskSizePerVG
Function
Function
PUBLIC
Compute disk size requirements in the volume group
-
ganeti.cmdlib.instance_storage.ComputeDisks
ganeti.cmdlib.instance_storage.html#ComputeDisks
Function
Function
PUBLIC
Computes the instance disks.
-
ganeti.cmdlib.instance_storage.ComputeDisksInfo
ganeti.cmdlib.instance_storage.html#ComputeDisksInfo
Function
Function
PUBLIC
Computes the new instance's disks for the template conversion.
-
ganeti.cmdlib.instance_storage.CalculateFileStorageDir
ganeti.cmdlib.instance_storage.html#CalculateFileStorageDir
Function
Function
PUBLIC
Calculate final instance file storage dir.
-
ganeti.cmdlib.instance_storage.CheckRADOSFreeSpace
ganeti.cmdlib.instance_storage.html#CheckRADOSFreeSpace
Function
Function
PUBLIC
Compute disk size requirements inside the RADOS cluster.
-
ganeti.cmdlib.instance_storage._GenerateDRBD8Branch
ganeti.cmdlib.instance_storage.html#_GenerateDRBD8Branch
Function
Function
PRIVATE
Generate a drbd8 device complete with its children.
-
ganeti.cmdlib.instance_storage.GenerateDiskTemplate
ganeti.cmdlib.instance_storage.html#GenerateDiskTemplate
Function
Function
PUBLIC
Generate the entire disk layout for a given template type.
-
ganeti.cmdlib.instance_storage.CommitDisks
ganeti.cmdlib.instance_storage.html#CommitDisks
Function
Function
PUBLIC
Recursively remove the forthcoming flag
-
ganeti.cmdlib.instance_storage.CheckSpindlesExclusiveStorage
ganeti.cmdlib.instance_storage.html#CheckSpindlesExclusiveStorage
Function
Function
PUBLIC
Check the presence of the spindle options with exclusive_storage.
-
ganeti.cmdlib.instance_storage.CheckDiskExtProvider
ganeti.cmdlib.instance_storage.html#CheckDiskExtProvider
Function
Function
PUBLIC
Check that the given disk should or should not have the provider param.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html
Class
Class
PUBLIC
Recreate an instance's missing disks.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.HPATH
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.REQ_BGL
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks._MODIFYABLE
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#_MODIFYABLE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks._RunAllocator
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#_RunAllocator
Function
Method
PRIVATE
Run the allocator based on input opcode.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.CheckArguments
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.ExpandNames
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.DeclareLocks
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.BuildHooksEnv
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.BuildHooksNodes
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.CheckPrereq
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.disks
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.instance
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.Exec
ganeti.cmdlib.instance_storage.LUInstanceRecreateDisks.html#Exec
Function
Method
PUBLIC
Recreate the disks.
-
ganeti.cmdlib.instance_storage._PerformNodeInfoCall
ganeti.cmdlib.instance_storage.html#_PerformNodeInfoCall
Function
Function
PRIVATE
Prepares the input and performs a node info call.
-
ganeti.cmdlib.instance_storage._CheckVgCapacityForNode
ganeti.cmdlib.instance_storage.html#_CheckVgCapacityForNode
Function
Function
PRIVATE
Checks the vg capacity for a given node.
-
ganeti.cmdlib.instance_storage._CheckNodesFreeDiskOnVG
ganeti.cmdlib.instance_storage.html#_CheckNodesFreeDiskOnVG
Function
Function
PRIVATE
Checks if nodes have enough free disk space in the specified VG.
-
ganeti.cmdlib.instance_storage.CheckNodesFreeDiskPerVG
ganeti.cmdlib.instance_storage.html#CheckNodesFreeDiskPerVG
Function
Function
PUBLIC
Checks if nodes have enough free disk space in all the VGs.
-
ganeti.cmdlib.instance_storage._DiskSizeInBytesToMebibytes
ganeti.cmdlib.instance_storage.html#_DiskSizeInBytesToMebibytes
Function
Function
PRIVATE
Converts a disk size in bytes to mebibytes.
-
ganeti.cmdlib.instance_storage._CalcEta
ganeti.cmdlib.instance_storage.html#_CalcEta
Function
Function
PRIVATE
Calculates the ETA based on size written and total size.
-
ganeti.cmdlib.instance_storage.WipeDisks
ganeti.cmdlib.instance_storage.html#WipeDisks
Function
Function
PUBLIC
Wipes instance disks.
-
ganeti.cmdlib.instance_storage.ImageDisks
ganeti.cmdlib.instance_storage.html#ImageDisks
Function
Function
PUBLIC
Dumps an image onto an instance disk.
-
ganeti.cmdlib.instance_storage.WipeOrCleanupDisks
ganeti.cmdlib.instance_storage.html#WipeOrCleanupDisks
Function
Function
PUBLIC
-
ganeti.cmdlib.instance_storage.ExpandCheckDisks
ganeti.cmdlib.instance_storage.html#ExpandCheckDisks
Function
Function
PUBLIC
Return the instance disks selected by the disks list
-
ganeti.cmdlib.instance_storage.WaitForSync
ganeti.cmdlib.instance_storage.html#WaitForSync
Function
Function
PUBLIC
Sleep and poll for an instance's disk to sync.
-
ganeti.cmdlib.instance_storage.ShutdownInstanceDisks
ganeti.cmdlib.instance_storage.html#ShutdownInstanceDisks
Function
Function
PUBLIC
Shutdown block devices of an instance.
-
ganeti.cmdlib.instance_storage._SafeShutdownInstanceDisks
ganeti.cmdlib.instance_storage.html#_SafeShutdownInstanceDisks
Function
Function
PRIVATE
Shutdown block devices of an instance.
-
ganeti.cmdlib.instance_storage.AssembleInstanceDisks
ganeti.cmdlib.instance_storage.html#AssembleInstanceDisks
Function
Function
PUBLIC
Prepare the block devices for an instance.
-
ganeti.cmdlib.instance_storage.StartInstanceDisks
ganeti.cmdlib.instance_storage.html#StartInstanceDisks
Function
Function
PUBLIC
Start the disks of an instance.
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html
Class
Class
PUBLIC
Grow a disk of an instance.
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.HPATH
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.REQ_BGL
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.ExpandNames
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.DeclareLocks
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.BuildHooksEnv
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.BuildHooksNodes
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.CheckPrereq
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.instance
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.node_es_flags
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#node_es_flags
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.disk
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#disk
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.target
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#target
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.delta
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#delta
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk._CheckDiskSpace
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#_CheckDiskSpace
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk._CheckIPolicy
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#_CheckIPolicy
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.Exec
ganeti.cmdlib.instance_storage.LUInstanceGrowDisk.html#Exec
Function
Method
PUBLIC
Execute disk grow.
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html
Class
Class
PUBLIC
Replace the disks of an instance.
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.HPATH
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.REQ_BGL
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.CheckArguments
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#CheckArguments
Function
Method
PUBLIC
Check arguments.
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.ExpandNames
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.replacer
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#replacer
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.tasklets
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#tasklets
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.DeclareLocks
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.BuildHooksEnv
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.BuildHooksNodes
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.CheckPrereq
ganeti.cmdlib.instance_storage.LUInstanceReplaceDisks.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html
Class
Class
PUBLIC
Bring up an instance's disks.
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.REQ_BGL
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.ExpandNames
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.DeclareLocks
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.CheckPrereq
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.instance
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.Exec
ganeti.cmdlib.instance_storage.LUInstanceActivateDisks.html#Exec
Function
Method
PUBLIC
Activate the disks.
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html
Class
Class
PUBLIC
Shutdown an instance's disks.
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.REQ_BGL
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.ExpandNames
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.DeclareLocks
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.CheckPrereq
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.instance
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.Exec
ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks.html#Exec
Function
Method
PUBLIC
Deactivate the disks
-
ganeti.cmdlib.instance_storage._CheckDiskConsistencyInner
ganeti.cmdlib.instance_storage.html#_CheckDiskConsistencyInner
Function
Function
PRIVATE
Check that mirrors are not degraded.
-
ganeti.cmdlib.instance_storage.CheckDiskConsistency
ganeti.cmdlib.instance_storage.html#CheckDiskConsistency
Function
Function
PUBLIC
-
ganeti.cmdlib.instance_storage._BlockdevFind
ganeti.cmdlib.instance_storage.html#_BlockdevFind
Function
Function
PRIVATE
Wrapper around call_blockdev_find to annotate diskparams.
-
ganeti.cmdlib.instance_storage._GenerateUniqueNames
ganeti.cmdlib.instance_storage.html#_GenerateUniqueNames
Function
Function
PRIVATE
Generate a suitable LV name.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks
ganeti.cmdlib.instance_storage.TLReplaceDisks.html
Class
Class
PUBLIC
Replaces disks for an instance.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.__init__
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.instance_uuid
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#instance_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.instance_name
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#instance_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.mode
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#mode
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.iallocator_name
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#iallocator_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.remote_node_uuid
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#remote_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.disks
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.early_release
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#early_release
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.ignore_ipolicy
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#ignore_ipolicy
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.instance
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.new_node_uuid
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#new_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.target_node_uuid
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#target_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.other_node_uuid
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#other_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.remote_node_info
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#remote_node_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.node_secondary_ip
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#node_secondary_ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._RunAllocator
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_RunAllocator
Function
Static Method
PRIVATE
Compute a new secondary node using an IAllocator.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._FindFaultyDisks
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_FindFaultyDisks
Function
Method
PRIVATE
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._CheckDisksActivated
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_CheckDisksActivated
Function
Method
PRIVATE
Checks if the instance disks are activated.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.CheckPrereq
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks.Exec
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#Exec
Function
Method
PUBLIC
Execute disk replacement.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._CheckVolumeGroup
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_CheckVolumeGroup
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._CheckDisksExistence
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_CheckDisksExistence
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._CheckDisksConsistency
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_CheckDisksConsistency
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._CreateNewStorage
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_CreateNewStorage
Function
Method
PRIVATE
Create new storage on the primary or secondary node.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._CheckDevices
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_CheckDevices
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._RemoveOldStorage
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_RemoveOldStorage
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._ExecDrbd8DiskOnly
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_ExecDrbd8DiskOnly
Function
Method
PRIVATE
Replace a disk on the primary or secondary for DRBD 8.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._UpdateDisksSecondary
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_UpdateDisksSecondary
Function
Method
PRIVATE
Update the configuration of disks to have a new secondary.
-
ganeti.cmdlib.instance_storage.TLReplaceDisks._ExecDrbd8Secondary
ganeti.cmdlib.instance_storage.TLReplaceDisks.html#_ExecDrbd8Secondary
Function
Method
PRIVATE
Replace the secondary node for DRBD 8.
-
ganeti.cmdlib.instance_storage.TemporaryDisk
ganeti.cmdlib.instance_storage.TemporaryDisk.html
Class
Class
PUBLIC
Creates a new temporary bootable disk, and makes sure it is destroyed.
-
ganeti.cmdlib.instance_storage.TemporaryDisk.__init__
ganeti.cmdlib.instance_storage.TemporaryDisk.html#__init__
Function
Method
PUBLIC
Constructor storing arguments until used later.
-
ganeti.cmdlib.instance_storage.TemporaryDisk._lu
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_lu
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk._instance
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_instance
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk._disks
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_disks
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk._feedback_fn
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_feedback_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk._shutdown_timeout
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_shutdown_timeout
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk._EnsureInstanceDiskState
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_EnsureInstanceDiskState
Function
Method
PRIVATE
Ensures that the instance is down, and its disks inactive.
-
ganeti.cmdlib.instance_storage.TemporaryDisk.__enter__
ganeti.cmdlib.instance_storage.TemporaryDisk.html#__enter__
Function
Method
PUBLIC
Context manager entry function, creating the disk.
-
ganeti.cmdlib.instance_storage.TemporaryDisk._undoing_info
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_undoing_info
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk._new_disks
ganeti.cmdlib.instance_storage.TemporaryDisk.html#_new_disks
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_storage.TemporaryDisk.__exit__
ganeti.cmdlib.instance_storage.TemporaryDisk.html#__exit__
Function
Method
PUBLIC
Context manager exit function, destroying the disk.
-
ganeti.cmdlib.instance.LUInstanceRename
ganeti.cmdlib.instance.LUInstanceRename.html
Class
Class
PUBLIC
Rename an instance.
-
ganeti.cmdlib.instance.LUInstanceRename.HPATH
ganeti.cmdlib.instance.LUInstanceRename.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRename.REQ_BGL
ganeti.cmdlib.instance.LUInstanceRename.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRename.CheckArguments
ganeti.cmdlib.instance.LUInstanceRename.html#CheckArguments
Function
Method
PUBLIC
Check arguments.
-
ganeti.cmdlib.instance.LUInstanceRename._new_name_resolved
ganeti.cmdlib.instance.LUInstanceRename.html#_new_name_resolved
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRename.BuildHooksEnv
ganeti.cmdlib.instance.LUInstanceRename.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance.LUInstanceRename.BuildHooksNodes
ganeti.cmdlib.instance.LUInstanceRename.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance.LUInstanceRename._PerformChecksAndResolveNewName
ganeti.cmdlib.instance.LUInstanceRename.html#_PerformChecksAndResolveNewName
Function
Method
PRIVATE
Checks and resolves the new name, storing the FQDN, if permitted.
-
ganeti.cmdlib.instance.LUInstanceRename.CheckPrereq
ganeti.cmdlib.instance.LUInstanceRename.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance.LUInstanceRename.instance
ganeti.cmdlib.instance.LUInstanceRename.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRename.ExpandNames
ganeti.cmdlib.instance.LUInstanceRename.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance.LUInstanceRename.Exec
ganeti.cmdlib.instance.LUInstanceRename.html#Exec
Function
Method
PUBLIC
Rename the instance.
-
ganeti.cmdlib.instance.LUInstanceRemove
ganeti.cmdlib.instance.LUInstanceRemove.html
Class
Class
PUBLIC
Remove an instance.
-
ganeti.cmdlib.instance.LUInstanceRemove.HPATH
ganeti.cmdlib.instance.LUInstanceRemove.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRemove.REQ_BGL
ganeti.cmdlib.instance.LUInstanceRemove.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRemove.ExpandNames
ganeti.cmdlib.instance.LUInstanceRemove.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance.LUInstanceRemove.DeclareLocks
ganeti.cmdlib.instance.LUInstanceRemove.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance.LUInstanceRemove.BuildHooksEnv
ganeti.cmdlib.instance.LUInstanceRemove.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance.LUInstanceRemove.BuildHooksNodes
ganeti.cmdlib.instance.LUInstanceRemove.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance.LUInstanceRemove.CheckPrereq
ganeti.cmdlib.instance.LUInstanceRemove.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance.LUInstanceRemove.instance
ganeti.cmdlib.instance.LUInstanceRemove.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRemove.secondary_nodes
ganeti.cmdlib.instance.LUInstanceRemove.html#secondary_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRemove.inst_disks
ganeti.cmdlib.instance.LUInstanceRemove.html#inst_disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceRemove.Exec
ganeti.cmdlib.instance.LUInstanceRemove.html#Exec
Function
Method
PUBLIC
Remove the instance.
-
ganeti.cmdlib.instance.LUInstanceMove
ganeti.cmdlib.instance.LUInstanceMove.html
Class
Class
PUBLIC
Move an instance by data-copying.
-
ganeti.cmdlib.instance.LUInstanceMove.HPATH
ganeti.cmdlib.instance.LUInstanceMove.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMove.REQ_BGL
ganeti.cmdlib.instance.LUInstanceMove.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMove.ExpandNames
ganeti.cmdlib.instance.LUInstanceMove.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance.LUInstanceMove.DeclareLocks
ganeti.cmdlib.instance.LUInstanceMove.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance.LUInstanceMove.BuildHooksEnv
ganeti.cmdlib.instance.LUInstanceMove.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance.LUInstanceMove.BuildHooksNodes
ganeti.cmdlib.instance.LUInstanceMove.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance.LUInstanceMove.CheckPrereq
ganeti.cmdlib.instance.LUInstanceMove.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance.LUInstanceMove.instance
ganeti.cmdlib.instance.LUInstanceMove.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMove.target_node_uuid
ganeti.cmdlib.instance.LUInstanceMove.html#target_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMove.Exec
ganeti.cmdlib.instance.LUInstanceMove.html#Exec
Function
Method
PUBLIC
Move an instance.
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html
Class
Class
PUBLIC
Allocates multiple instances at the same time.
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.REQ_BGL
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.CheckArguments
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#CheckArguments
Function
Method
PUBLIC
Check arguments.
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.ExpandNames
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#ExpandNames
Function
Method
PUBLIC
Calculate the locks.
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.share_locks
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.needed_locks
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.CheckPrereq
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisite.
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.ia_result
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#ia_result
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.dry_run_result
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#dry_run_result
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc._ConstructPartialResult
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#_ConstructPartialResult
Function
Method
PRIVATE
Contructs the partial result.
-
ganeti.cmdlib.instance.LUInstanceMultiAlloc.Exec
ganeti.cmdlib.instance.LUInstanceMultiAlloc.html#Exec
Function
Method
PUBLIC
Executes the opcode.
-
ganeti.cmdlib.instance.LUInstanceChangeGroup
ganeti.cmdlib.instance.LUInstanceChangeGroup.html
Class
Class
PUBLIC
No class docstring; 0/5 instance variable, 0/2 constant, 2/6 methods documented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.HPATH
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.REQ_BGL
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.ExpandNames
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.share_locks
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.needed_locks
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.req_target_uuids
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#req_target_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.DeclareLocks
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.CheckPrereq
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.instance
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.target_uuids
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#target_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.BuildHooksEnv
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.BuildHooksNodes
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance.LUInstanceChangeGroup.Exec
ganeti.cmdlib.instance.LUInstanceChangeGroup.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.instance_helpervm.HelperVM
ganeti.cmdlib.instance_helpervm.html#HelperVM
Function
Function
PUBLIC
Runs a given helper VM for a given instance.
-
ganeti.cmdlib.instance_helpervm.RunWithHelperVM
ganeti.cmdlib.instance_helpervm.html#RunWithHelperVM
Function
Function
PUBLIC
Runs a given helper VM for a given instance.
-
ganeti.cmdlib.instance_create._ValidateTrunkVLAN
ganeti.cmdlib.instance_create.html#_ValidateTrunkVLAN
Function
Function
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate
ganeti.cmdlib.instance_create.LUInstanceCreate.html
Class
Class
PUBLIC
Create an instance.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.HPATH
ganeti.cmdlib.instance_create.LUInstanceCreate.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.REQ_BGL
ganeti.cmdlib.instance_create.LUInstanceCreate.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate._CheckDiskTemplateValid
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_CheckDiskTemplateValid
Function
Method
PRIVATE
Checks validity of disk template.
-
ganeti.cmdlib.instance_create.LUInstanceCreate._CheckDiskArguments
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_CheckDiskArguments
Function
Method
PRIVATE
Checks validity of disk-related arguments.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.adopt_disks
ganeti.cmdlib.instance_create.LUInstanceCreate.html#adopt_disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate._CheckVLANArguments
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_CheckVLANArguments
Function
Method
PRIVATE
Check validity of VLANs if given
-
ganeti.cmdlib.instance_create.LUInstanceCreate.CheckArguments
ganeti.cmdlib.instance_create.LUInstanceCreate.html#CheckArguments
Function
Method
PUBLIC
Check arguments.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.hostname
ganeti.cmdlib.instance_create.LUInstanceCreate.html#hostname
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.check_ip
ganeti.cmdlib.instance_create.LUInstanceCreate.html#check_ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.ExpandNames
ganeti.cmdlib.instance_create.LUInstanceCreate.html#ExpandNames
Function
Method
PUBLIC
ExpandNames for CreateInstance.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.needed_locks
ganeti.cmdlib.instance_create.LUInstanceCreate.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.DeclareLocks
ganeti.cmdlib.instance_create.LUInstanceCreate.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_create.LUInstanceCreate._RunAllocator
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_RunAllocator
Function
Method
PRIVATE
Run the allocator based on input opcode.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.BuildHooksEnv
ganeti.cmdlib.instance_create.LUInstanceCreate.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.BuildHooksNodes
ganeti.cmdlib.instance_create.LUInstanceCreate.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_create.LUInstanceCreate._ReadExportInfo
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_ReadExportInfo
Function
Method
PRIVATE
Reads the export information from disk.
-
ganeti.cmdlib.instance_create.LUInstanceCreate._ReadExportParams
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_ReadExportParams
Function
Method
PRIVATE
Use export parameters as defaults.
-
ganeti.cmdlib.instance_create.LUInstanceCreate._RevertToDefaults
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_RevertToDefaults
Function
Method
PRIVATE
Revert the instance parameters to the default values.
-
ganeti.cmdlib.instance_create.LUInstanceCreate._GetNodesFromForthcomingInstance
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_GetNodesFromForthcomingInstance
Function
Method
PRIVATE
Set nodes as in the forthcoming instance
-
ganeti.cmdlib.instance_create.LUInstanceCreate.CheckPrereq
ganeti.cmdlib.instance_create.LUInstanceCreate.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.instance_file_storage_dir
ganeti.cmdlib.instance_create.LUInstanceCreate.html#instance_file_storage_dir
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate._old_instance_name
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_old_instance_name
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.hv_full
ganeti.cmdlib.instance_create.LUInstanceCreate.html#hv_full
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.be_full
ganeti.cmdlib.instance_create.LUInstanceCreate.html#be_full
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.os_full
ganeti.cmdlib.instance_create.LUInstanceCreate.html#os_full
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.nics
ganeti.cmdlib.instance_create.LUInstanceCreate.html#nics
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.disks
ganeti.cmdlib.instance_create.LUInstanceCreate.html#disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.src_images
ganeti.cmdlib.instance_create.LUInstanceCreate.html#src_images
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.pnode
ganeti.cmdlib.instance_create.LUInstanceCreate.html#pnode
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.secondaries
ganeti.cmdlib.instance_create.LUInstanceCreate.html#secondaries
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate.dry_run_result
ganeti.cmdlib.instance_create.LUInstanceCreate.html#dry_run_result
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_create.LUInstanceCreate._RemoveDegradedDisks
ganeti.cmdlib.instance_create.LUInstanceCreate.html#_RemoveDegradedDisks
Function
Method
PRIVATE
Removes degraded disks and instance.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.RunOsScripts
ganeti.cmdlib.instance_create.LUInstanceCreate.html#RunOsScripts
Function
Method
PUBLIC
Run OS scripts
-
ganeti.cmdlib.instance_create.LUInstanceCreate.GetOsInstallPackageEnvironment
ganeti.cmdlib.instance_create.LUInstanceCreate.html#GetOsInstallPackageEnvironment
Function
Method
PUBLIC
Returns the OS scripts environment for the helper VM
-
ganeti.cmdlib.instance_create.LUInstanceCreate.UpdateInstanceOsInstallPackage
ganeti.cmdlib.instance_create.LUInstanceCreate.html#UpdateInstanceOsInstallPackage
Function
Method
PUBLIC
Updates the OS parameter 'os-install-package' for an instance.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.RunOsScriptsVirtualized
ganeti.cmdlib.instance_create.LUInstanceCreate.html#RunOsScriptsVirtualized
Function
Method
PUBLIC
Runs the OS scripts inside a safe virtualized environment.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.Exec
ganeti.cmdlib.instance_create.LUInstanceCreate.html#Exec
Function
Method
PUBLIC
Create and add the instance to the cluster.
-
ganeti.cmdlib.instance_create.LUInstanceCreate.PrepareRetry
ganeti.cmdlib.instance_create.LUInstanceCreate.html#PrepareRetry
Function
Method
PUBLIC
Prepare the LU to run again.
-
ganeti.cmdlib.instance_migration._ExpandNamesForMigration
ganeti.cmdlib.instance_migration.html#_ExpandNamesForMigration
Function
Function
PRIVATE
-
ganeti.cmdlib.instance_migration._DeclareLocksForMigration
ganeti.cmdlib.instance_migration.html#_DeclareLocksForMigration
Function
Function
PRIVATE
-
ganeti.cmdlib.instance_migration.LUInstanceFailover
ganeti.cmdlib.instance_migration.LUInstanceFailover.html
Class
Class
PUBLIC
Failover an instance.
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.HPATH
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.REQ_BGL
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.CheckArguments
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#CheckArguments
Function
Method
PUBLIC
Check the arguments.
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.iallocator
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#iallocator
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.target_node
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#target_node
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.ExpandNames
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_migration.LUInstanceFailover._migrater
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#_migrater
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.tasklets
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#tasklets
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.DeclareLocks
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.BuildHooksEnv
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_migration.LUInstanceFailover.BuildHooksNodes
ganeti.cmdlib.instance_migration.LUInstanceFailover.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html
Class
Class
PUBLIC
Migrate an instance.
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.HPATH
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.REQ_BGL
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.ExpandNames
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate._migrater
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#_migrater
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.tasklets
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#tasklets
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.DeclareLocks
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.BuildHooksEnv
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_migration.LUInstanceMigrate.BuildHooksNodes
ganeti.cmdlib.instance_migration.LUInstanceMigrate.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance
ganeti.cmdlib.instance_migration.TLMigrateInstance.html
Class
Class
PUBLIC
Tasklet class for instance migration.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.live
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#live
Attribute
Instance Variable
PUBLIC
whether the migration will be done live or non-live; this variable is initalized only after CheckPrereq has run
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.cleanup
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#cleanup
Attribute
Instance Variable
PUBLIC
Wheater we cleanup from a failed migration
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.iallocator
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#iallocator
Attribute
Instance Variable
PUBLIC
The iallocator used to determine target_node
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.target_node_uuid
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#target_node_uuid
Attribute
Instance Variable
PUBLIC
If given, the target node UUID to reallocate the instance to
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.failover
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#failover
Attribute
Instance Variable
PUBLIC
Whether operation results in failover or migration
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.fallback
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#fallback
Attribute
Instance Variable
PUBLIC
Whether fallback to failover is allowed if migration not possible
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.ignore_consistency
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#ignore_consistency
Attribute
Instance Variable
PUBLIC
Wheter we should ignore consistency between source and target node
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.shutdown_timeout
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#shutdown_timeout
Attribute
Instance Variable
PUBLIC
In case of failover timeout of the shutdown
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.ignore_ipolicy
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#ignore_ipolicy
Attribute
Instance Variable
PUBLIC
If true, we can ignore instance policy when migrating
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.ignore_hvversions
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#ignore_hvversions
Attribute
Instance Variable
PUBLIC
If true, accept incompatible hypervisor versions
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._MIGRATION_POLL_INTERVAL
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_MIGRATION_POLL_INTERVAL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._MIGRATION_FEEDBACK_INTERVAL
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_MIGRATION_FEEDBACK_INTERVAL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.__init__
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.instance_uuid
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#instance_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.instance_name
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#instance_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.allow_runtime_changes
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#allow_runtime_changes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.CheckPrereq
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.instance
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.tgt_free_mem
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#tgt_free_mem
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.current_mem
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#current_mem
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._RunAllocator
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_RunAllocator
Function
Method
PRIVATE
Run the allocator based on input opcode.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._WaitUntilSync
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_WaitUntilSync
Function
Method
PRIVATE
Poll with custom rpc for disk sync.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._OpenInstanceDisks
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_OpenInstanceDisks
Function
Method
PRIVATE
Open instance disks.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._CloseInstanceDisks
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_CloseInstanceDisks
Function
Method
PRIVATE
Close instance disks.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._GoStandalone
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_GoStandalone
Function
Method
PRIVATE
Disconnect from the network.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._GoReconnect
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_GoReconnect
Function
Method
PRIVATE
Reconnect to the network.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._FindInstanceLocations
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_FindInstanceLocations
Function
Method
PRIVATE
Returns a list of nodes that have the given instance running
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._ExecCleanup
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_ExecCleanup
Function
Method
PRIVATE
Try to cleanup after a failed migration.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.migration_info
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#migration_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._RevertDiskStatus
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_RevertDiskStatus
Function
Method
PRIVATE
Try to revert the disk status after a failed migration.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._AbortMigration
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_AbortMigration
Function
Method
PRIVATE
Call the hypervisor code to abort a started migration.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._ExecMigration
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_ExecMigration
Function
Method
PRIVATE
Migrate an instance.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance._ExecFailover
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#_ExecFailover
Function
Method
PRIVATE
Failover an instance.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.Exec
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#Exec
Function
Method
PUBLIC
Perform the migration.
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.feedback_fn
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.source_node_uuid
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#source_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.all_node_uuids
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#all_node_uuids
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_migration.TLMigrateInstance.nodes_ip
ganeti.cmdlib.instance_migration.TLMigrateInstance.html#nodes_ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation._IsInstanceUserDown
ganeti.cmdlib.instance_operation.html#_IsInstanceUserDown
Function
Function
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceStartup
ganeti.cmdlib.instance_operation.LUInstanceStartup.html
Class
Class
PUBLIC
Starts an instance.
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.HPATH
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.REQ_BGL
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.CheckArguments
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.ExpandNames
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.DeclareLocks
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.BuildHooksEnv
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.BuildHooksNodes
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.CheckPrereq
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.instance
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.primary_offline
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#primary_offline
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceStartup.Exec
ganeti.cmdlib.instance_operation.LUInstanceStartup.html#Exec
Function
Method
PUBLIC
Start the instance.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html
Class
Class
PUBLIC
Shutdown an instance.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.HPATH
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.REQ_BGL
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.ExpandNames
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.CheckArguments
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#CheckArguments
Function
Method
PUBLIC
Check arguments.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.BuildHooksEnv
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.BuildHooksNodes
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.CheckPrereq
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.instance
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.primary_offline
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#primary_offline
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceShutdown.Exec
ganeti.cmdlib.instance_operation.LUInstanceShutdown.html#Exec
Function
Method
PUBLIC
Shutdown the instance.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html
Class
Class
PUBLIC
Reinstall an instance.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.HPATH
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.REQ_BGL
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.CheckArguments
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.ExpandNames
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.BuildHooksEnv
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.BuildHooksNodes
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.CheckPrereq
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.instance
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall._MergeValidateOsParams
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#_MergeValidateOsParams
Function
Method
PRIVATE
Handle the OS parameter merging and validation for the target instance.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.osparams
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#osparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.osparams_private
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#osparams_private
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.osparams_secret
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#osparams_secret
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall._ReinstallOSScripts
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#_ReinstallOSScripts
Function
Method
PRIVATE
Reinstall OS scripts on an instance.
-
ganeti.cmdlib.instance_operation.LUInstanceReinstall.Exec
ganeti.cmdlib.instance_operation.LUInstanceReinstall.html#Exec
Function
Method
PUBLIC
Reinstall the instance.
-
ganeti.cmdlib.instance_operation.LUInstanceReboot
ganeti.cmdlib.instance_operation.LUInstanceReboot.html
Class
Class
PUBLIC
Reboot an instance.
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.HPATH
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.REQ_BGL
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.ExpandNames
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.BuildHooksEnv
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.BuildHooksNodes
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.CheckPrereq
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.instance
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceReboot.Exec
ganeti.cmdlib.instance_operation.LUInstanceReboot.html#Exec
Function
Method
PUBLIC
Reboot the instance.
-
ganeti.cmdlib.instance_operation.GetInstanceConsole
ganeti.cmdlib.instance_operation.html#GetInstanceConsole
Function
Function
PUBLIC
Returns console information for an instance.
-
ganeti.cmdlib.instance_operation.LUInstanceConsole
ganeti.cmdlib.instance_operation.LUInstanceConsole.html
Class
Class
PUBLIC
Connect to an instance's console.
-
ganeti.cmdlib.instance_operation.LUInstanceConsole.REQ_BGL
ganeti.cmdlib.instance_operation.LUInstanceConsole.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceConsole.ExpandNames
ganeti.cmdlib.instance_operation.LUInstanceConsole.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_operation.LUInstanceConsole.share_locks
ganeti.cmdlib.instance_operation.LUInstanceConsole.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceConsole.CheckPrereq
ganeti.cmdlib.instance_operation.LUInstanceConsole.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_operation.LUInstanceConsole.instance
ganeti.cmdlib.instance_operation.LUInstanceConsole.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_operation.LUInstanceConsole.Exec
ganeti.cmdlib.instance_operation.LUInstanceConsole.html#Exec
Function
Method
PUBLIC
Connect to the console of an instance
-
ganeti.cmdlib.instance_set_params.InstNicModPrivate
ganeti.cmdlib.instance_set_params.InstNicModPrivate.html
Class
Class
PUBLIC
Data structure for network interface modifications.
-
ganeti.cmdlib.instance_set_params.InstNicModPrivate.__init__
ganeti.cmdlib.instance_set_params.InstNicModPrivate.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.InstNicModPrivate.params
ganeti.cmdlib.instance_set_params.InstNicModPrivate.html#params
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.InstNicModPrivate.filled
ganeti.cmdlib.instance_set_params.InstNicModPrivate.html#filled
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html
Class
Class
PUBLIC
Modifies an instances's parameters.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.HPATH
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.REQ_BGL
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.GenericGetDiskInfo
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#GenericGetDiskInfo
Function
Method
PUBLIC
Find a disk object using the provided params.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._UpgradeDiskNicMods
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_UpgradeDiskNicMods
Function
Static Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._CheckMods
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_CheckMods
Function
Static Method
PRIVATE
Ensures requested disk/NIC modifications are valid.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._VerifyDiskModification
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_VerifyDiskModification
Function
Method
PRIVATE
Verifies a disk modification.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._VerifyNicModification
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_VerifyNicModification
Function
Static Method
PRIVATE
Verifies a network interface modification.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._LookupDiskIndex
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_LookupDiskIndex
Function
Method
PRIVATE
Looks up uuid or name of disk if necessary.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._LookupDiskMods
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_LookupDiskMods
Function
Method
PRIVATE
Looks up uuid or name of disk if necessary.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.CheckArguments
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._CheckAttachDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_CheckAttachDisk
Function
Method
PRIVATE
Check if disk can be attached to an instance.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.ExpandNames
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.DeclareLocks
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.BuildHooksEnv
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.BuildHooksNodes
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._PrepareNicModification
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_PrepareNicModification
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._PreCheckDiskTemplate
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_PreCheckDiskTemplate
Function
Method
PRIVATE
CheckPrereq checks related to a new disk template.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.disks_info
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#disks_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._PreCheckDisks
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_PreCheckDisks
Function
Method
PRIVATE
CheckPrereq checks related to disk changes.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.diskparams
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#diskparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.diskmod
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#diskmod
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._InstanceCommunicationDDM
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_InstanceCommunicationDDM
Function
Static Method
PRIVATE
Create a NIC mod that adds or removes the instance communication NIC to a running instance.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._GetInstanceInfo
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_GetInstanceInfo
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._CheckHotplug
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_CheckHotplug
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._PrepareNicCommunication
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_PrepareNicCommunication
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.nicmod
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#nicmod
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ProcessHVParams
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ProcessHVParams
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.hv_proposed
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#hv_proposed
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.hv_new
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#hv_new
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.hv_inst
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#hv_inst
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ProcessBeParams
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ProcessBeParams
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.be_proposed
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#be_proposed
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.be_new
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#be_new
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.be_inst
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#be_inst
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ValidateCpuParams
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ValidateCpuParams
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ProcessOsParams
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ProcessOsParams
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.os_inst
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#os_inst
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.os_inst_private
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#os_inst_private
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ProcessMem
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ProcessMem
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.CheckPrereq
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.instance
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.cluster
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#cluster
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.warn
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#warn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._nic_chgdesc
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_nic_chgdesc
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._new_nics
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_new_nics
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ConvertInstanceDisks
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ConvertInstanceDisks
Function
Method
PRIVATE
Converts the disks of an instance to another type.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ConvertPlainToDrbd
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ConvertPlainToDrbd
Function
Method
PRIVATE
Converts an instance from plain to drbd.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ConvertDrbdToPlain
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ConvertDrbdToPlain
Function
Method
PRIVATE
Converts an instance from drbd to plain.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._HotplugDevice
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_HotplugDevice
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._FillFileDriver
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_FillFileDriver
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._GenerateDiskTemplateWrapper
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_GenerateDiskTemplateWrapper
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._CreateNewDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_CreateNewDisk
Function
Method
PRIVATE
Creates a new disk.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._PostAddDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_PostAddDisk
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._AttachDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_AttachDisk
Function
Method
PRIVATE
Attaches an existing disk to an instance.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ModifyDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ModifyDisk
Function
Method
PRIVATE
Modifies a disk.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._RemoveDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_RemoveDisk
Function
Method
PRIVATE
Removes a disk.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._DetachDisk
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_DetachDisk
Function
Method
PRIVATE
Detaches a disk from an instance.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._CreateNewNic
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_CreateNewNic
Function
Method
PRIVATE
Creates data structure for a new network interface.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._ApplyNicMods
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_ApplyNicMods
Function
Method
PRIVATE
Modifies a network interface.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._RemoveNic
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_RemoveNic
Function
Method
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.Exec
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#Exec
Function
Method
PUBLIC
Modifies an instance.
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.feedback_fn
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_set_params.LUInstanceSetParams._DISK_CONVERSIONS
ganeti.cmdlib.instance_set_params.LUInstanceSetParams.html#_DISK_CONVERSIONS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.instance_query.LUInstanceQueryData
ganeti.cmdlib.instance_query.LUInstanceQueryData.html
Class
Class
PUBLIC
Query runtime instance data.
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.REQ_BGL
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.ExpandNames
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.needed_locks
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.wanted_names
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#wanted_names
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.share_locks
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.DeclareLocks
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.CheckPrereq
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.wanted_instances
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#wanted_instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.instance_query.LUInstanceQueryData._ComputeBlockdevStatus
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#_ComputeBlockdevStatus
Function
Method
PRIVATE
Returns the status of a block device
-
ganeti.cmdlib.instance_query.LUInstanceQueryData._ComputeDiskStatus
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#_ComputeDiskStatus
Function
Method
PRIVATE
Compute block device status.
-
ganeti.cmdlib.instance_query.LUInstanceQueryData._ComputeDiskStatusInner
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#_ComputeDiskStatusInner
Function
Method
PRIVATE
Compute block device status.
-
ganeti.cmdlib.instance_query.LUInstanceQueryData.Exec
ganeti.cmdlib.instance_query.LUInstanceQueryData.html#Exec
Function
Method
PUBLIC
Gather and return data
-
ganeti.cmdlib.backup.LUBackupPrepare
ganeti.cmdlib.backup.LUBackupPrepare.html
Class
Class
PUBLIC
Prepares an instance for an export and returns useful information.
-
ganeti.cmdlib.backup.LUBackupPrepare.REQ_BGL
ganeti.cmdlib.backup.LUBackupPrepare.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupPrepare.ExpandNames
ganeti.cmdlib.backup.LUBackupPrepare.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.backup.LUBackupPrepare.CheckPrereq
ganeti.cmdlib.backup.LUBackupPrepare.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.backup.LUBackupPrepare.instance
ganeti.cmdlib.backup.LUBackupPrepare.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupPrepare._cds
ganeti.cmdlib.backup.LUBackupPrepare.html#_cds
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.backup.LUBackupPrepare.Exec
ganeti.cmdlib.backup.LUBackupPrepare.html#Exec
Function
Method
PUBLIC
Prepares an instance for an export.
-
ganeti.cmdlib.backup.LUBackupExport
ganeti.cmdlib.backup.LUBackupExport.html
Class
Class
PUBLIC
Export an instance to an image in the cluster.
-
ganeti.cmdlib.backup.LUBackupExport.HPATH
ganeti.cmdlib.backup.LUBackupExport.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.REQ_BGL
ganeti.cmdlib.backup.LUBackupExport.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.CheckArguments
ganeti.cmdlib.backup.LUBackupExport.html#CheckArguments
Function
Method
PUBLIC
Check the arguments.
-
ganeti.cmdlib.backup.LUBackupExport.x509_key_name
ganeti.cmdlib.backup.LUBackupExport.html#x509_key_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.dest_x509_ca_pem
ganeti.cmdlib.backup.LUBackupExport.html#dest_x509_ca_pem
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.ExpandNames
ganeti.cmdlib.backup.LUBackupExport.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.backup.LUBackupExport.recalculate_locks
ganeti.cmdlib.backup.LUBackupExport.html#recalculate_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.DeclareLocks
ganeti.cmdlib.backup.LUBackupExport.html#DeclareLocks
Function
Method
PUBLIC
Last minute lock declaration.
-
ganeti.cmdlib.backup.LUBackupExport.BuildHooksEnv
ganeti.cmdlib.backup.LUBackupExport.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.backup.LUBackupExport.BuildHooksNodes
ganeti.cmdlib.backup.LUBackupExport.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.backup.LUBackupExport.CheckPrereq
ganeti.cmdlib.backup.LUBackupExport.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.backup.LUBackupExport.instance
ganeti.cmdlib.backup.LUBackupExport.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.dst_node
ganeti.cmdlib.backup.LUBackupExport.html#dst_node
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport._cds
ganeti.cmdlib.backup.LUBackupExport.html#_cds
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.dest_disk_info
ganeti.cmdlib.backup.LUBackupExport.html#dest_disk_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.dest_x509_ca
ganeti.cmdlib.backup.LUBackupExport.html#dest_x509_ca
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.secondary_nodes
ganeti.cmdlib.backup.LUBackupExport.html#secondary_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport.inst_disks
ganeti.cmdlib.backup.LUBackupExport.html#inst_disks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupExport._CleanupExports
ganeti.cmdlib.backup.LUBackupExport.html#_CleanupExports
Function
Method
PRIVATE
Removes exports of current instance from all other nodes.
-
ganeti.cmdlib.backup.LUBackupExport._InstanceDiskSizeSum
ganeti.cmdlib.backup.LUBackupExport.html#_InstanceDiskSizeSum
Function
Method
PRIVATE
Calculates the size of all the disks of the instance used in this LU.
-
ganeti.cmdlib.backup.LUBackupExport.ZeroFreeSpace
ganeti.cmdlib.backup.LUBackupExport.html#ZeroFreeSpace
Function
Method
PUBLIC
Zeroes the free space on a shutdown instance.
-
ganeti.cmdlib.backup.LUBackupExport.StartInstance
ganeti.cmdlib.backup.LUBackupExport.html#StartInstance
Function
Method
PUBLIC
Send the node instructions to start the instance.
-
ganeti.cmdlib.backup.LUBackupExport.TrySnapshot
ganeti.cmdlib.backup.LUBackupExport.html#TrySnapshot
Function
Method
PUBLIC
Returns true if there is a reason to prefer a snapshot.
-
ganeti.cmdlib.backup.LUBackupExport.DoReboot
ganeti.cmdlib.backup.LUBackupExport.html#DoReboot
Function
Method
PUBLIC
Returns true iff the instance needs to be started after transfer.
-
ganeti.cmdlib.backup.LUBackupExport.Exec
ganeti.cmdlib.backup.LUBackupExport.html#Exec
Function
Method
PUBLIC
Export an instance to an image in the cluster.
-
ganeti.cmdlib.backup.LUBackupRemove
ganeti.cmdlib.backup.LUBackupRemove.html
Class
Class
PUBLIC
Remove exports related to the named instance.
-
ganeti.cmdlib.backup.LUBackupRemove.REQ_BGL
ganeti.cmdlib.backup.LUBackupRemove.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupRemove.ExpandNames
ganeti.cmdlib.backup.LUBackupRemove.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.backup.LUBackupRemove.needed_locks
ganeti.cmdlib.backup.LUBackupRemove.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.backup.LUBackupRemove.Exec
ganeti.cmdlib.backup.LUBackupRemove.html#Exec
Function
Method
PUBLIC
Remove any export.
-
ganeti.cmdlib.misc.LUOobCommand
ganeti.cmdlib.misc.LUOobCommand.html
Class
Class
PUBLIC
Logical unit for OOB handling.
-
ganeti.cmdlib.misc.LUOobCommand.REQ_BGL
ganeti.cmdlib.misc.LUOobCommand.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LUOobCommand._SKIP_MASTER
ganeti.cmdlib.misc.LUOobCommand.html#_SKIP_MASTER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.misc.LUOobCommand.ExpandNames
ganeti.cmdlib.misc.LUOobCommand.html#ExpandNames
Function
Method
PUBLIC
Gather locks we need.
-
ganeti.cmdlib.misc.LUOobCommand.needed_locks
ganeti.cmdlib.misc.LUOobCommand.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LUOobCommand.CheckPrereq
ganeti.cmdlib.misc.LUOobCommand.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.misc.LUOobCommand.nodes
ganeti.cmdlib.misc.LUOobCommand.html#nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LUOobCommand.master_node_uuid
ganeti.cmdlib.misc.LUOobCommand.html#master_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LUOobCommand.Exec
ganeti.cmdlib.misc.LUOobCommand.html#Exec
Function
Method
PUBLIC
Execute OOB and return result if we expect any.
-
ganeti.cmdlib.misc.LUOobCommand._CheckPayload
ganeti.cmdlib.misc.LUOobCommand.html#_CheckPayload
Function
Method
PRIVATE
Checks if the payload is valid.
-
ganeti.cmdlib.misc.ExtStorageQuery
ganeti.cmdlib.misc.ExtStorageQuery.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 1/3 method, 1/1 static method documented
-
ganeti.cmdlib.misc.ExtStorageQuery.ExpandNames
ganeti.cmdlib.misc.ExtStorageQuery.html#ExpandNames
Function
Method
PUBLIC
Expand names for this query.
-
ganeti.cmdlib.misc.ExtStorageQuery.wanted
ganeti.cmdlib.misc.ExtStorageQuery.html#wanted
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.ExtStorageQuery.do_locking
ganeti.cmdlib.misc.ExtStorageQuery.html#do_locking
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.ExtStorageQuery.DeclareLocks
ganeti.cmdlib.misc.ExtStorageQuery.html#DeclareLocks
Function
Method
PUBLIC
Declare locks for this query.
-
ganeti.cmdlib.misc.ExtStorageQuery._DiagnoseByProvider
ganeti.cmdlib.misc.ExtStorageQuery.html#_DiagnoseByProvider
Function
Static Method
PRIVATE
Remaps a per-node return list into an a per-provider per-node dictionary
-
ganeti.cmdlib.misc.ExtStorageQuery._GetQueryData
ganeti.cmdlib.misc.ExtStorageQuery.html#_GetQueryData
Function
Method
PRIVATE
Computes the list of nodes and their attributes.
-
ganeti.cmdlib.misc.LUExtStorageDiagnose
ganeti.cmdlib.misc.LUExtStorageDiagnose.html
Class
Class
PUBLIC
Logical unit for ExtStorage diagnose/query.
-
ganeti.cmdlib.misc.LUExtStorageDiagnose.REQ_BGL
ganeti.cmdlib.misc.LUExtStorageDiagnose.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LUExtStorageDiagnose.CheckArguments
ganeti.cmdlib.misc.LUExtStorageDiagnose.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.misc.LUExtStorageDiagnose.eq
ganeti.cmdlib.misc.LUExtStorageDiagnose.html#eq
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LUExtStorageDiagnose.ExpandNames
ganeti.cmdlib.misc.LUExtStorageDiagnose.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.misc.LUExtStorageDiagnose.Exec
ganeti.cmdlib.misc.LUExtStorageDiagnose.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.misc.LURestrictedCommand
ganeti.cmdlib.misc.LURestrictedCommand.html
Class
Class
PUBLIC
Logical unit for executing restricted commands.
-
ganeti.cmdlib.misc.LURestrictedCommand.REQ_BGL
ganeti.cmdlib.misc.LURestrictedCommand.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LURestrictedCommand.ExpandNames
ganeti.cmdlib.misc.LURestrictedCommand.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.misc.LURestrictedCommand.needed_locks
ganeti.cmdlib.misc.LURestrictedCommand.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LURestrictedCommand.share_locks
ganeti.cmdlib.misc.LURestrictedCommand.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.misc.LURestrictedCommand.CheckPrereq
ganeti.cmdlib.misc.LURestrictedCommand.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.misc.LURestrictedCommand.Exec
ganeti.cmdlib.misc.LURestrictedCommand.html#Exec
Function
Method
PUBLIC
Execute restricted command and return output.
-
ganeti.cmdlib.operating_system.OsQuery
ganeti.cmdlib.operating_system.OsQuery.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 1/3 method, 1/1 static method documented
-
ganeti.cmdlib.operating_system.OsQuery.ExpandNames
ganeti.cmdlib.operating_system.OsQuery.html#ExpandNames
Function
Method
PUBLIC
Expand names for this query.
-
ganeti.cmdlib.operating_system.OsQuery.wanted
ganeti.cmdlib.operating_system.OsQuery.html#wanted
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.operating_system.OsQuery.do_locking
ganeti.cmdlib.operating_system.OsQuery.html#do_locking
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.operating_system.OsQuery.DeclareLocks
ganeti.cmdlib.operating_system.OsQuery.html#DeclareLocks
Function
Method
PUBLIC
Declare locks for this query.
-
ganeti.cmdlib.operating_system.OsQuery._DiagnoseByOS
ganeti.cmdlib.operating_system.OsQuery.html#_DiagnoseByOS
Function
Static Method
PRIVATE
Remaps a per-node return list into a per-os per-node dictionary
-
ganeti.cmdlib.operating_system.OsQuery._GetQueryData
ganeti.cmdlib.operating_system.OsQuery.html#_GetQueryData
Function
Method
PRIVATE
Computes the list of nodes and their attributes.
-
ganeti.cmdlib.operating_system.LUOsDiagnose
ganeti.cmdlib.operating_system.LUOsDiagnose.html
Class
Class
PUBLIC
Logical unit for OS diagnose/query.
-
ganeti.cmdlib.operating_system.LUOsDiagnose.REQ_BGL
ganeti.cmdlib.operating_system.LUOsDiagnose.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.operating_system.LUOsDiagnose._BuildFilter
ganeti.cmdlib.operating_system.LUOsDiagnose.html#_BuildFilter
Function
Static Method
PRIVATE
Builds a filter for querying OSes.
-
ganeti.cmdlib.operating_system.LUOsDiagnose.CheckArguments
ganeti.cmdlib.operating_system.LUOsDiagnose.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.operating_system.LUOsDiagnose.oq
ganeti.cmdlib.operating_system.LUOsDiagnose.html#oq
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.operating_system.LUOsDiagnose.ExpandNames
ganeti.cmdlib.operating_system.LUOsDiagnose.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.operating_system.LUOsDiagnose.Exec
ganeti.cmdlib.operating_system.LUOsDiagnose.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.query._QUERY_IMPL
ganeti.cmdlib.query.html#_QUERY_IMPL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.query._GetQueryImplementation
ganeti.cmdlib.query.html#_GetQueryImplementation
Function
Function
PRIVATE
Returns the implementation for a query type.
-
ganeti.cmdlib.query.LUQuery
ganeti.cmdlib.query.LUQuery.html
Class
Class
PUBLIC
Query for resources/items of a certain kind.
-
ganeti.cmdlib.query.LUQuery.REQ_BGL
ganeti.cmdlib.query.LUQuery.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.query.LUQuery.CheckArguments
ganeti.cmdlib.query.LUQuery.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.query.LUQuery.impl
ganeti.cmdlib.query.LUQuery.html#impl
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.query.LUQuery.ExpandNames
ganeti.cmdlib.query.LUQuery.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.query.LUQuery.DeclareLocks
ganeti.cmdlib.query.LUQuery.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.query.LUQuery.Exec
ganeti.cmdlib.query.LUQuery.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.query.LUQueryFields
ganeti.cmdlib.query.LUQueryFields.html
Class
Class
PUBLIC
Query for resources/items of a certain kind.
-
ganeti.cmdlib.query.LUQueryFields.REQ_BGL
ganeti.cmdlib.query.LUQueryFields.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.query.LUQueryFields.CheckArguments
ganeti.cmdlib.query.LUQueryFields.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.query.LUQueryFields.qcls
ganeti.cmdlib.query.LUQueryFields.html#qcls
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.query.LUQueryFields.ExpandNames
ganeti.cmdlib.query.LUQueryFields.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.query.LUQueryFields.needed_locks
ganeti.cmdlib.query.LUQueryFields.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.query.LUQueryFields.Exec
ganeti.cmdlib.query.LUQueryFields.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.tags.TagsLU
ganeti.cmdlib.tags.TagsLU.html
Class
Class
PUBLIC
Generic tags LU.
-
ganeti.cmdlib.tags.TagsLU.ExpandNames
ganeti.cmdlib.tags.TagsLU.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.tags.TagsLU.group_uuid
ganeti.cmdlib.tags.TagsLU.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.TagsLU.needed_locks
ganeti.cmdlib.tags.TagsLU.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.TagsLU.node_uuid
ganeti.cmdlib.tags.TagsLU.html#node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.TagsLU.CheckPrereq
ganeti.cmdlib.tags.TagsLU.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.tags.TagsLU.target
ganeti.cmdlib.tags.TagsLU.html#target
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsGet
ganeti.cmdlib.tags.LUTagsGet.html
Class
Class
PUBLIC
Returns the tags of a given object.
-
ganeti.cmdlib.tags.LUTagsGet.REQ_BGL
ganeti.cmdlib.tags.LUTagsGet.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsGet.ExpandNames
ganeti.cmdlib.tags.LUTagsGet.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.tags.LUTagsGet.share_locks
ganeti.cmdlib.tags.LUTagsGet.html#share_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsGet.Exec
ganeti.cmdlib.tags.LUTagsGet.html#Exec
Function
Method
PUBLIC
Returns the tag list.
-
ganeti.cmdlib.tags.LUTagsSearch
ganeti.cmdlib.tags.LUTagsSearch.html
Class
Class
PUBLIC
Searches the tags for a given pattern.
-
ganeti.cmdlib.tags.LUTagsSearch.REQ_BGL
ganeti.cmdlib.tags.LUTagsSearch.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsSearch.ExpandNames
ganeti.cmdlib.tags.LUTagsSearch.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.tags.LUTagsSearch.needed_locks
ganeti.cmdlib.tags.LUTagsSearch.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsSearch.CheckPrereq
ganeti.cmdlib.tags.LUTagsSearch.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.tags.LUTagsSearch.re
ganeti.cmdlib.tags.LUTagsSearch.html#re
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsSearch._ExtendTagTargets
ganeti.cmdlib.tags.LUTagsSearch.html#_ExtendTagTargets
Function
Static Method
PRIVATE
Undocumented
-
ganeti.cmdlib.tags.LUTagsSearch.Exec
ganeti.cmdlib.tags.LUTagsSearch.html#Exec
Function
Method
PUBLIC
Returns the tag list.
-
ganeti.cmdlib.tags.LUTagsSet
ganeti.cmdlib.tags.LUTagsSet.html
Class
Class
PUBLIC
Sets a tag on a given object.
-
ganeti.cmdlib.tags.LUTagsSet.REQ_BGL
ganeti.cmdlib.tags.LUTagsSet.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsSet.CheckPrereq
ganeti.cmdlib.tags.LUTagsSet.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.tags.LUTagsSet.Exec
ganeti.cmdlib.tags.LUTagsSet.html#Exec
Function
Method
PUBLIC
Sets the tag.
-
ganeti.cmdlib.tags.LUTagsDel
ganeti.cmdlib.tags.LUTagsDel.html
Class
Class
PUBLIC
Delete a list of tags from a given object.
-
ganeti.cmdlib.tags.LUTagsDel.REQ_BGL
ganeti.cmdlib.tags.LUTagsDel.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.tags.LUTagsDel.CheckPrereq
ganeti.cmdlib.tags.LUTagsDel.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.tags.LUTagsDel.Exec
ganeti.cmdlib.tags.LUTagsDel.html#Exec
Function
Method
PUBLIC
Remove the tag from the object.
-
ganeti.network._ComputeIpv4NumHosts
ganeti.network.html#_ComputeIpv4NumHosts
Function
Function
PRIVATE
Derives the number of hosts in an IPv4 network from the size.
-
ganeti.network.IPV4_NETWORK_MIN_SIZE
ganeti.network.html#IPV4_NETWORK_MIN_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.network.IPV4_NETWORK_MAX_SIZE
ganeti.network.html#IPV4_NETWORK_MAX_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.network.IPV4_NETWORK_MIN_NUM_HOSTS
ganeti.network.html#IPV4_NETWORK_MIN_NUM_HOSTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.network.IPV4_NETWORK_MAX_NUM_HOSTS
ganeti.network.html#IPV4_NETWORK_MAX_NUM_HOSTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.network.AddressPool
ganeti.network.AddressPool.html
Class
Class
PUBLIC
Address pool class, wrapping an objects.Network object.
-
ganeti.network.AddressPool.FREE
ganeti.network.AddressPool.html#FREE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.network.AddressPool.RESERVED
ganeti.network.AddressPool.html#RESERVED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.network.AddressPool.__init__
ganeti.network.AddressPool.html#__init__
Function
Method
PUBLIC
-
ganeti.network.AddressPool.network
ganeti.network.AddressPool.html#network
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.gateway
ganeti.network.AddressPool.html#gateway
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.network6
ganeti.network.AddressPool.html#network6
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.gateway6
ganeti.network.AddressPool.html#gateway6
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.net
ganeti.network.AddressPool.html#net
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.reservations
ganeti.network.AddressPool.html#reservations
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.ext_reservations
ganeti.network.AddressPool.html#ext_reservations
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.network.AddressPool.Contains
ganeti.network.AddressPool.html#Contains
Function
Method
PUBLIC
Undocumented
-
ganeti.network.AddressPool._GetAddrIndex
ganeti.network.AddressPool.html#_GetAddrIndex
Function
Method
PRIVATE
Undocumented
-
ganeti.network.AddressPool.Update
ganeti.network.AddressPool.html#Update
Function
Method
PUBLIC
Write address pools back to the network object.
-
ganeti.network.AddressPool._Mark
ganeti.network.AddressPool.html#_Mark
Function
Method
PRIVATE
Undocumented
-
ganeti.network.AddressPool._GetSize
ganeti.network.AddressPool.html#_GetSize
Function
Method
PRIVATE
Undocumented
-
ganeti.network.AddressPool.all_reservations
ganeti.network.AddressPool.html#all_reservations
Attribute
Property
PUBLIC
Return a combined map of internal and external reservations.
-
ganeti.network.AddressPool.Validate
ganeti.network.AddressPool.html#Validate
Function
Method
PUBLIC
Undocumented
-
ganeti.network.AddressPool.IsFull
ganeti.network.AddressPool.html#IsFull
Function
Method
PUBLIC
Check whether the network is full.
-
ganeti.network.AddressPool.GetReservedCount
ganeti.network.AddressPool.html#GetReservedCount
Function
Method
PUBLIC
Get the count of reserved addresses.
-
ganeti.network.AddressPool.GetFreeCount
ganeti.network.AddressPool.html#GetFreeCount
Function
Method
PUBLIC
Get the count of unused addresses.
-
ganeti.network.AddressPool.GetMap
ganeti.network.AddressPool.html#GetMap
Function
Method
PUBLIC
Return a textual representation of the network's occupation status.
-
ganeti.network.AddressPool.IsReserved
ganeti.network.AddressPool.html#IsReserved
Function
Method
PUBLIC
Checks if the given IP is reserved.
-
ganeti.network.AddressPool.Reserve
ganeti.network.AddressPool.html#Reserve
Function
Method
PUBLIC
Mark an address as used.
-
ganeti.network.AddressPool.Release
ganeti.network.AddressPool.html#Release
Function
Method
PUBLIC
Release a given address reservation.
-
ganeti.network.AddressPool.GetFreeAddress
ganeti.network.AddressPool.html#GetFreeAddress
Function
Method
PUBLIC
Returns the first available address.
-
ganeti.network.AddressPool.GenerateFree
ganeti.network.AddressPool.html#GenerateFree
Function
Method
PUBLIC
Returns the first free address of the network.
-
ganeti.network.AddressPool.GetExternalReservations
ganeti.network.AddressPool.html#GetExternalReservations
Function
Method
PUBLIC
Returns a list of all externally reserved addresses.
-
ganeti.network.AddressPool.InitializeNetwork
ganeti.network.AddressPool.html#InitializeNetwork
Function
Class Method
PUBLIC
-
ganeti.cmdlib.network._BuildNetworkHookEnv
ganeti.cmdlib.network.html#_BuildNetworkHookEnv
Function
Function
PRIVATE
Builds network related env variables for hooks
-
ganeti.cmdlib.network.LUNetworkAdd
ganeti.cmdlib.network.LUNetworkAdd.html
Class
Class
PUBLIC
Logical unit for creating networks.
-
ganeti.cmdlib.network.LUNetworkAdd.HPATH
ganeti.cmdlib.network.LUNetworkAdd.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkAdd.REQ_BGL
ganeti.cmdlib.network.LUNetworkAdd.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkAdd.BuildHooksNodes
ganeti.cmdlib.network.LUNetworkAdd.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.network.LUNetworkAdd.CheckArguments
ganeti.cmdlib.network.LUNetworkAdd.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.network.LUNetworkAdd.ExpandNames
ganeti.cmdlib.network.LUNetworkAdd.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.network.LUNetworkAdd.network_uuid
ganeti.cmdlib.network.LUNetworkAdd.html#network_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkAdd.needed_locks
ganeti.cmdlib.network.LUNetworkAdd.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkAdd.CheckPrereq
ganeti.cmdlib.network.LUNetworkAdd.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.network.LUNetworkAdd.BuildHooksEnv
ganeti.cmdlib.network.LUNetworkAdd.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.network.LUNetworkAdd.Exec
ganeti.cmdlib.network.LUNetworkAdd.html#Exec
Function
Method
PUBLIC
Add the ip pool to the cluster.
-
ganeti.cmdlib.network.LUNetworkRemove
ganeti.cmdlib.network.LUNetworkRemove.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 0/2 constant, 4/5 methods documented
-
ganeti.cmdlib.network.LUNetworkRemove.HPATH
ganeti.cmdlib.network.LUNetworkRemove.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRemove.REQ_BGL
ganeti.cmdlib.network.LUNetworkRemove.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRemove.ExpandNames
ganeti.cmdlib.network.LUNetworkRemove.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.network.LUNetworkRemove.network_uuid
ganeti.cmdlib.network.LUNetworkRemove.html#network_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRemove.needed_locks
ganeti.cmdlib.network.LUNetworkRemove.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRemove.CheckPrereq
ganeti.cmdlib.network.LUNetworkRemove.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.network.LUNetworkRemove.BuildHooksEnv
ganeti.cmdlib.network.LUNetworkRemove.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.network.LUNetworkRemove.BuildHooksNodes
ganeti.cmdlib.network.LUNetworkRemove.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.network.LUNetworkRemove.Exec
ganeti.cmdlib.network.LUNetworkRemove.html#Exec
Function
Method
PUBLIC
Remove the network.
-
ganeti.cmdlib.network.LUNetworkRename
ganeti.cmdlib.network.LUNetworkRename.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 0/2 constant, 4/5 methods documented
-
ganeti.cmdlib.network.LUNetworkRename.HPATH
ganeti.cmdlib.network.LUNetworkRename.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRename.REQ_BGL
ganeti.cmdlib.network.LUNetworkRename.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRename.ExpandNames
ganeti.cmdlib.network.LUNetworkRename.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.network.LUNetworkRename.network_uuid
ganeti.cmdlib.network.LUNetworkRename.html#network_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRename.needed_locks
ganeti.cmdlib.network.LUNetworkRename.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkRename.CheckPrereq
ganeti.cmdlib.network.LUNetworkRename.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.network.LUNetworkRename.BuildHooksEnv
ganeti.cmdlib.network.LUNetworkRename.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.network.LUNetworkRename.BuildHooksNodes
ganeti.cmdlib.network.LUNetworkRename.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.network.LUNetworkRename.Exec
ganeti.cmdlib.network.LUNetworkRename.html#Exec
Function
Method
PUBLIC
Rename the network.
-
ganeti.cmdlib.network.LUNetworkSetParams
ganeti.cmdlib.network.LUNetworkSetParams.html
Class
Class
PUBLIC
Modifies the parameters of a network.
-
ganeti.cmdlib.network.LUNetworkSetParams.HPATH
ganeti.cmdlib.network.LUNetworkSetParams.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.REQ_BGL
ganeti.cmdlib.network.LUNetworkSetParams.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.CheckArguments
ganeti.cmdlib.network.LUNetworkSetParams.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.network.LUNetworkSetParams.ExpandNames
ganeti.cmdlib.network.LUNetworkSetParams.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.network.LUNetworkSetParams.network_uuid
ganeti.cmdlib.network.LUNetworkSetParams.html#network_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.needed_locks
ganeti.cmdlib.network.LUNetworkSetParams.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.CheckPrereq
ganeti.cmdlib.network.LUNetworkSetParams.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.network.LUNetworkSetParams.network
ganeti.cmdlib.network.LUNetworkSetParams.html#network
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.gateway
ganeti.cmdlib.network.LUNetworkSetParams.html#gateway
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.mac_prefix
ganeti.cmdlib.network.LUNetworkSetParams.html#mac_prefix
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.network6
ganeti.cmdlib.network.LUNetworkSetParams.html#network6
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.gateway6
ganeti.cmdlib.network.LUNetworkSetParams.html#gateway6
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.tags
ganeti.cmdlib.network.LUNetworkSetParams.html#tags
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.pool
ganeti.cmdlib.network.LUNetworkSetParams.html#pool
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkSetParams.BuildHooksEnv
ganeti.cmdlib.network.LUNetworkSetParams.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks env.
-
ganeti.cmdlib.network.LUNetworkSetParams.BuildHooksNodes
ganeti.cmdlib.network.LUNetworkSetParams.html#BuildHooksNodes
Function
Method
PUBLIC
Build hooks nodes.
-
ganeti.cmdlib.network.LUNetworkSetParams.Exec
ganeti.cmdlib.network.LUNetworkSetParams.html#Exec
Function
Method
PUBLIC
Modifies the network.
-
ganeti.cmdlib.network._FmtNetworkConflict
ganeti.cmdlib.network.html#_FmtNetworkConflict
Function
Function
PRIVATE
-
ganeti.cmdlib.network._NetworkConflictCheck
ganeti.cmdlib.network.html#_NetworkConflictCheck
Function
Function
PRIVATE
Checks for network interface conflicts with a network.
-
ganeti.cmdlib.network.LUNetworkConnect
ganeti.cmdlib.network.LUNetworkConnect.html
Class
Class
PUBLIC
Connect a network to a nodegroup
-
ganeti.cmdlib.network.LUNetworkConnect.HPATH
ganeti.cmdlib.network.LUNetworkConnect.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.REQ_BGL
ganeti.cmdlib.network.LUNetworkConnect.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.ExpandNames
ganeti.cmdlib.network.LUNetworkConnect.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.network.LUNetworkConnect.network_name
ganeti.cmdlib.network.LUNetworkConnect.html#network_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.group_name
ganeti.cmdlib.network.LUNetworkConnect.html#group_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.network_mode
ganeti.cmdlib.network.LUNetworkConnect.html#network_mode
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.network_link
ganeti.cmdlib.network.LUNetworkConnect.html#network_link
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.network_vlan
ganeti.cmdlib.network.LUNetworkConnect.html#network_vlan
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.network_uuid
ganeti.cmdlib.network.LUNetworkConnect.html#network_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.group_uuid
ganeti.cmdlib.network.LUNetworkConnect.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.needed_locks
ganeti.cmdlib.network.LUNetworkConnect.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.DeclareLocks
ganeti.cmdlib.network.LUNetworkConnect.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.network.LUNetworkConnect.BuildHooksEnv
ganeti.cmdlib.network.LUNetworkConnect.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks environment for this LU.
-
ganeti.cmdlib.network.LUNetworkConnect.BuildHooksNodes
ganeti.cmdlib.network.LUNetworkConnect.html#BuildHooksNodes
Function
Method
PUBLIC
Build list of nodes to run LU's hooks.
-
ganeti.cmdlib.network.LUNetworkConnect.CheckPrereq
ganeti.cmdlib.network.LUNetworkConnect.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.network.LUNetworkConnect.netparams
ganeti.cmdlib.network.LUNetworkConnect.html#netparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.group
ganeti.cmdlib.network.LUNetworkConnect.html#group
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.connected
ganeti.cmdlib.network.LUNetworkConnect.html#connected
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkConnect.Exec
ganeti.cmdlib.network.LUNetworkConnect.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.network.LUNetworkDisconnect
ganeti.cmdlib.network.LUNetworkDisconnect.html
Class
Class
PUBLIC
Disconnect a network to a nodegroup
-
ganeti.cmdlib.network.LUNetworkDisconnect.HPATH
ganeti.cmdlib.network.LUNetworkDisconnect.html#HPATH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.REQ_BGL
ganeti.cmdlib.network.LUNetworkDisconnect.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.ExpandNames
ganeti.cmdlib.network.LUNetworkDisconnect.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.network.LUNetworkDisconnect.network_name
ganeti.cmdlib.network.LUNetworkDisconnect.html#network_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.group_name
ganeti.cmdlib.network.LUNetworkDisconnect.html#group_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.network_uuid
ganeti.cmdlib.network.LUNetworkDisconnect.html#network_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.group_uuid
ganeti.cmdlib.network.LUNetworkDisconnect.html#group_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.needed_locks
ganeti.cmdlib.network.LUNetworkDisconnect.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.DeclareLocks
ganeti.cmdlib.network.LUNetworkDisconnect.html#DeclareLocks
Function
Method
PUBLIC
Declare LU locking needs for a level
-
ganeti.cmdlib.network.LUNetworkDisconnect.BuildHooksEnv
ganeti.cmdlib.network.LUNetworkDisconnect.html#BuildHooksEnv
Function
Method
PUBLIC
Build hooks environment for this LU.
-
ganeti.cmdlib.network.LUNetworkDisconnect.BuildHooksNodes
ganeti.cmdlib.network.LUNetworkDisconnect.html#BuildHooksNodes
Function
Method
PUBLIC
Build list of nodes to run LU's hooks.
-
ganeti.cmdlib.network.LUNetworkDisconnect.CheckPrereq
ganeti.cmdlib.network.LUNetworkDisconnect.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites for this LU.
-
ganeti.cmdlib.network.LUNetworkDisconnect.group
ganeti.cmdlib.network.LUNetworkDisconnect.html#group
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.connected
ganeti.cmdlib.network.LUNetworkDisconnect.html#connected
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.network.LUNetworkDisconnect.Exec
ganeti.cmdlib.network.LUNetworkDisconnect.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.test.TestSocketWrapper
ganeti.cmdlib.test.TestSocketWrapper.html
Class
Class
PUBLIC
Utility class that opens a domain socket and cleans up as needed.
-
ganeti.cmdlib.test.TestSocketWrapper.__init__
ganeti.cmdlib.test.TestSocketWrapper.html#__init__
Function
Method
PUBLIC
Constructor cleaning up variables to be used.
-
ganeti.cmdlib.test.TestSocketWrapper.tmpdir
ganeti.cmdlib.test.TestSocketWrapper.html#tmpdir
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.TestSocketWrapper.sock
ganeti.cmdlib.test.TestSocketWrapper.html#sock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.TestSocketWrapper.Create
ganeti.cmdlib.test.TestSocketWrapper.html#Create
Function
Method
PUBLIC
Creates a bound and ready socket, cleaning up in case of failure.
-
ganeti.cmdlib.test.TestSocketWrapper.Destroy
ganeti.cmdlib.test.TestSocketWrapper.html#Destroy
Function
Method
PUBLIC
Destroys the socket and performs all necessary cleanup.
-
ganeti.cmdlib.test.LUTestDelay
ganeti.cmdlib.test.LUTestDelay.html
Class
Class
PUBLIC
Sleep for a specified amount of time.
-
ganeti.cmdlib.test.LUTestDelay.REQ_BGL
ganeti.cmdlib.test.LUTestDelay.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestDelay.ExpandNames
ganeti.cmdlib.test.LUTestDelay.html#ExpandNames
Function
Method
PUBLIC
Expand names and set required locks.
-
ganeti.cmdlib.test.LUTestDelay.needed_locks
ganeti.cmdlib.test.LUTestDelay.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestDelay._InterruptibleDelay
ganeti.cmdlib.test.LUTestDelay.html#_InterruptibleDelay
Function
Method
PRIVATE
Delays but provides the mechanisms necessary to interrupt the delay as needed.
-
ganeti.cmdlib.test.LUTestDelay._UninterruptibleDelay
ganeti.cmdlib.test.LUTestDelay.html#_UninterruptibleDelay
Function
Method
PRIVATE
Delays without allowing interruptions.
-
ganeti.cmdlib.test.LUTestDelay._TestDelay
ganeti.cmdlib.test.LUTestDelay.html#_TestDelay
Function
Method
PRIVATE
Do the actual sleep.
-
ganeti.cmdlib.test.LUTestDelay.Exec
ganeti.cmdlib.test.LUTestDelay.html#Exec
Function
Method
PUBLIC
Execute the test delay opcode, with the wanted repetitions.
-
ganeti.cmdlib.test.LUTestJqueue
ganeti.cmdlib.test.LUTestJqueue.html
Class
Class
PUBLIC
Utility LU to test some aspects of the job queue.
-
ganeti.cmdlib.test.LUTestJqueue.REQ_BGL
ganeti.cmdlib.test.LUTestJqueue.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestJqueue._CLIENT_CONNECT_TIMEOUT
ganeti.cmdlib.test.LUTestJqueue.html#_CLIENT_CONNECT_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.test.LUTestJqueue._CLIENT_CONFIRM_TIMEOUT
ganeti.cmdlib.test.LUTestJqueue.html#_CLIENT_CONFIRM_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cmdlib.test.LUTestJqueue._NotifyUsingSocket
ganeti.cmdlib.test.LUTestJqueue.html#_NotifyUsingSocket
Function
Class Method
PRIVATE
Opens a Unix socket and waits for another program to connect.
-
ganeti.cmdlib.test.LUTestJqueue._SendNotification
ganeti.cmdlib.test.LUTestJqueue.html#_SendNotification
Function
Method
PRIVATE
Sends a notification to the client.
-
ganeti.cmdlib.test.LUTestJqueue._Notify
ganeti.cmdlib.test.LUTestJqueue.html#_Notify
Function
Method
PRIVATE
Notifies the client of a test.
-
ganeti.cmdlib.test.LUTestJqueue.CheckArguments
ganeti.cmdlib.test.LUTestJqueue.html#CheckArguments
Function
Method
PUBLIC
Check syntactic validity for the opcode arguments.
-
ganeti.cmdlib.test.LUTestJqueue.checkargs_calls
ganeti.cmdlib.test.LUTestJqueue.html#checkargs_calls
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestJqueue.expandnames_calls
ganeti.cmdlib.test.LUTestJqueue.html#expandnames_calls
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestJqueue.ExpandNames
ganeti.cmdlib.test.LUTestJqueue.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.test.LUTestJqueue.needed_locks
ganeti.cmdlib.test.LUTestJqueue.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestJqueue.Exec
ganeti.cmdlib.test.LUTestJqueue.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.test.LUTestOsParams
ganeti.cmdlib.test.LUTestOsParams.html
Class
Class
PUBLIC
Utility LU to test secret OS parameter transmission.
-
ganeti.cmdlib.test.LUTestOsParams.REQ_BGL
ganeti.cmdlib.test.LUTestOsParams.html#REQ_BGL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestOsParams.ExpandNames
ganeti.cmdlib.test.LUTestOsParams.html#ExpandNames
Function
Method
PUBLIC
Expand names for this LU.
-
ganeti.cmdlib.test.LUTestOsParams.needed_locks
ganeti.cmdlib.test.LUTestOsParams.html#needed_locks
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestOsParams.Exec
ganeti.cmdlib.test.LUTestOsParams.html#Exec
Function
Method
PUBLIC
Execute the LU.
-
ganeti.cmdlib.test.LUTestAllocator
ganeti.cmdlib.test.LUTestAllocator.html
Class
Class
PUBLIC
Run allocator tests.
-
ganeti.cmdlib.test.LUTestAllocator.CheckPrereq
ganeti.cmdlib.test.LUTestAllocator.html#CheckPrereq
Function
Method
PUBLIC
Check prerequisites.
-
ganeti.cmdlib.test.LUTestAllocator.inst_uuid
ganeti.cmdlib.test.LUTestAllocator.html#inst_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cmdlib.test.LUTestAllocator.Exec
ganeti.cmdlib.test.LUTestAllocator.html#Exec
Function
Method
PUBLIC
Run the allocator test.
-
ganeti.config.temporary_reservations.TemporaryReservationManager
ganeti.config.temporary_reservations.TemporaryReservationManager.html
Class
Class
PUBLIC
A temporary resource reservation manager.
-
ganeti.config.temporary_reservations.TemporaryReservationManager.__init__
ganeti.config.temporary_reservations.TemporaryReservationManager.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.config.temporary_reservations.TemporaryReservationManager._ec_reserved
ganeti.config.temporary_reservations.TemporaryReservationManager.html#_ec_reserved
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.temporary_reservations.TemporaryReservationManager.Reserved
ganeti.config.temporary_reservations.TemporaryReservationManager.html#Reserved
Function
Method
PUBLIC
Undocumented
-
ganeti.config.temporary_reservations.TemporaryReservationManager.Reserve
ganeti.config.temporary_reservations.TemporaryReservationManager.html#Reserve
Function
Method
PUBLIC
Undocumented
-
ganeti.config.temporary_reservations.TemporaryReservationManager.DropECReservations
ganeti.config.temporary_reservations.TemporaryReservationManager.html#DropECReservations
Function
Method
PUBLIC
Undocumented
-
ganeti.config.temporary_reservations.TemporaryReservationManager.GetReserved
ganeti.config.temporary_reservations.TemporaryReservationManager.html#GetReserved
Function
Method
PUBLIC
Undocumented
-
ganeti.config.temporary_reservations.TemporaryReservationManager.GetECReserved
ganeti.config.temporary_reservations.TemporaryReservationManager.html#GetECReserved
Function
Method
PUBLIC
Used when you want to retrieve all reservations for a specific execution context. E.g when commiting reserved IPs for a specific network.
-
ganeti.config.temporary_reservations.TemporaryReservationManager.Generate
ganeti.config.temporary_reservations.TemporaryReservationManager.html#Generate
Function
Method
PUBLIC
Generate a new resource of this type
-
ganeti.config.utils.ConfigSync
ganeti.config.utils.html#ConfigSync
Function
Function
PUBLIC
Configuration synchronization decorator.
-
ganeti.config.utils.ConfigManager
ganeti.config.utils.ConfigManager.html
Class
Class
PUBLIC
Locks the configuration and exposes it to be read or modified.
-
ganeti.config.utils.ConfigManager.__init__
ganeti.config.utils.ConfigManager.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.config.utils.ConfigManager._config_writer
ganeti.config.utils.ConfigManager.html#_config_writer
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.utils.ConfigManager._shared
ganeti.config.utils.ConfigManager.html#_shared
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.utils.ConfigManager._forcelock
ganeti.config.utils.ConfigManager.html#_forcelock
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.utils.ConfigManager.__enter__
ganeti.config.utils.ConfigManager.html#__enter__
Function
Method
PUBLIC
Undocumented
-
ganeti.config.utils.ConfigManager.__exit__
ganeti.config.utils.ConfigManager.html#__exit__
Function
Method
PUBLIC
Undocumented
-
ganeti.config.verify.ValidateConfig
ganeti.config.verify.html#ValidateConfig
Function
Function
PUBLIC
Verifies that a configuration dict looks valid.
-
ganeti.config.verify.VerifyType
ganeti.config.verify.html#VerifyType
Function
Function
PUBLIC
Checks if an attribute has correct form.
-
ganeti.config.verify.VerifyNic
ganeti.config.verify.html#VerifyNic
Function
Function
PUBLIC
Checks if a NIC has correct form.
-
ganeti.config.verify.VerifyIpolicy
ganeti.config.verify.html#VerifyIpolicy
Function
Function
PUBLIC
Checks if an ipolicy has correct form.
-
ganeti.config.verify.VerifyIspecs
ganeti.config.verify.html#VerifyIspecs
Function
Function
PUBLIC
Checks if an ispec has correct form.
-
ganeti.config.GetWConfdContext
ganeti.config.html#GetWConfdContext
Function
Function
PUBLIC
Prepare a context for communication with WConfd.
-
ganeti.config.GetConfig
ganeti.config.html#GetConfig
Function
Function
PUBLIC
A utility function for constructing instances of ConfigWriter.
-
ganeti.config._UPGRADE_CONFIG_JID
ganeti.config.html#_UPGRADE_CONFIG_JID
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.config._MatchNameComponentIgnoreCase
ganeti.config.html#_MatchNameComponentIgnoreCase
Function
Function
PRIVATE
-
ganeti.config._CheckInstanceDiskIvNames
ganeti.config.html#_CheckInstanceDiskIvNames
Function
Function
PRIVATE
Checks if instance's disks' iv_name attributes are in order.
-
ganeti.config.ConfigWriter
ganeti.config.ConfigWriter.html
Class
Class
PUBLIC
The interface to the cluster configuration.
-
ganeti.config.ConfigWriter._all_rms
ganeti.config.ConfigWriter.html#_all_rms
Attribute
Instance Variable
PRIVATE
a list of all temporary reservation managers
-
ganeti.config.ConfigWriter.__init__
ganeti.config.ConfigWriter.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.config.ConfigWriter.write_count
ganeti.config.ConfigWriter.html#write_count
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.config.ConfigWriter._config_data
ganeti.config.ConfigWriter.html#_config_data
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._offline
ganeti.config.ConfigWriter.html#_offline
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._cfg_file
ganeti.config.ConfigWriter.html#_cfg_file
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._getents
ganeti.config.ConfigWriter.html#_getents
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._temporary_ids
ganeti.config.ConfigWriter.html#_temporary_ids
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._my_hostname
ganeti.config.ConfigWriter.html#_my_hostname
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._cfg_id
ganeti.config.ConfigWriter.html#_cfg_id
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._wconfdcontext
ganeti.config.ConfigWriter.html#_wconfdcontext
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._wconfd
ganeti.config.ConfigWriter.html#_wconfd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._accept_foreign
ganeti.config.ConfigWriter.html#_accept_foreign
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._lock_count
ganeti.config.ConfigWriter.html#_lock_count
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._lock_current_shared
ganeti.config.ConfigWriter.html#_lock_current_shared
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._lock_forced
ganeti.config.ConfigWriter.html#_lock_forced
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._ConfigData
ganeti.config.ConfigWriter.html#_ConfigData
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.OutDate
ganeti.config.ConfigWriter.html#OutDate
Function
Method
PUBLIC
Undocumented
-
ganeti.config.ConfigWriter._SetConfigData
ganeti.config.ConfigWriter.html#_SetConfigData
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._GetWConfdContext
ganeti.config.ConfigWriter.html#_GetWConfdContext
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.IsCluster
ganeti.config.ConfigWriter.html#IsCluster
Function
Static Method
PUBLIC
Check if the cluster is configured.
-
ganeti.config.ConfigWriter._UnlockedGetNdParams
ganeti.config.ConfigWriter.html#_UnlockedGetNdParams
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetNdParams
ganeti.config.ConfigWriter.html#GetNdParams
Function
Method
PUBLIC
Get the node params populated with cluster defaults.
-
ganeti.config.ConfigWriter.GetNdGroupParams
ganeti.config.ConfigWriter.html#GetNdGroupParams
Function
Method
PUBLIC
Get the node groups params populated with cluster defaults.
-
ganeti.config.ConfigWriter._UnlockedGetNdGroupParams
ganeti.config.ConfigWriter.html#_UnlockedGetNdGroupParams
Function
Method
PRIVATE
Get the ndparams of the group.
-
ganeti.config.ConfigWriter.GetGroupSshPorts
ganeti.config.ConfigWriter.html#GetGroupSshPorts
Function
Method
PUBLIC
Get a map of group UUIDs to SSH ports.
-
ganeti.config.ConfigWriter.GetInstanceDiskParams
ganeti.config.ConfigWriter.html#GetInstanceDiskParams
Function
Method
PUBLIC
Get the disk params populated with inherit chain.
-
ganeti.config.ConfigWriter._UnlockedGetInstanceDisks
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceDisks
Function
Method
PRIVATE
Return the disks' info for the given instance
-
ganeti.config.ConfigWriter.GetInstanceDisks
ganeti.config.ConfigWriter.html#GetInstanceDisks
Function
Method
PUBLIC
Return the disks' info for the given instance
-
ganeti.config.ConfigWriter.AddInstanceDisk
ganeti.config.ConfigWriter.html#AddInstanceDisk
Function
Method
PUBLIC
Add a disk to the config and attach it to instance.
-
ganeti.config.ConfigWriter.AttachInstanceDisk
ganeti.config.ConfigWriter.html#AttachInstanceDisk
Function
Method
PUBLIC
Attach an existing disk to an instance.
-
ganeti.config.ConfigWriter._UnlockedRemoveDisk
ganeti.config.ConfigWriter.html#_UnlockedRemoveDisk
Function
Method
PRIVATE
Remove the disk from the configuration.
-
ganeti.config.ConfigWriter.RemoveInstanceDisk
ganeti.config.ConfigWriter.html#RemoveInstanceDisk
Function
Method
PUBLIC
Detach a disk from an instance and remove it from the config.
-
ganeti.config.ConfigWriter.DetachInstanceDisk
ganeti.config.ConfigWriter.html#DetachInstanceDisk
Function
Method
PUBLIC
Detach a disk from an instance.
-
ganeti.config.ConfigWriter._UnlockedGetDiskInfo
ganeti.config.ConfigWriter.html#_UnlockedGetDiskInfo
Function
Method
PRIVATE
Returns information about a disk.
-
ganeti.config.ConfigWriter.GetDiskInfo
ganeti.config.ConfigWriter.html#GetDiskInfo
Function
Method
PUBLIC
Returns information about a disk.
-
ganeti.config.ConfigWriter._UnlockedGetDiskInfoByName
ganeti.config.ConfigWriter.html#_UnlockedGetDiskInfoByName
Function
Method
PRIVATE
Return information about a named disk.
-
ganeti.config.ConfigWriter.GetDiskInfoByName
ganeti.config.ConfigWriter.html#GetDiskInfoByName
Function
Method
PUBLIC
Return information about a named disk.
-
ganeti.config.ConfigWriter._UnlockedGetDiskList
ganeti.config.ConfigWriter.html#_UnlockedGetDiskList
Function
Method
PRIVATE
Get the list of disks.
-
ganeti.config.ConfigWriter.GetAllDisksInfo
ganeti.config.ConfigWriter.html#GetAllDisksInfo
Function
Method
PUBLIC
Get the configuration of all disks.
-
ganeti.config.ConfigWriter._UnlockedGetAllDisksInfo
ganeti.config.ConfigWriter.html#_UnlockedGetAllDisksInfo
Function
Method
PRIVATE
Get the configuration of all disks.
-
ganeti.config.ConfigWriter._AllInstanceNodes
ganeti.config.ConfigWriter.html#_AllInstanceNodes
Function
Method
PRIVATE
Compute the set of all disk-related nodes for an instance.
-
ganeti.config.ConfigWriter._UnlockedGetInstanceNodes
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceNodes
Function
Method
PRIVATE
Get all disk-related nodes for an instance.
-
ganeti.config.ConfigWriter.GetInstanceNodes
ganeti.config.ConfigWriter.html#GetInstanceNodes
Function
Method
PUBLIC
Get all disk-related nodes for an instance.
-
ganeti.config.ConfigWriter._UnlockedGetInstanceSecondaryNodes
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceSecondaryNodes
Function
Method
PRIVATE
Get the list of secondary nodes.
-
ganeti.config.ConfigWriter.GetInstanceSecondaryNodes
ganeti.config.ConfigWriter.html#GetInstanceSecondaryNodes
Function
Method
PUBLIC
Get the list of secondary nodes.
-
ganeti.config.ConfigWriter._UnlockedGetInstanceLVsByNode
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceLVsByNode
Function
Method
PRIVATE
Provide a mapping of node to LVs a given instance owns.
-
ganeti.config.ConfigWriter.GetInstanceLVsByNode
ganeti.config.ConfigWriter.html#GetInstanceLVsByNode
Function
Method
PUBLIC
Provide a mapping of node to LVs a given instance owns.
-
ganeti.config.ConfigWriter.GetGroupDiskParams
ganeti.config.ConfigWriter.html#GetGroupDiskParams
Function
Method
PUBLIC
Get the disk params populated with inherit chain.
-
ganeti.config.ConfigWriter._UnlockedGetGroupDiskParams
ganeti.config.ConfigWriter.html#_UnlockedGetGroupDiskParams
Function
Method
PRIVATE
Get the disk params populated with inherit chain down to node-group.
-
ganeti.config.ConfigWriter.GetPotentialMasterCandidates
ganeti.config.ConfigWriter.html#GetPotentialMasterCandidates
Function
Method
PUBLIC
Gets the list of node names of potential master candidates.
-
ganeti.config.ConfigWriter.GenerateMAC
ganeti.config.ConfigWriter.html#GenerateMAC
Function
Method
PUBLIC
Generate a MAC for an instance.
-
ganeti.config.ConfigWriter.ReserveMAC
ganeti.config.ConfigWriter.html#ReserveMAC
Function
Method
PUBLIC
Reserve a MAC for an instance.
-
ganeti.config.ConfigWriter.CommitTemporaryIps
ganeti.config.ConfigWriter.html#CommitTemporaryIps
Function
Method
PUBLIC
Tell WConfD to commit all temporary ids
-
ganeti.config.ConfigWriter.ReleaseIp
ganeti.config.ConfigWriter.html#ReleaseIp
Function
Method
PUBLIC
Give a specific IP address back to an IP pool.
-
ganeti.config.ConfigWriter.GenerateIp
ganeti.config.ConfigWriter.html#GenerateIp
Function
Method
PUBLIC
Find a free IPv4 address for an instance.
-
ganeti.config.ConfigWriter.ReserveIp
ganeti.config.ConfigWriter.html#ReserveIp
Function
Method
PUBLIC
Reserve a given IPv4 address for use by an instance.
-
ganeti.config.ConfigWriter.ReserveLV
ganeti.config.ConfigWriter.html#ReserveLV
Function
Method
PUBLIC
Reserve an VG/LV pair for an instance.
-
ganeti.config.ConfigWriter.GenerateDRBDSecret
ganeti.config.ConfigWriter.html#GenerateDRBDSecret
Function
Method
PUBLIC
Generate a DRBD secret.
-
ganeti.config.ConfigWriter._AllLVs
ganeti.config.ConfigWriter.html#_AllLVs
Function
Method
PRIVATE
Compute the list of all LVs.
-
ganeti.config.ConfigWriter._AllNICs
ganeti.config.ConfigWriter.html#_AllNICs
Function
Method
PRIVATE
Compute the list of all NICs.
-
ganeti.config.ConfigWriter._AllIDs
ganeti.config.ConfigWriter.html#_AllIDs
Function
Method
PRIVATE
Compute the list of all UUIDs and names we have.
-
ganeti.config.ConfigWriter._GenerateUniqueID
ganeti.config.ConfigWriter.html#_GenerateUniqueID
Function
Method
PRIVATE
Generate an unique UUID.
-
ganeti.config.ConfigWriter.GenerateUniqueID
ganeti.config.ConfigWriter.html#GenerateUniqueID
Function
Method
PUBLIC
Generate an unique ID.
-
ganeti.config.ConfigWriter._AllMACs
ganeti.config.ConfigWriter.html#_AllMACs
Function
Method
PRIVATE
Return all MACs present in the config.
-
ganeti.config.ConfigWriter._AllDRBDSecrets
ganeti.config.ConfigWriter.html#_AllDRBDSecrets
Function
Method
PRIVATE
Return all DRBD secrets present in the config.
-
ganeti.config.ConfigWriter._VerifyDisks
ganeti.config.ConfigWriter.html#_VerifyDisks
Function
Static Method
PRIVATE
Per-disk verification checks
-
ganeti.config.ConfigWriter._UnlockedVerifyConfig
ganeti.config.ConfigWriter.html#_UnlockedVerifyConfig
Function
Method
PRIVATE
Verify function.
-
ganeti.config.ConfigWriter.VerifyConfigAndLog
ganeti.config.ConfigWriter.html#VerifyConfigAndLog
Function
Method
PUBLIC
-
ganeti.config.ConfigWriter._UnlockedVerifyConfigAndLog
ganeti.config.ConfigWriter.html#_UnlockedVerifyConfigAndLog
Function
Method
PRIVATE
Verify the configuration and log any errors.
-
ganeti.config.ConfigWriter.VerifyConfig
ganeti.config.ConfigWriter.html#VerifyConfig
Function
Method
PUBLIC
Verify function.
-
ganeti.config.ConfigWriter.AddTcpUdpPort
ganeti.config.ConfigWriter.html#AddTcpUdpPort
Function
Method
PUBLIC
Adds a new port to the available port pool.
-
ganeti.config.ConfigWriter.GetPortList
ganeti.config.ConfigWriter.html#GetPortList
Function
Method
PUBLIC
Returns a copy of the current port list.
-
ganeti.config.ConfigWriter.AllocatePort
ganeti.config.ConfigWriter.html#AllocatePort
Function
Method
PUBLIC
Allocate a port.
-
ganeti.config.ConfigWriter.ComputeDRBDMap
ganeti.config.ConfigWriter.html#ComputeDRBDMap
Function
Method
PUBLIC
Compute the used DRBD minor/nodes.
-
ganeti.config.ConfigWriter.AllocateDRBDMinor
ganeti.config.ConfigWriter.html#AllocateDRBDMinor
Function
Method
PUBLIC
Allocate a drbd minor.
-
ganeti.config.ConfigWriter.ReleaseDRBDMinors
ganeti.config.ConfigWriter.html#ReleaseDRBDMinors
Function
Method
PUBLIC
Release temporary drbd minors allocated for a given disk.
-
ganeti.config.ConfigWriter.GetInstanceDiskTemplate
ganeti.config.ConfigWriter.html#GetInstanceDiskTemplate
Function
Method
PUBLIC
Return the disk template of an instance.
-
ganeti.config.ConfigWriter.GetConfigVersion
ganeti.config.ConfigWriter.html#GetConfigVersion
Function
Method
PUBLIC
Get the configuration version.
-
ganeti.config.ConfigWriter.GetClusterName
ganeti.config.ConfigWriter.html#GetClusterName
Function
Method
PUBLIC
Get cluster name.
-
ganeti.config.ConfigWriter.GetMasterNode
ganeti.config.ConfigWriter.html#GetMasterNode
Function
Method
PUBLIC
Get the UUID of the master node for this cluster.
-
ganeti.config.ConfigWriter.GetMasterNodeName
ganeti.config.ConfigWriter.html#GetMasterNodeName
Function
Method
PUBLIC
Get the hostname of the master node for this cluster.
-
ganeti.config.ConfigWriter.GetMasterNodeInfo
ganeti.config.ConfigWriter.html#GetMasterNodeInfo
Function
Method
PUBLIC
Get the master node information for this cluster.
-
ganeti.config.ConfigWriter.GetMasterIP
ganeti.config.ConfigWriter.html#GetMasterIP
Function
Method
PUBLIC
Get the IP of the master node for this cluster.
-
ganeti.config.ConfigWriter.GetMasterNetdev
ganeti.config.ConfigWriter.html#GetMasterNetdev
Function
Method
PUBLIC
Get the master network device for this cluster.
-
ganeti.config.ConfigWriter.GetMasterNetmask
ganeti.config.ConfigWriter.html#GetMasterNetmask
Function
Method
PUBLIC
Get the netmask of the master node for this cluster.
-
ganeti.config.ConfigWriter.GetUseExternalMipScript
ganeti.config.ConfigWriter.html#GetUseExternalMipScript
Function
Method
PUBLIC
Get flag representing whether to use the external master IP setup script.
-
ganeti.config.ConfigWriter.GetFileStorageDir
ganeti.config.ConfigWriter.html#GetFileStorageDir
Function
Method
PUBLIC
Get the file storage dir for this cluster.
-
ganeti.config.ConfigWriter.GetSharedFileStorageDir
ganeti.config.ConfigWriter.html#GetSharedFileStorageDir
Function
Method
PUBLIC
Get the shared file storage dir for this cluster.
-
ganeti.config.ConfigWriter.GetGlusterStorageDir
ganeti.config.ConfigWriter.html#GetGlusterStorageDir
Function
Method
PUBLIC
Get the Gluster storage dir for this cluster.
-
ganeti.config.ConfigWriter.GetHypervisorType
ganeti.config.ConfigWriter.html#GetHypervisorType
Function
Method
PUBLIC
Get the hypervisor type for this cluster.
-
ganeti.config.ConfigWriter.GetRsaHostKey
ganeti.config.ConfigWriter.html#GetRsaHostKey
Function
Method
PUBLIC
Return the rsa hostkey from the config.
-
ganeti.config.ConfigWriter.GetDsaHostKey
ganeti.config.ConfigWriter.html#GetDsaHostKey
Function
Method
PUBLIC
Return the dsa hostkey from the config.
-
ganeti.config.ConfigWriter.GetDefaultIAllocator
ganeti.config.ConfigWriter.html#GetDefaultIAllocator
Function
Method
PUBLIC
Get the default instance allocator for this cluster.
-
ganeti.config.ConfigWriter.GetDefaultIAllocatorParameters
ganeti.config.ConfigWriter.html#GetDefaultIAllocatorParameters
Function
Method
PUBLIC
Get the default instance allocator parameters for this cluster.
-
ganeti.config.ConfigWriter.GetPrimaryIPFamily
ganeti.config.ConfigWriter.html#GetPrimaryIPFamily
Function
Method
PUBLIC
Get cluster primary ip family.
-
ganeti.config.ConfigWriter.GetMasterNetworkParameters
ganeti.config.ConfigWriter.html#GetMasterNetworkParameters
Function
Method
PUBLIC
Get network parameters of the master node.
-
ganeti.config.ConfigWriter.GetInstallImage
ganeti.config.ConfigWriter.html#GetInstallImage
Function
Method
PUBLIC
Get the install image location
-
ganeti.config.ConfigWriter.SetInstallImage
ganeti.config.ConfigWriter.html#SetInstallImage
Function
Method
PUBLIC
Set the install image location
-
ganeti.config.ConfigWriter.GetInstanceCommunicationNetwork
ganeti.config.ConfigWriter.html#GetInstanceCommunicationNetwork
Function
Method
PUBLIC
Get cluster instance communication network
-
ganeti.config.ConfigWriter.SetInstanceCommunicationNetwork
ganeti.config.ConfigWriter.html#SetInstanceCommunicationNetwork
Function
Method
PUBLIC
Set cluster instance communication network
-
ganeti.config.ConfigWriter.GetZeroingImage
ganeti.config.ConfigWriter.html#GetZeroingImage
Function
Method
PUBLIC
Get the zeroing image location
-
ganeti.config.ConfigWriter.GetCompressionTools
ganeti.config.ConfigWriter.html#GetCompressionTools
Function
Method
PUBLIC
Get cluster compression tools
-
ganeti.config.ConfigWriter.SetCompressionTools
ganeti.config.ConfigWriter.html#SetCompressionTools
Function
Method
PUBLIC
Set cluster compression tools
-
ganeti.config.ConfigWriter.AddNodeGroup
ganeti.config.ConfigWriter.html#AddNodeGroup
Function
Method
PUBLIC
Add a node group to the configuration.
-
ganeti.config.ConfigWriter._UnlockedAddNodeGroup
ganeti.config.ConfigWriter.html#_UnlockedAddNodeGroup
Function
Method
PRIVATE
Add a node group to the configuration.
-
ganeti.config.ConfigWriter.RemoveNodeGroup
ganeti.config.ConfigWriter.html#RemoveNodeGroup
Function
Method
PUBLIC
Remove a node group from the configuration.
-
ganeti.config.ConfigWriter._UnlockedLookupNodeGroup
ganeti.config.ConfigWriter.html#_UnlockedLookupNodeGroup
Function
Method
PRIVATE
Lookup a node group's UUID.
-
ganeti.config.ConfigWriter.LookupNodeGroup
ganeti.config.ConfigWriter.html#LookupNodeGroup
Function
Method
PUBLIC
Lookup a node group's UUID.
-
ganeti.config.ConfigWriter._UnlockedGetNodeGroup
ganeti.config.ConfigWriter.html#_UnlockedGetNodeGroup
Function
Method
PRIVATE
Lookup a node group.
-
ganeti.config.ConfigWriter.GetNodeGroup
ganeti.config.ConfigWriter.html#GetNodeGroup
Function
Method
PUBLIC
Lookup a node group.
-
ganeti.config.ConfigWriter._UnlockedGetAllNodeGroupsInfo
ganeti.config.ConfigWriter.html#_UnlockedGetAllNodeGroupsInfo
Function
Method
PRIVATE
Get the configuration of all node groups.
-
ganeti.config.ConfigWriter.GetAllNodeGroupsInfo
ganeti.config.ConfigWriter.html#GetAllNodeGroupsInfo
Function
Method
PUBLIC
Get the configuration of all node groups.
-
ganeti.config.ConfigWriter.GetAllNodeGroupsInfoDict
ganeti.config.ConfigWriter.html#GetAllNodeGroupsInfoDict
Function
Method
PUBLIC
Get the configuration of all node groups expressed as a dictionary of dictionaries.
-
ganeti.config.ConfigWriter.GetNodeGroupList
ganeti.config.ConfigWriter.html#GetNodeGroupList
Function
Method
PUBLIC
Get a list of node groups.
-
ganeti.config.ConfigWriter.GetNodeGroupMembersByNodes
ganeti.config.ConfigWriter.html#GetNodeGroupMembersByNodes
Function
Method
PUBLIC
Get nodes which are member in the same nodegroups as the given nodes.
-
ganeti.config.ConfigWriter.GetMultiNodeGroupInfo
ganeti.config.ConfigWriter.html#GetMultiNodeGroupInfo
Function
Method
PUBLIC
Get the configuration of multiple node groups.
-
ganeti.config.ConfigWriter.AddInstance
ganeti.config.ConfigWriter.html#AddInstance
Function
Method
PUBLIC
Add an instance to the config.
-
ganeti.config.ConfigWriter._EnsureUUID
ganeti.config.ConfigWriter.html#_EnsureUUID
Function
Method
PRIVATE
Ensures a given object has a valid UUID.
-
ganeti.config.ConfigWriter._CheckUniqueUUID
ganeti.config.ConfigWriter.html#_CheckUniqueUUID
Function
Method
PRIVATE
Checks that the UUID of the given object is unique.
-
ganeti.config.ConfigWriter._CheckUUIDpresent
ganeti.config.ConfigWriter.html#_CheckUUIDpresent
Function
Method
PRIVATE
Checks that an object with the given UUID exists.
-
ganeti.config.ConfigWriter._SetInstanceStatus
ganeti.config.ConfigWriter.html#_SetInstanceStatus
Function
Method
PRIVATE
Set the instance's status to a given value.
-
ganeti.config.ConfigWriter.MarkInstanceUp
ganeti.config.ConfigWriter.html#MarkInstanceUp
Function
Method
PUBLIC
Mark the instance status to up in the config.
-
ganeti.config.ConfigWriter.MarkInstanceOffline
ganeti.config.ConfigWriter.html#MarkInstanceOffline
Function
Method
PUBLIC
Mark the instance status to down in the config.
-
ganeti.config.ConfigWriter.RemoveInstance
ganeti.config.ConfigWriter.html#RemoveInstance
Function
Method
PUBLIC
Remove the instance from the configuration.
-
ganeti.config.ConfigWriter.RenameInstance
ganeti.config.ConfigWriter.html#RenameInstance
Function
Method
PUBLIC
Rename an instance.
-
ganeti.config.ConfigWriter.MarkInstanceDown
ganeti.config.ConfigWriter.html#MarkInstanceDown
Function
Method
PUBLIC
Mark the status of an instance to down in the configuration.
-
ganeti.config.ConfigWriter.MarkInstanceUserDown
ganeti.config.ConfigWriter.html#MarkInstanceUserDown
Function
Method
PUBLIC
Mark the status of an instance to user down in the configuration.
-
ganeti.config.ConfigWriter.MarkInstanceDisksActive
ganeti.config.ConfigWriter.html#MarkInstanceDisksActive
Function
Method
PUBLIC
Mark the status of instance disks active.
-
ganeti.config.ConfigWriter.MarkInstanceDisksInactive
ganeti.config.ConfigWriter.html#MarkInstanceDisksInactive
Function
Method
PUBLIC
Mark the status of instance disks inactive.
-
ganeti.config.ConfigWriter._UnlockedGetInstanceList
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceList
Function
Method
PRIVATE
Get the list of instances.
-
ganeti.config.ConfigWriter.GetInstanceList
ganeti.config.ConfigWriter.html#GetInstanceList
Function
Method
PUBLIC
Get the list of instances.
-
ganeti.config.ConfigWriter.ExpandInstanceName
ganeti.config.ConfigWriter.html#ExpandInstanceName
Function
Method
PUBLIC
Attempt to expand an incomplete instance name.
-
ganeti.config.ConfigWriter._UnlockedGetInstanceInfo
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceInfo
Function
Method
PRIVATE
Returns information about an instance.
-
ganeti.config.ConfigWriter.GetInstanceInfo
ganeti.config.ConfigWriter.html#GetInstanceInfo
Function
Method
PUBLIC
Returns information about an instance.
-
ganeti.config.ConfigWriter.GetInstanceNodeGroups
ganeti.config.ConfigWriter.html#GetInstanceNodeGroups
Function
Method
PUBLIC
Returns set of node group UUIDs for instance's nodes.
-
ganeti.config.ConfigWriter.GetInstanceNetworks
ganeti.config.ConfigWriter.html#GetInstanceNetworks
Function
Method
PUBLIC
Returns set of network UUIDs for instance's nics.
-
ganeti.config.ConfigWriter.GetMultiInstanceInfo
ganeti.config.ConfigWriter.html#GetMultiInstanceInfo
Function
Method
PUBLIC
Get the configuration of multiple instances.
-
ganeti.config.ConfigWriter.GetMultiInstanceInfoByName
ganeti.config.ConfigWriter.html#GetMultiInstanceInfoByName
Function
Method
PUBLIC
Get the configuration of multiple instances.
-
ganeti.config.ConfigWriter.GetAllInstancesInfo
ganeti.config.ConfigWriter.html#GetAllInstancesInfo
Function
Method
PUBLIC
Get the configuration of all instances.
-
ganeti.config.ConfigWriter._UnlockedGetAllInstancesInfo
ganeti.config.ConfigWriter.html#_UnlockedGetAllInstancesInfo
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetInstancesInfoByFilter
ganeti.config.ConfigWriter.html#GetInstancesInfoByFilter
Function
Method
PUBLIC
Get instance configuration with a filter.
-
ganeti.config.ConfigWriter.GetInstanceInfoByName
ganeti.config.ConfigWriter.html#GetInstanceInfoByName
Function
Method
PUBLIC
-
ganeti.config.ConfigWriter._UnlockedGetInstanceInfoByName
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceInfoByName
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._UnlockedGetInstanceName
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceName
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetInstanceName
ganeti.config.ConfigWriter.html#GetInstanceName
Function
Method
PUBLIC
Gets the instance name for the passed instance.
-
ganeti.config.ConfigWriter.GetInstanceNames
ganeti.config.ConfigWriter.html#GetInstanceNames
Function
Method
PUBLIC
Gets the instance names for the passed list of nodes.
-
ganeti.config.ConfigWriter.SetInstancePrimaryNode
ganeti.config.ConfigWriter.html#SetInstancePrimaryNode
Function
Method
PUBLIC
Sets the primary node of an existing instance
-
ganeti.config.ConfigWriter.SetDiskNodes
ganeti.config.ConfigWriter.html#SetDiskNodes
Function
Method
PUBLIC
Sets the nodes of an existing disk
-
ganeti.config.ConfigWriter.SetDiskLogicalID
ganeti.config.ConfigWriter.html#SetDiskLogicalID
Function
Method
PUBLIC
Sets the logical_id of an existing disk
-
ganeti.config.ConfigWriter._UnlockedGetInstanceNames
ganeti.config.ConfigWriter.html#_UnlockedGetInstanceNames
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._UnlockedAddNode
ganeti.config.ConfigWriter.html#_UnlockedAddNode
Function
Method
PRIVATE
Add a node to the configuration.
-
ganeti.config.ConfigWriter.AddNode
ganeti.config.ConfigWriter.html#AddNode
Function
Method
PUBLIC
Add a node to the configuration.
-
ganeti.config.ConfigWriter.RemoveNode
ganeti.config.ConfigWriter.html#RemoveNode
Function
Method
PUBLIC
Remove a node from the configuration.
-
ganeti.config.ConfigWriter.ExpandNodeName
ganeti.config.ConfigWriter.html#ExpandNodeName
Function
Method
PUBLIC
Attempt to expand an incomplete node name into a node UUID.
-
ganeti.config.ConfigWriter._UnlockedGetNodeInfo
ganeti.config.ConfigWriter.html#_UnlockedGetNodeInfo
Function
Method
PRIVATE
Get the configuration of a node, as stored in the config.
-
ganeti.config.ConfigWriter.GetNodeInfo
ganeti.config.ConfigWriter.html#GetNodeInfo
Function
Method
PUBLIC
Get the configuration of a node, as stored in the config.
-
ganeti.config.ConfigWriter.GetNodeInstances
ganeti.config.ConfigWriter.html#GetNodeInstances
Function
Method
PUBLIC
Get the instances of a node, as stored in the config.
-
ganeti.config.ConfigWriter.GetNodeGroupInstances
ganeti.config.ConfigWriter.html#GetNodeGroupInstances
Function
Method
PUBLIC
Get the instances of a node group.
-
ganeti.config.ConfigWriter._UnlockedGetHvparamsString
ganeti.config.ConfigWriter.html#_UnlockedGetHvparamsString
Function
Method
PRIVATE
Return the string representation of the list of hyervisor parameters of the given hypervisor.
-
ganeti.config.ConfigWriter.GetHvparamsString
ganeti.config.ConfigWriter.html#GetHvparamsString
Function
Method
PUBLIC
Return the hypervisor parameters of the given hypervisor.
-
ganeti.config.ConfigWriter._UnlockedGetNodeList
ganeti.config.ConfigWriter.html#_UnlockedGetNodeList
Function
Method
PRIVATE
Return the list of nodes which are in the configuration.
-
ganeti.config.ConfigWriter.GetNodeList
ganeti.config.ConfigWriter.html#GetNodeList
Function
Method
PUBLIC
Return the list of nodes which are in the configuration.
-
ganeti.config.ConfigWriter._UnlockedGetOnlineNodeList
ganeti.config.ConfigWriter.html#_UnlockedGetOnlineNodeList
Function
Method
PRIVATE
Return the list of nodes which are online.
-
ganeti.config.ConfigWriter.GetOnlineNodeList
ganeti.config.ConfigWriter.html#GetOnlineNodeList
Function
Method
PUBLIC
Return the list of nodes which are online.
-
ganeti.config.ConfigWriter.GetVmCapableNodeList
ganeti.config.ConfigWriter.html#GetVmCapableNodeList
Function
Method
PUBLIC
Return the list of nodes which are not vm capable.
-
ganeti.config.ConfigWriter.GetNonVmCapableNodeList
ganeti.config.ConfigWriter.html#GetNonVmCapableNodeList
Function
Method
PUBLIC
Return the list of nodes' uuids which are not vm capable.
-
ganeti.config.ConfigWriter.GetNonVmCapableNodeNameList
ganeti.config.ConfigWriter.html#GetNonVmCapableNodeNameList
Function
Method
PUBLIC
Return the list of nodes' names which are not vm capable.
-
ganeti.config.ConfigWriter.GetMultiNodeInfo
ganeti.config.ConfigWriter.html#GetMultiNodeInfo
Function
Method
PUBLIC
Get the configuration of multiple nodes.
-
ganeti.config.ConfigWriter._UnlockedGetAllNodesInfo
ganeti.config.ConfigWriter.html#_UnlockedGetAllNodesInfo
Function
Method
PRIVATE
Gets configuration of all nodes.
-
ganeti.config.ConfigWriter.GetAllNodesInfo
ganeti.config.ConfigWriter.html#GetAllNodesInfo
Function
Method
PUBLIC
Get the configuration of all nodes.
-
ganeti.config.ConfigWriter._UnlockedGetNodeInfoByName
ganeti.config.ConfigWriter.html#_UnlockedGetNodeInfoByName
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetNodeInfoByName
ganeti.config.ConfigWriter.html#GetNodeInfoByName
Function
Method
PUBLIC
-
ganeti.config.ConfigWriter.GetNodeGroupInfoByName
ganeti.config.ConfigWriter.html#GetNodeGroupInfoByName
Function
Method
PUBLIC
-
ganeti.config.ConfigWriter._UnlockedGetNodeName
ganeti.config.ConfigWriter.html#_UnlockedGetNodeName
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetNodeName
ganeti.config.ConfigWriter.html#GetNodeName
Function
Method
PUBLIC
Gets the node name for the passed node.
-
ganeti.config.ConfigWriter._UnlockedGetNodeNames
ganeti.config.ConfigWriter.html#_UnlockedGetNodeNames
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetNodeNames
ganeti.config.ConfigWriter.html#GetNodeNames
Function
Method
PUBLIC
Gets the node names for the passed list of nodes.
-
ganeti.config.ConfigWriter.GetNodeGroupsFromNodes
ganeti.config.ConfigWriter.html#GetNodeGroupsFromNodes
Function
Method
PUBLIC
Returns groups for a list of nodes.
-
ganeti.config.ConfigWriter._UnlockedGetMasterCandidateUuids
ganeti.config.ConfigWriter.html#_UnlockedGetMasterCandidateUuids
Function
Method
PRIVATE
Get the list of UUIDs of master candidates.
-
ganeti.config.ConfigWriter.GetMasterCandidateUuids
ganeti.config.ConfigWriter.html#GetMasterCandidateUuids
Function
Method
PUBLIC
Get the list of UUIDs of master candidates.
-
ganeti.config.ConfigWriter._UnlockedGetMasterCandidateStats
ganeti.config.ConfigWriter.html#_UnlockedGetMasterCandidateStats
Function
Method
PRIVATE
Get the number of current and maximum desired and possible candidates.
-
ganeti.config.ConfigWriter.GetMasterCandidateStats
ganeti.config.ConfigWriter.html#GetMasterCandidateStats
Function
Method
PUBLIC
Get the number of current and maximum possible candidates.
-
ganeti.config.ConfigWriter.MaintainCandidatePool
ganeti.config.ConfigWriter.html#MaintainCandidatePool
Function
Method
PUBLIC
Try to grow the candidate pool to the desired size.
-
ganeti.config.ConfigWriter._UnlockedAddNodeToGroup
ganeti.config.ConfigWriter.html#_UnlockedAddNodeToGroup
Function
Method
PRIVATE
Add a given node to the specified group.
-
ganeti.config.ConfigWriter._UnlockedRemoveNodeFromGroup
ganeti.config.ConfigWriter.html#_UnlockedRemoveNodeFromGroup
Function
Method
PRIVATE
Remove a given node from its group.
-
ganeti.config.ConfigWriter.AssignGroupNodes
ganeti.config.ConfigWriter.html#AssignGroupNodes
Function
Method
PUBLIC
Changes the group of a number of nodes.
-
ganeti.config.ConfigWriter._BumpSerialNo
ganeti.config.ConfigWriter.html#_BumpSerialNo
Function
Method
PRIVATE
Bump up the serial number of the config.
-
ganeti.config.ConfigWriter._AllUUIDObjects
ganeti.config.ConfigWriter.html#_AllUUIDObjects
Function
Method
PRIVATE
Returns all objects with uuid attributes.
-
ganeti.config.ConfigWriter.GetConfigManager
ganeti.config.ConfigWriter.html#GetConfigManager
Function
Method
PUBLIC
Returns a ConfigManager, which is suitable to perform a synchronized block of configuration operations.
-
ganeti.config.ConfigWriter._AddLockCount
ganeti.config.ConfigWriter.html#_AddLockCount
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._LockCount
ganeti.config.ConfigWriter.html#_LockCount
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._OpenConfig
ganeti.config.ConfigWriter.html#_OpenConfig
Function
Method
PRIVATE
Read the config data from WConfd or disk.
-
ganeti.config.ConfigWriter._CloseConfig
ganeti.config.ConfigWriter.html#_CloseConfig
Function
Method
PRIVATE
Release resources relating the config data.
-
ganeti.config.ConfigWriter._UpgradeConfig
ganeti.config.ConfigWriter.html#_UpgradeConfig
Function
Method
PRIVATE
Run any upgrade steps.
-
ganeti.config.ConfigWriter._WriteConfig
ganeti.config.ConfigWriter.html#_WriteConfig
Function
Method
PRIVATE
Write the configuration data to persistent storage.
-
ganeti.config.ConfigWriter._GetAllHvparamsStrings
ganeti.config.ConfigWriter.html#_GetAllHvparamsStrings
Function
Method
PRIVATE
Get the hvparams of all given hypervisors from the config.
-
ganeti.config.ConfigWriter._ExtendByAllHvparamsStrings
ganeti.config.ConfigWriter.html#_ExtendByAllHvparamsStrings
Function
Static Method
PRIVATE
Extends the ssconf_values dictionary by hvparams.
-
ganeti.config.ConfigWriter._UnlockedGetSshPortMap
ganeti.config.ConfigWriter.html#_UnlockedGetSshPortMap
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter._UnlockedGetSsconfValues
ganeti.config.ConfigWriter.html#_UnlockedGetSsconfValues
Function
Method
PRIVATE
Return the values needed by ssconf.
-
ganeti.config.ConfigWriter.GetSsconfValues
ganeti.config.ConfigWriter.html#GetSsconfValues
Function
Method
PUBLIC
Wrapper using lock around _UnlockedGetSsconf().
-
ganeti.config.ConfigWriter.GetVGName
ganeti.config.ConfigWriter.html#GetVGName
Function
Method
PUBLIC
Return the volume group name.
-
ganeti.config.ConfigWriter.SetVGName
ganeti.config.ConfigWriter.html#SetVGName
Function
Method
PUBLIC
Set the volume group name.
-
ganeti.config.ConfigWriter.GetDRBDHelper
ganeti.config.ConfigWriter.html#GetDRBDHelper
Function
Method
PUBLIC
Return DRBD usermode helper.
-
ganeti.config.ConfigWriter.SetDRBDHelper
ganeti.config.ConfigWriter.html#SetDRBDHelper
Function
Method
PUBLIC
Set DRBD usermode helper.
-
ganeti.config.ConfigWriter.GetMACPrefix
ganeti.config.ConfigWriter.html#GetMACPrefix
Function
Method
PUBLIC
Return the mac prefix.
-
ganeti.config.ConfigWriter.GetClusterInfo
ganeti.config.ConfigWriter.html#GetClusterInfo
Function
Method
PUBLIC
Returns information about the cluster
-
ganeti.config.ConfigWriter.DisksOfType
ganeti.config.ConfigWriter.html#DisksOfType
Function
Method
PUBLIC
Check if in there is at disk of the given type in the configuration.
-
ganeti.config.ConfigWriter.GetDetachedConfig
ganeti.config.ConfigWriter.html#GetDetachedConfig
Function
Method
PUBLIC
Returns a detached version of a ConfigManager, which represents a read-only snapshot of the configuration at this particular time.
-
ganeti.config.ConfigWriter.Update
ganeti.config.ConfigWriter.html#Update
Function
Method
PUBLIC
Notify function to be called after updates.
-
ganeti.config.ConfigWriter.UpdateOfflineCluster
ganeti.config.ConfigWriter.html#UpdateOfflineCluster
Function
Method
PUBLIC
Undocumented
-
ganeti.config.ConfigWriter._UnlockedDropECReservations
ganeti.config.ConfigWriter.html#_UnlockedDropECReservations
Function
Method
PRIVATE
Drop per-execution-context reservations
-
ganeti.config.ConfigWriter.DropECReservations
ganeti.config.ConfigWriter.html#DropECReservations
Function
Method
PUBLIC
Undocumented
-
ganeti.config.ConfigWriter.GetAllNetworksInfo
ganeti.config.ConfigWriter.html#GetAllNetworksInfo
Function
Method
PUBLIC
Get configuration info of all the networks.
-
ganeti.config.ConfigWriter._UnlockedGetNetworkList
ganeti.config.ConfigWriter.html#_UnlockedGetNetworkList
Function
Method
PRIVATE
Get the list of networks.
-
ganeti.config.ConfigWriter.GetNetworkList
ganeti.config.ConfigWriter.html#GetNetworkList
Function
Method
PUBLIC
Get the list of networks.
-
ganeti.config.ConfigWriter.GetNetworkNames
ganeti.config.ConfigWriter.html#GetNetworkNames
Function
Method
PUBLIC
Get a list of network names
-
ganeti.config.ConfigWriter._UnlockedGetNetwork
ganeti.config.ConfigWriter.html#_UnlockedGetNetwork
Function
Method
PRIVATE
Returns information about a network.
-
ganeti.config.ConfigWriter.GetNetwork
ganeti.config.ConfigWriter.html#GetNetwork
Function
Method
PUBLIC
Returns information about a network.
-
ganeti.config.ConfigWriter.AddNetwork
ganeti.config.ConfigWriter.html#AddNetwork
Function
Method
PUBLIC
Add a network to the configuration.
-
ganeti.config.ConfigWriter._UnlockedAddNetwork
ganeti.config.ConfigWriter.html#_UnlockedAddNetwork
Function
Method
PRIVATE
Add a network to the configuration.
-
ganeti.config.ConfigWriter._UnlockedLookupNetwork
ganeti.config.ConfigWriter.html#_UnlockedLookupNetwork
Function
Method
PRIVATE
Lookup a network's UUID.
-
ganeti.config.ConfigWriter.LookupNetwork
ganeti.config.ConfigWriter.html#LookupNetwork
Function
Method
PUBLIC
Lookup a network's UUID.
-
ganeti.config.ConfigWriter.RemoveNetwork
ganeti.config.ConfigWriter.html#RemoveNetwork
Function
Method
PUBLIC
Remove a network from the configuration.
-
ganeti.config.ConfigWriter._UnlockedGetGroupNetParams
ganeti.config.ConfigWriter.html#_UnlockedGetGroupNetParams
Function
Method
PRIVATE
Get the netparams (mode, link) of a network.
-
ganeti.config.ConfigWriter.GetGroupNetParams
ganeti.config.ConfigWriter.html#GetGroupNetParams
Function
Method
PUBLIC
Locking wrapper of _UnlockedGetGroupNetParams()
-
ganeti.config.ConfigWriter.CheckIPInNodeGroup
ganeti.config.ConfigWriter.html#CheckIPInNodeGroup
Function
Method
PUBLIC
Check IP uniqueness in nodegroup.
-
ganeti.config.ConfigWriter.GetCandidateCerts
ganeti.config.ConfigWriter.html#GetCandidateCerts
Function
Method
PUBLIC
Returns the candidate certificate map.
-
ganeti.config.ConfigWriter.SetCandidateCerts
ganeti.config.ConfigWriter.html#SetCandidateCerts
Function
Method
PUBLIC
Replaces the master candidate cert list with the new values.
-
ganeti.config.ConfigWriter.AddNodeToCandidateCerts
ganeti.config.ConfigWriter.html#AddNodeToCandidateCerts
Function
Method
PUBLIC
Adds an entry to the candidate certificate map.
-
ganeti.config.ConfigWriter.RemoveNodeFromCandidateCerts
ganeti.config.ConfigWriter.html#RemoveNodeFromCandidateCerts
Function
Method
PUBLIC
Removes the entry of the given node in the certificate map.
-
ganeti.config.ConfigWriter.FlushConfig
ganeti.config.ConfigWriter.html#FlushConfig
Function
Method
PUBLIC
Force the distribution of configuration to master candidates.
-
ganeti.config.ConfigWriter.FlushConfigGroup
ganeti.config.ConfigWriter.html#FlushConfigGroup
Function
Method
PUBLIC
Force the distribution of configuration to master candidates of a group.
-
ganeti.config.ConfigWriter.GetAllDiskInfo
ganeti.config.ConfigWriter.html#GetAllDiskInfo
Function
Method
PUBLIC
Get the configuration of all disks.
-
ganeti.config.ConfigWriter._UnlockedGetAllDiskInfo
ganeti.config.ConfigWriter.html#_UnlockedGetAllDiskInfo
Function
Method
PRIVATE
Undocumented
-
ganeti.config.ConfigWriter.GetInstanceForDisk
ganeti.config.ConfigWriter.html#GetInstanceForDisk
Function
Method
PUBLIC
Returns the instance the disk is currently attached to.
-
ganeti.config.DetachedConfig
ganeti.config.DetachedConfig.html
Class
Class
PUBLIC
Read-only snapshot of the config.
-
ganeti.config.DetachedConfig.__init__
ganeti.config.DetachedConfig.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.config.DetachedConfig._WriteCallError
ganeti.config.DetachedConfig.html#_WriteCallError
Function
Static Method
PRIVATE
Undocumented
-
ganeti.config.DetachedConfig._OpenConfig
ganeti.config.DetachedConfig.html#_OpenConfig
Function
Method
PRIVATE
Read the config data from WConfd or disk.
-
ganeti.config.DetachedConfig._CloseConfig
ganeti.config.DetachedConfig.html#_CloseConfig
Function
Method
PRIVATE
Release resources relating the config data.
-
ganeti.bootstrap._INITCONF_ECID
ganeti.bootstrap.html#_INITCONF_ECID
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.bootstrap._DAEMON_READY_TIMEOUT
ganeti.bootstrap.html#_DAEMON_READY_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.bootstrap.GenerateHmacKey
ganeti.bootstrap.html#GenerateHmacKey
Function
Function
PUBLIC
Writes a new HMAC key.
-
ganeti.bootstrap.GenerateClusterCrypto
ganeti.bootstrap.html#GenerateClusterCrypto
Function
Function
PUBLIC
Updates the cluster certificates, keys and secrets.
-
ganeti.bootstrap._InitGanetiServerSetup
ganeti.bootstrap.html#_InitGanetiServerSetup
Function
Function
PRIVATE
Setup the necessary configuration for the initial node daemon.
-
ganeti.bootstrap._WaitForNodeDaemon
ganeti.bootstrap.html#_WaitForNodeDaemon
Function
Function
PRIVATE
Wait for node daemon to become responsive.
-
ganeti.bootstrap._WaitForMasterDaemon
ganeti.bootstrap.html#_WaitForMasterDaemon
Function
Function
PRIVATE
Wait for master daemon to become responsive.
-
ganeti.bootstrap._InitFileStorageDir
ganeti.bootstrap.html#_InitFileStorageDir
Function
Function
PRIVATE
Initialize if needed the file storage.
-
ganeti.bootstrap._PrepareFileBasedStorage
ganeti.bootstrap.html#_PrepareFileBasedStorage
Function
Function
PRIVATE
Checks if a file-base storage type is enabled and inits the dir.
-
ganeti.bootstrap._PrepareFileStorage
ganeti.bootstrap.html#_PrepareFileStorage
Function
Function
PRIVATE
Checks if file storage is enabled and inits the dir.
-
ganeti.bootstrap._PrepareSharedFileStorage
ganeti.bootstrap.html#_PrepareSharedFileStorage
Function
Function
PRIVATE
Checks if shared file storage is enabled and inits the dir.
-
ganeti.bootstrap._PrepareGlusterStorage
ganeti.bootstrap.html#_PrepareGlusterStorage
Function
Function
PRIVATE
Checks if gluster storage is enabled and inits the dir.
-
ganeti.bootstrap._InitCheckEnabledDiskTemplates
ganeti.bootstrap.html#_InitCheckEnabledDiskTemplates
Function
Function
PRIVATE
Checks the sanity of the enabled disk templates.
-
ganeti.bootstrap._RestrictIpolicyToEnabledDiskTemplates
ganeti.bootstrap.html#_RestrictIpolicyToEnabledDiskTemplates
Function
Function
PRIVATE
Restricts the ipolicy's disk templates to the enabled ones.
-
ganeti.bootstrap._InitCheckDrbdHelper
ganeti.bootstrap.html#_InitCheckDrbdHelper
Function
Function
PRIVATE
Checks the DRBD usermode helper.
-
ganeti.bootstrap.InitCluster
ganeti.bootstrap.html#InitCluster
Function
Function
PUBLIC
Initialise the cluster.
-
ganeti.bootstrap.InitConfig
ganeti.bootstrap.html#InitConfig
Function
Function
PUBLIC
Create the initial cluster configuration.
-
ganeti.bootstrap.FinalizeClusterDestroy
ganeti.bootstrap.html#FinalizeClusterDestroy
Function
Function
PUBLIC
Execute the last steps of cluster destroy
-
ganeti.bootstrap.SetupNodeDaemon
ganeti.bootstrap.html#SetupNodeDaemon
Function
Function
PUBLIC
Add a node to the cluster.
-
ganeti.bootstrap.MasterFailover
ganeti.bootstrap.html#MasterFailover
Function
Function
PUBLIC
Failover the master node.
-
ganeti.bootstrap.GetMaster
ganeti.bootstrap.html#GetMaster
Function
Function
PUBLIC
Returns the current master node.
-
ganeti.bootstrap._GatherMasterVotes
ganeti.bootstrap.html#_GatherMasterVotes
Function
Function
PRIVATE
Check the agreement on who is the master.
-
ganeti.bootstrap.MajorityHealthy
ganeti.bootstrap.html#MajorityHealthy
Function
Function
PUBLIC
Check if the majority of nodes is healthy
-
ganeti.build.LoadModule
ganeti.build.html#LoadModule
Function
Function
PUBLIC
Loads an external module by filename.
-
ganeti.build.shell_example_lexer.ShellExampleLexer
ganeti.build.shell_example_lexer.ShellExampleLexer.html
Class
Class
PUBLIC
Undocumented
-
ganeti.build.shell_example_lexer.ShellExampleLexer.name
ganeti.build.shell_example_lexer.ShellExampleLexer.html#name
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.shell_example_lexer.ShellExampleLexer.aliases
ganeti.build.shell_example_lexer.ShellExampleLexer.html#aliases
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.shell_example_lexer.ShellExampleLexer.filenames
ganeti.build.shell_example_lexer.ShellExampleLexer.html#filenames
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.shell_example_lexer.ShellExampleLexer.tokens
ganeti.build.shell_example_lexer.ShellExampleLexer.html#tokens
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.shell_example_lexer.setup
ganeti.build.shell_example_lexer.html#setup
Function
Function
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.orig_manpage_role
ganeti.build.sphinx_ext.html#orig_manpage_role
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.rapi.RAPI_ACCESS_WRITE
ganeti.rapi.html#RAPI_ACCESS_WRITE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.RAPI_ACCESS_READ
ganeti.rapi.html#RAPI_ACCESS_READ
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.RAPI_ACCESS_ALL
ganeti.rapi.html#RAPI_ACCESS_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext._MAN_RE
ganeti.build.sphinx_ext.html#_MAN_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.build.sphinx_ext._TAB_WIDTH
ganeti.build.sphinx_ext.html#_TAB_WIDTH
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.build.sphinx_ext.RAPI_URI_ENCODE_RE
ganeti.build.sphinx_ext.html#RAPI_URI_ENCODE_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.ReSTError
ganeti.build.sphinx_ext.ReSTError.html
Class
Exception
PUBLIC
Custom class for generating errors in Sphinx.
-
ganeti.build.sphinx_ext._GetCommonParamNames
ganeti.build.sphinx_ext.html#_GetCommonParamNames
Function
Function
PRIVATE
Builds a list of parameters common to all opcodes.
-
ganeti.build.sphinx_ext.COMMON_PARAM_NAMES
ganeti.build.sphinx_ext.html#COMMON_PARAM_NAMES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.EVAL_NS
ganeti.build.sphinx_ext.html#EVAL_NS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.CV_ECODES_DOC
ganeti.build.sphinx_ext.html#CV_ECODES_DOC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.CV_ECODES_DOC_LIST
ganeti.build.sphinx_ext.html#CV_ECODES_DOC_LIST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.DOCUMENTED_CONSTANTS
ganeti.build.sphinx_ext.html#DOCUMENTED_CONSTANTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeError
ganeti.build.sphinx_ext.OpcodeError.html
Class
Class
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeError.category
ganeti.build.sphinx_ext.OpcodeError.html#category
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext._SplitOption
ganeti.build.sphinx_ext.html#_SplitOption
Function
Function
PRIVATE
Split simple option list.
-
ganeti.build.sphinx_ext._ParseAlias
ganeti.build.sphinx_ext.html#_ParseAlias
Function
Function
PRIVATE
Parse simple assignment option.
-
ganeti.build.sphinx_ext._BuildOpcodeParams
ganeti.build.sphinx_ext.html#_BuildOpcodeParams
Function
Function
PRIVATE
Build opcode parameter documentation.
-
ganeti.build.sphinx_ext._BuildOpcodeResult
ganeti.build.sphinx_ext.html#_BuildOpcodeResult
Function
Function
PRIVATE
Build opcode result documentation.
-
ganeti.build.sphinx_ext.OpcodeParams
ganeti.build.sphinx_ext.OpcodeParams.html
Class
Class
PUBLIC
Custom directive for opcode parameters.
-
ganeti.build.sphinx_ext.OpcodeParams.has_content
ganeti.build.sphinx_ext.OpcodeParams.html#has_content
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeParams.required_arguments
ganeti.build.sphinx_ext.OpcodeParams.html#required_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeParams.optional_arguments
ganeti.build.sphinx_ext.OpcodeParams.html#optional_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeParams.final_argument_whitespace
ganeti.build.sphinx_ext.OpcodeParams.html#final_argument_whitespace
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeParams.option_spec
ganeti.build.sphinx_ext.OpcodeParams.html#option_spec
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeParams.run
ganeti.build.sphinx_ext.OpcodeParams.html#run
Function
Method
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeResult
ganeti.build.sphinx_ext.OpcodeResult.html
Class
Class
PUBLIC
Custom directive for opcode result.
-
ganeti.build.sphinx_ext.OpcodeResult.has_content
ganeti.build.sphinx_ext.OpcodeResult.html#has_content
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeResult.required_arguments
ganeti.build.sphinx_ext.OpcodeResult.html#required_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeResult.optional_arguments
ganeti.build.sphinx_ext.OpcodeResult.html#optional_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeResult.final_argument_whitespace
ganeti.build.sphinx_ext.OpcodeResult.html#final_argument_whitespace
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.OpcodeResult.run
ganeti.build.sphinx_ext.OpcodeResult.html#run
Function
Method
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.PythonEvalRole
ganeti.build.sphinx_ext.html#PythonEvalRole
Function
Function
PUBLIC
Custom role to evaluate Python expressions.
-
ganeti.build.sphinx_ext.PythonAssert
ganeti.build.sphinx_ext.PythonAssert.html
Class
Class
PUBLIC
Custom directive for writing assertions.
-
ganeti.build.sphinx_ext.PythonAssert.has_content
ganeti.build.sphinx_ext.PythonAssert.html#has_content
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.PythonAssert.required_arguments
ganeti.build.sphinx_ext.PythonAssert.html#required_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.PythonAssert.optional_arguments
ganeti.build.sphinx_ext.PythonAssert.html#optional_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.PythonAssert.final_argument_whitespace
ganeti.build.sphinx_ext.PythonAssert.html#final_argument_whitespace
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.PythonAssert.run
ganeti.build.sphinx_ext.PythonAssert.html#run
Function
Method
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.BuildQueryFields
ganeti.build.sphinx_ext.html#BuildQueryFields
Function
Function
PUBLIC
Build query fields documentation.
-
ganeti.build.sphinx_ext.BuildValuesDoc
ganeti.build.sphinx_ext.html#BuildValuesDoc
Function
Function
PUBLIC
Builds documentation for a list of values
-
ganeti.build.sphinx_ext._ManPageNodeClass
ganeti.build.sphinx_ext.html#_ManPageNodeClass
Function
Function
PRIVATE
Generates a pending XRef like a ":doc:`...`" reference.
-
ganeti.build.sphinx_ext._ManPageXRefRole
ganeti.build.sphinx_ext._ManPageXRefRole.html
Class
Class
PRIVATE
No class docstring; 0/1 instance variable, 2/2 methods documented
-
ganeti.build.sphinx_ext._ManPageXRefRole.__init__
ganeti.build.sphinx_ext._ManPageXRefRole.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.build.sphinx_ext._ManPageXRefRole.converted
ganeti.build.sphinx_ext._ManPageXRefRole.html#converted
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext._ManPageXRefRole.process_link
ganeti.build.sphinx_ext._ManPageXRefRole.html#process_link
Function
Method
PUBLIC
Specialization for man page links.
-
ganeti.build.sphinx_ext._EncodeRapiResourceLink
ganeti.build.sphinx_ext.html#_EncodeRapiResourceLink
Function
Function
PRIVATE
Encodes a RAPI resource URI for use as a link target.
-
ganeti.build.sphinx_ext._MakeRapiResourceLink
ganeti.build.sphinx_ext.html#_MakeRapiResourceLink
Function
Function
PRIVATE
Generates link target name for RAPI resource.
-
ganeti.build.sphinx_ext._GetHandlerMethods
ganeti.build.sphinx_ext.html#_GetHandlerMethods
Function
Function
PRIVATE
Returns list of HTTP methods supported by handler class.
-
ganeti.build.sphinx_ext._DescribeHandlerAccess
ganeti.build.sphinx_ext.html#_DescribeHandlerAccess
Function
Function
PRIVATE
Returns textual description of required RAPI permissions.
-
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper.html
Class
Class
PRIVATE
No class docstring; 1/1 static method, 2/2 class methods documented
-
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper.Build
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper.html#Build
Function
Class Method
PUBLIC
Returns dictionary of resource handlers.
-
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper._TranslateResourceUri
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper.html#_TranslateResourceUri
Function
Class Method
PRIVATE
Translates a resource URI for use in documentation.
-
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper._UriPatternToString
ganeti.build.sphinx_ext._RapiHandlersForDocsHelper.html#_UriPatternToString
Function
Static Method
PRIVATE
-
ganeti.build.sphinx_ext._RAPI_RESOURCES_FOR_DOCS
ganeti.build.sphinx_ext.html#_RAPI_RESOURCES_FOR_DOCS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.build.sphinx_ext._BuildRapiAccessTable
ganeti.build.sphinx_ext.html#_BuildRapiAccessTable
Function
Function
PRIVATE
Build a table with access permissions needed for all RAPI resources.
-
ganeti.build.sphinx_ext.RapiAccessTable
ganeti.build.sphinx_ext.RapiAccessTable.html
Class
Class
PUBLIC
Custom directive to generate table of all RAPI resources.
-
ganeti.build.sphinx_ext.RapiAccessTable.has_content
ganeti.build.sphinx_ext.RapiAccessTable.html#has_content
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiAccessTable.required_arguments
ganeti.build.sphinx_ext.RapiAccessTable.html#required_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiAccessTable.optional_arguments
ganeti.build.sphinx_ext.RapiAccessTable.html#optional_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiAccessTable.final_argument_whitespace
ganeti.build.sphinx_ext.RapiAccessTable.html#final_argument_whitespace
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiAccessTable.option_spec
ganeti.build.sphinx_ext.RapiAccessTable.html#option_spec
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiAccessTable.run
ganeti.build.sphinx_ext.RapiAccessTable.html#run
Function
Method
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiResourceDetails
ganeti.build.sphinx_ext.RapiResourceDetails.html
Class
Class
PUBLIC
Custom directive for RAPI resource details.
-
ganeti.build.sphinx_ext.RapiResourceDetails.has_content
ganeti.build.sphinx_ext.RapiResourceDetails.html#has_content
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiResourceDetails.required_arguments
ganeti.build.sphinx_ext.RapiResourceDetails.html#required_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiResourceDetails.optional_arguments
ganeti.build.sphinx_ext.RapiResourceDetails.html#optional_arguments
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiResourceDetails.final_argument_whitespace
ganeti.build.sphinx_ext.RapiResourceDetails.html#final_argument_whitespace
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.RapiResourceDetails.run
ganeti.build.sphinx_ext.RapiResourceDetails.html#run
Function
Method
PUBLIC
Undocumented
-
ganeti.build.sphinx_ext.setup
ganeti.build.sphinx_ext.html#setup
Function
Function
PUBLIC
Sphinx extension callback.
-
ganeti.cli_opts.NO_PREFIX
ganeti.cli_opts.html#NO_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.UN_PREFIX
ganeti.cli_opts.html#UN_PREFIX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts._PRIORITY_NAMES
ganeti.cli_opts.html#_PRIORITY_NAMES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cli_opts._PRIONAME_TO_VALUE
ganeti.cli_opts.html#_PRIONAME_TO_VALUE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cli_opts.check_unit
ganeti.cli_opts.html#check_unit
Function
Function
PUBLIC
OptParsers custom converter for units.
-
ganeti.cli_opts._SplitKeyVal
ganeti.cli_opts.html#_SplitKeyVal
Function
Function
PRIVATE
Convert a KeyVal string into a dict.
-
ganeti.cli_opts._SplitIdentKeyVal
ganeti.cli_opts.html#_SplitIdentKeyVal
Function
Function
PRIVATE
Helper function to parse "ident:key=val,key=val" options.
-
ganeti.cli_opts.check_ident_key_val
ganeti.cli_opts.html#check_ident_key_val
Function
Function
PUBLIC
Custom parser for ident:key=val,key=val options.
-
ganeti.cli_opts.check_key_val
ganeti.cli_opts.html#check_key_val
Function
Function
PUBLIC
Custom parser class for key=val,key=val options.
-
ganeti.cli_opts.check_key_private_val
ganeti.cli_opts.html#check_key_private_val
Function
Function
PUBLIC
Custom parser class for private and secret key=val,key=val options.
-
ganeti.cli_opts._SplitListKeyVal
ganeti.cli_opts.html#_SplitListKeyVal
Function
Function
PRIVATE
Undocumented
-
ganeti.cli_opts.check_multilist_ident_key_val
ganeti.cli_opts.html#check_multilist_ident_key_val
Function
Function
PUBLIC
Custom parser for "ident:key=val,key=val/ident:key=val//ident:.." options.
-
ganeti.cli_opts.check_bool
ganeti.cli_opts.html#check_bool
Function
Function
PUBLIC
Custom parser for yes/no options.
-
ganeti.cli_opts.check_list
ganeti.cli_opts.html#check_list
Function
Function
PUBLIC
Custom parser for comma-separated lists.
-
ganeti.cli_opts.check_maybefloat
ganeti.cli_opts.html#check_maybefloat
Function
Function
PUBLIC
Custom parser for float numbers which might be also defaults.
-
ganeti.cli_opts.check_json
ganeti.cli_opts.html#check_json
Function
Function
PUBLIC
Custom parser for JSON arguments.
-
ganeti.cli_opts.check_filteraction
ganeti.cli_opts.html#check_filteraction
Function
Function
PUBLIC
Custom parser for filter rule actions.
-
ganeti.cli_opts.OPT_COMPL_MANY_NODES
ganeti.cli_opts.html#OPT_COMPL_MANY_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_NODE
ganeti.cli_opts.html#OPT_COMPL_ONE_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_INSTANCE
ganeti.cli_opts.html#OPT_COMPL_ONE_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_OS
ganeti.cli_opts.html#OPT_COMPL_ONE_OS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_EXTSTORAGE
ganeti.cli_opts.html#OPT_COMPL_ONE_EXTSTORAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_FILTER
ganeti.cli_opts.html#OPT_COMPL_ONE_FILTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_IALLOCATOR
ganeti.cli_opts.html#OPT_COMPL_ONE_IALLOCATOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_NETWORK
ganeti.cli_opts.html#OPT_COMPL_ONE_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_INST_ADD_NODES
ganeti.cli_opts.html#OPT_COMPL_INST_ADD_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ONE_NODEGROUP
ganeti.cli_opts.html#OPT_COMPL_ONE_NODEGROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPT_COMPL_ALL
ganeti.cli_opts.html#OPT_COMPL_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CliOption
ganeti.cli_opts.CliOption.html
Class
Class
PUBLIC
Custom option class for optparse.
-
ganeti.cli_opts.CliOption.ATTRS
ganeti.cli_opts.CliOption.html#ATTRS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CliOption.TYPES
ganeti.cli_opts.CliOption.html#TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CliOption.TYPE_CHECKER
ganeti.cli_opts.CliOption.html#TYPE_CHECKER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts._YORNO
ganeti.cli_opts.html#_YORNO
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cli_opts.DEBUG_OPT
ganeti.cli_opts.html#DEBUG_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOHDR_OPT
ganeti.cli_opts.html#NOHDR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SEP_OPT
ganeti.cli_opts.html#SEP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.USEUNITS_OPT
ganeti.cli_opts.html#USEUNITS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FIELDS_OPT
ganeti.cli_opts.html#FIELDS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FORCE_OPT
ganeti.cli_opts.html#FORCE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CONFIRM_OPT
ganeti.cli_opts.html#CONFIRM_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_OFFLINE_OPT
ganeti.cli_opts.html#IGNORE_OFFLINE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_SOFT_ERRORS_OPT
ganeti.cli_opts.html#IGNORE_SOFT_ERRORS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.TAG_ADD_OPT
ganeti.cli_opts.html#TAG_ADD_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.TAG_SRC_OPT
ganeti.cli_opts.html#TAG_SRC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SUBMIT_OPT
ganeti.cli_opts.html#SUBMIT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.PRINT_JOBID_OPT
ganeti.cli_opts.html#PRINT_JOBID_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SEQUENTIAL_OPT
ganeti.cli_opts.html#SEQUENTIAL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SYNC_OPT
ganeti.cli_opts.html#SYNC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DRY_RUN_OPT
ganeti.cli_opts.html#DRY_RUN_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.VERBOSE_OPT
ganeti.cli_opts.html#VERBOSE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DEBUG_SIMERR_OPT
ganeti.cli_opts.html#DEBUG_SIMERR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NWSYNC_OPT
ganeti.cli_opts.html#NWSYNC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.WFSYNC_OPT
ganeti.cli_opts.html#WFSYNC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ONLINE_INST_OPT
ganeti.cli_opts.html#ONLINE_INST_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OFFLINE_INST_OPT
ganeti.cli_opts.html#OFFLINE_INST_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DISK_TEMPLATE_OPT
ganeti.cli_opts.html#DISK_TEMPLATE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.EXT_PARAMS_OPT
ganeti.cli_opts.html#EXT_PARAMS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NONICS_OPT
ganeti.cli_opts.html#NONICS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FILESTORE_DIR_OPT
ganeti.cli_opts.html#FILESTORE_DIR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FILESTORE_DRIVER_OPT
ganeti.cli_opts.html#FILESTORE_DRIVER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IALLOCATOR_OPT
ganeti.cli_opts.html#IALLOCATOR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DEFAULT_IALLOCATOR_OPT
ganeti.cli_opts.html#DEFAULT_IALLOCATOR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DEFAULT_IALLOCATOR_PARAMS_OPT
ganeti.cli_opts.html#DEFAULT_IALLOCATOR_PARAMS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OS_OPT
ganeti.cli_opts.html#OS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OSPARAMS_OPT
ganeti.cli_opts.html#OSPARAMS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OSPARAMS_PRIVATE_OPT
ganeti.cli_opts.html#OSPARAMS_PRIVATE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OSPARAMS_SECRET_OPT
ganeti.cli_opts.html#OSPARAMS_SECRET_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FORCE_VARIANT_OPT
ganeti.cli_opts.html#FORCE_VARIANT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NO_INSTALL_OPT
ganeti.cli_opts.html#NO_INSTALL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NORUNTIME_CHGS_OPT
ganeti.cli_opts.html#NORUNTIME_CHGS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.BACKEND_OPT
ganeti.cli_opts.html#BACKEND_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HVOPTS_OPT
ganeti.cli_opts.html#HVOPTS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DISK_PARAMS_OPT
ganeti.cli_opts.html#DISK_PARAMS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPECS_MEM_SIZE_OPT
ganeti.cli_opts.html#SPECS_MEM_SIZE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPECS_CPU_COUNT_OPT
ganeti.cli_opts.html#SPECS_CPU_COUNT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPECS_DISK_COUNT_OPT
ganeti.cli_opts.html#SPECS_DISK_COUNT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPECS_DISK_SIZE_OPT
ganeti.cli_opts.html#SPECS_DISK_SIZE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPECS_NIC_COUNT_OPT
ganeti.cli_opts.html#SPECS_NIC_COUNT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_BOUNDS_SPECS_STR
ganeti.cli_opts.html#IPOLICY_BOUNDS_SPECS_STR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_BOUNDS_SPECS_OPT
ganeti.cli_opts.html#IPOLICY_BOUNDS_SPECS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_STD_SPECS_STR
ganeti.cli_opts.html#IPOLICY_STD_SPECS_STR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_STD_SPECS_OPT
ganeti.cli_opts.html#IPOLICY_STD_SPECS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_DISK_TEMPLATES
ganeti.cli_opts.html#IPOLICY_DISK_TEMPLATES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_VCPU_RATIO
ganeti.cli_opts.html#IPOLICY_VCPU_RATIO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IPOLICY_SPINDLE_RATIO
ganeti.cli_opts.html#IPOLICY_SPINDLE_RATIO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HYPERVISOR_OPT
ganeti.cli_opts.html#HYPERVISOR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HVLIST_OPT
ganeti.cli_opts.html#HVLIST_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOIPCHECK_OPT
ganeti.cli_opts.html#NOIPCHECK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NONAMECHECK_OPT
ganeti.cli_opts.html#NONAMECHECK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NET_OPT
ganeti.cli_opts.html#NET_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DISK_OPT
ganeti.cli_opts.html#DISK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DISKIDX_OPT
ganeti.cli_opts.html#DISKIDX_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OS_SIZE_OPT
ganeti.cli_opts.html#OS_SIZE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_CONSIST_OPT
ganeti.cli_opts.html#IGNORE_CONSIST_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_HVVERSIONS_OPT
ganeti.cli_opts.html#IGNORE_HVVERSIONS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ALLOW_FAILOVER_OPT
ganeti.cli_opts.html#ALLOW_FAILOVER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FORCE_FAILOVER_OPT
ganeti.cli_opts.html#FORCE_FAILOVER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NONLIVE_OPT
ganeti.cli_opts.html#NONLIVE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MIGRATION_MODE_OPT
ganeti.cli_opts.html#MIGRATION_MODE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODE_PLACEMENT_OPT
ganeti.cli_opts.html#NODE_PLACEMENT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODE_LIST_OPT
ganeti.cli_opts.html#NODE_LIST_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODEGROUP_OPT_NAME
ganeti.cli_opts.html#NODEGROUP_OPT_NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODEGROUP_OPT
ganeti.cli_opts.html#NODEGROUP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SINGLE_NODE_OPT
ganeti.cli_opts.html#SINGLE_NODE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOSTART_OPT
ganeti.cli_opts.html#NOSTART_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FORTHCOMING_OPT
ganeti.cli_opts.html#FORTHCOMING_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.COMMIT_OPT
ganeti.cli_opts.html#COMMIT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SHOWCMD_OPT
ganeti.cli_opts.html#SHOWCMD_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CLEANUP_OPT
ganeti.cli_opts.html#CLEANUP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.STATIC_OPT
ganeti.cli_opts.html#STATIC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ALL_OPT
ganeti.cli_opts.html#ALL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SELECT_OS_OPT
ganeti.cli_opts.html#SELECT_OS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_FAILURES_OPT
ganeti.cli_opts.html#IGNORE_FAILURES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_REMOVE_FAILURES_OPT
ganeti.cli_opts.html#IGNORE_REMOVE_FAILURES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.REMOVE_INSTANCE_OPT
ganeti.cli_opts.html#REMOVE_INSTANCE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DST_NODE_OPT
ganeti.cli_opts.html#DST_NODE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_SECONDARY_OPT
ganeti.cli_opts.html#NEW_SECONDARY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_PRIMARY_OPT
ganeti.cli_opts.html#NEW_PRIMARY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ON_PRIMARY_OPT
ganeti.cli_opts.html#ON_PRIMARY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ON_SECONDARY_OPT
ganeti.cli_opts.html#ON_SECONDARY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.AUTO_PROMOTE_OPT
ganeti.cli_opts.html#AUTO_PROMOTE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.AUTO_REPLACE_OPT
ganeti.cli_opts.html#AUTO_REPLACE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_SIZE_OPT
ganeti.cli_opts.html#IGNORE_SIZE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SRC_NODE_OPT
ganeti.cli_opts.html#SRC_NODE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SRC_DIR_OPT
ganeti.cli_opts.html#SRC_DIR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SECONDARY_IP_OPT
ganeti.cli_opts.html#SECONDARY_IP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.READD_OPT
ganeti.cli_opts.html#READD_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOSSH_KEYCHECK_OPT
ganeti.cli_opts.html#NOSSH_KEYCHECK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODE_FORCE_JOIN_OPT
ganeti.cli_opts.html#NODE_FORCE_JOIN_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MC_OPT
ganeti.cli_opts.html#MC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OFFLINE_OPT
ganeti.cli_opts.html#OFFLINE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DRAINED_OPT
ganeti.cli_opts.html#DRAINED_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CAPAB_MASTER_OPT
ganeti.cli_opts.html#CAPAB_MASTER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CAPAB_VM_OPT
ganeti.cli_opts.html#CAPAB_VM_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ALLOCATABLE_OPT
ganeti.cli_opts.html#ALLOCATABLE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ENABLED_HV_OPT
ganeti.cli_opts.html#ENABLED_HV_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ENABLED_DISK_TEMPLATES_OPT
ganeti.cli_opts.html#ENABLED_DISK_TEMPLATES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ENABLED_USER_SHUTDOWN_OPT
ganeti.cli_opts.html#ENABLED_USER_SHUTDOWN_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NIC_PARAMS_OPT
ganeti.cli_opts.html#NIC_PARAMS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CP_SIZE_OPT
ganeti.cli_opts.html#CP_SIZE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.RQL_OPT
ganeti.cli_opts.html#RQL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MAX_TRACK_OPT
ganeti.cli_opts.html#MAX_TRACK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.COMPRESSION_TOOLS_OPT
ganeti.cli_opts.html#COMPRESSION_TOOLS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.VG_NAME_OPT
ganeti.cli_opts.html#VG_NAME_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.YES_DOIT_OPT
ganeti.cli_opts.html#YES_DOIT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOVOTING_OPT
ganeti.cli_opts.html#NOVOTING_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MAC_PREFIX_OPT
ganeti.cli_opts.html#MAC_PREFIX_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MASTER_NETDEV_OPT
ganeti.cli_opts.html#MASTER_NETDEV_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MASTER_NETMASK_OPT
ganeti.cli_opts.html#MASTER_NETMASK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.USE_EXTERNAL_MIP_SCRIPT
ganeti.cli_opts.html#USE_EXTERNAL_MIP_SCRIPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.GLOBAL_FILEDIR_OPT
ganeti.cli_opts.html#GLOBAL_FILEDIR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.GLOBAL_SHARED_FILEDIR_OPT
ganeti.cli_opts.html#GLOBAL_SHARED_FILEDIR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.GLOBAL_GLUSTER_FILEDIR_OPT
ganeti.cli_opts.html#GLOBAL_GLUSTER_FILEDIR_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOMODIFY_ETCHOSTS_OPT
ganeti.cli_opts.html#NOMODIFY_ETCHOSTS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MODIFY_ETCHOSTS_OPT
ganeti.cli_opts.html#MODIFY_ETCHOSTS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOMODIFY_SSH_SETUP_OPT
ganeti.cli_opts.html#NOMODIFY_SSH_SETUP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ERROR_CODES_OPT
ganeti.cli_opts.html#ERROR_CODES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NONPLUS1_OPT
ganeti.cli_opts.html#NONPLUS1_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.REBOOT_TYPE_OPT
ganeti.cli_opts.html#REBOOT_TYPE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_SECONDARIES_OPT
ganeti.cli_opts.html#IGNORE_SECONDARIES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOSHUTDOWN_OPT
ganeti.cli_opts.html#NOSHUTDOWN_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.TIMEOUT_OPT
ganeti.cli_opts.html#TIMEOUT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.COMPRESS_OPT
ganeti.cli_opts.html#COMPRESS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.TRANSPORT_COMPRESSION_OPT
ganeti.cli_opts.html#TRANSPORT_COMPRESSION_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SHUTDOWN_TIMEOUT_OPT
ganeti.cli_opts.html#SHUTDOWN_TIMEOUT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.INTERVAL_OPT
ganeti.cli_opts.html#INTERVAL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.EARLY_RELEASE_OPT
ganeti.cli_opts.html#EARLY_RELEASE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_CLUSTER_CERT_OPT
ganeti.cli_opts.html#NEW_CLUSTER_CERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_NODE_CERT_OPT
ganeti.cli_opts.html#NEW_NODE_CERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_SSH_KEY_OPT
ganeti.cli_opts.html#NEW_SSH_KEY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.RAPI_CERT_OPT
ganeti.cli_opts.html#RAPI_CERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_RAPI_CERT_OPT
ganeti.cli_opts.html#NEW_RAPI_CERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPICE_CERT_OPT
ganeti.cli_opts.html#SPICE_CERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPICE_CACERT_OPT
ganeti.cli_opts.html#SPICE_CACERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_SPICE_CERT_OPT
ganeti.cli_opts.html#NEW_SPICE_CERT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_CONFD_HMAC_KEY_OPT
ganeti.cli_opts.html#NEW_CONFD_HMAC_KEY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.CLUSTER_DOMAIN_SECRET_OPT
ganeti.cli_opts.html#CLUSTER_DOMAIN_SECRET_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NEW_CLUSTER_DOMAIN_SECRET_OPT
ganeti.cli_opts.html#NEW_CLUSTER_DOMAIN_SECRET_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.USE_REPL_NET_OPT
ganeti.cli_opts.html#USE_REPL_NET_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.MAINTAIN_NODE_HEALTH_OPT
ganeti.cli_opts.html#MAINTAIN_NODE_HEALTH_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IDENTIFY_DEFAULTS_OPT
ganeti.cli_opts.html#IDENTIFY_DEFAULTS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.UIDPOOL_OPT
ganeti.cli_opts.html#UIDPOOL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ADD_UIDS_OPT
ganeti.cli_opts.html#ADD_UIDS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.REMOVE_UIDS_OPT
ganeti.cli_opts.html#REMOVE_UIDS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.RESERVED_LVS_OPT
ganeti.cli_opts.html#RESERVED_LVS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ROMAN_OPT
ganeti.cli_opts.html#ROMAN_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DRBD_HELPER_OPT
ganeti.cli_opts.html#DRBD_HELPER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.PRIMARY_IP_VERSION_OPT
ganeti.cli_opts.html#PRIMARY_IP_VERSION_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SHOW_MACHINE_OPT
ganeti.cli_opts.html#SHOW_MACHINE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FAILURE_ONLY_OPT
ganeti.cli_opts.html#FAILURE_ONLY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.REASON_OPT
ganeti.cli_opts.html#REASON_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts._PriorityOptionCb
ganeti.cli_opts.html#_PriorityOptionCb
Function
Function
PRIVATE
Callback for processing --priority option.
-
ganeti.cli_opts.PRIORITY_OPT
ganeti.cli_opts.html#PRIORITY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OPPORTUNISTIC_OPT
ganeti.cli_opts.html#OPPORTUNISTIC_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HID_OS_OPT
ganeti.cli_opts.html#HID_OS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.BLK_OS_OPT
ganeti.cli_opts.html#BLK_OS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.PREALLOC_WIPE_DISKS_OPT
ganeti.cli_opts.html#PREALLOC_WIPE_DISKS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODE_PARAMS_OPT
ganeti.cli_opts.html#NODE_PARAMS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ALLOC_POLICY_OPT
ganeti.cli_opts.html#ALLOC_POLICY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NODE_POWERED_OPT
ganeti.cli_opts.html#NODE_POWERED_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.OOB_TIMEOUT_OPT
ganeti.cli_opts.html#OOB_TIMEOUT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.POWER_DELAY_OPT
ganeti.cli_opts.html#POWER_DELAY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.FORCE_FILTER_OPT
ganeti.cli_opts.html#FORCE_FILTER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NO_REMEMBER_OPT
ganeti.cli_opts.html#NO_REMEMBER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.PRIMARY_ONLY_OPT
ganeti.cli_opts.html#PRIMARY_ONLY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SECONDARY_ONLY_OPT
ganeti.cli_opts.html#SECONDARY_ONLY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.STARTUP_PAUSED_OPT
ganeti.cli_opts.html#STARTUP_PAUSED_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.TO_GROUP_OPT
ganeti.cli_opts.html#TO_GROUP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_ERRORS_OPT
ganeti.cli_opts.html#IGNORE_ERRORS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.DISK_STATE_OPT
ganeti.cli_opts.html#DISK_STATE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HV_STATE_OPT
ganeti.cli_opts.html#HV_STATE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.IGNORE_IPOLICY_OPT
ganeti.cli_opts.html#IGNORE_IPOLICY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.RUNTIME_MEM_OPT
ganeti.cli_opts.html#RUNTIME_MEM_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ABSOLUTE_OPT
ganeti.cli_opts.html#ABSOLUTE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NETWORK_OPT
ganeti.cli_opts.html#NETWORK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.GATEWAY_OPT
ganeti.cli_opts.html#GATEWAY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ADD_RESERVED_IPS_OPT
ganeti.cli_opts.html#ADD_RESERVED_IPS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.REMOVE_RESERVED_IPS_OPT
ganeti.cli_opts.html#REMOVE_RESERVED_IPS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NETWORK6_OPT
ganeti.cli_opts.html#NETWORK6_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.GATEWAY6_OPT
ganeti.cli_opts.html#GATEWAY6_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.NOCONFLICTSCHECK_OPT
ganeti.cli_opts.html#NOCONFLICTSCHECK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.INCLUDEDEFAULTS_OPT
ganeti.cli_opts.html#INCLUDEDEFAULTS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HOTPLUG_OPT
ganeti.cli_opts.html#HOTPLUG_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HOTPLUG_IF_POSSIBLE_OPT
ganeti.cli_opts.html#HOTPLUG_IF_POSSIBLE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.INSTALL_IMAGE_OPT
ganeti.cli_opts.html#INSTALL_IMAGE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.INSTANCE_COMMUNICATION_OPT
ganeti.cli_opts.html#INSTANCE_COMMUNICATION_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.INSTANCE_COMMUNICATION_NETWORK_OPT
ganeti.cli_opts.html#INSTANCE_COMMUNICATION_NETWORK_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ZEROING_IMAGE_OPT
ganeti.cli_opts.html#ZEROING_IMAGE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ZERO_FREE_SPACE_OPT
ganeti.cli_opts.html#ZERO_FREE_SPACE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HELPER_STARTUP_TIMEOUT_OPT
ganeti.cli_opts.html#HELPER_STARTUP_TIMEOUT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.HELPER_SHUTDOWN_TIMEOUT_OPT
ganeti.cli_opts.html#HELPER_SHUTDOWN_TIMEOUT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ZEROING_TIMEOUT_FIXED_OPT
ganeti.cli_opts.html#ZEROING_TIMEOUT_FIXED_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ZEROING_TIMEOUT_PER_MIB_OPT
ganeti.cli_opts.html#ZEROING_TIMEOUT_PER_MIB_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.ENABLED_DATA_COLLECTORS_OPT
ganeti.cli_opts.html#ENABLED_DATA_COLLECTORS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.VERIFY_CLUTTER_OPT
ganeti.cli_opts.html#VERIFY_CLUTTER_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.LONG_SLEEP_OPT
ganeti.cli_opts.html#LONG_SLEEP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SSH_KEY_TYPE_OPT
ganeti.cli_opts.html#SSH_KEY_TYPE_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SSH_KEY_BITS_OPT
ganeti.cli_opts.html#SSH_KEY_BITS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.COMMON_OPTS
ganeti.cli_opts.html#COMMON_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SUBMIT_OPTS
ganeti.cli_opts.html#SUBMIT_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.COMMON_CREATE_OPTS
ganeti.cli_opts.html#COMMON_CREATE_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.INSTANCE_POLICY_OPTS
ganeti.cli_opts.html#INSTANCE_POLICY_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli_opts.SPLIT_ISPECS_OPTS
ganeti.cli_opts.html#SPLIT_ISPECS_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.QR_NORMAL
ganeti.cli.html#QR_NORMAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.QR_UNKNOWN
ganeti.cli.html#QR_UNKNOWN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.QR_INCOMPLETE
ganeti.cli.html#QR_INCOMPLETE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli._CHOOSE_BATCH
ganeti.cli.html#_CHOOSE_BATCH
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cli.TISPECS_GROUP_TYPES
ganeti.cli.html#TISPECS_GROUP_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.TISPECS_CLUSTER_TYPES
ganeti.cli.html#TISPECS_CLUSTER_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli._QFT_NAMES
ganeti.cli.html#_QFT_NAMES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cli._Argument
ganeti.cli._Argument.html
Class
Class
PRIVATE
Undocumented
-
ganeti.cli._Argument.__init__
ganeti.cli._Argument.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cli._Argument.min
ganeti.cli._Argument.html#min
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._Argument.max
ganeti.cli._Argument.html#max
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._Argument.__repr__
ganeti.cli._Argument.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.cli.ArgSuggest
ganeti.cli.ArgSuggest.html
Class
Class
PUBLIC
Suggesting argument.
-
ganeti.cli.ArgSuggest.__init__
ganeti.cli.ArgSuggest.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cli.ArgSuggest.choices
ganeti.cli.ArgSuggest.html#choices
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.ArgSuggest.__repr__
ganeti.cli.ArgSuggest.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.cli.ArgChoice
ganeti.cli.ArgChoice.html
Class
Class
PUBLIC
Choice argument.
-
ganeti.cli.ArgUnknown
ganeti.cli.ArgUnknown.html
Class
Class
PUBLIC
Unknown argument to program (e.g. determined at runtime).
-
ganeti.cli.ArgInstance
ganeti.cli.ArgInstance.html
Class
Class
PUBLIC
Instances argument.
-
ganeti.cli.ArgNode
ganeti.cli.ArgNode.html
Class
Class
PUBLIC
Node argument.
-
ganeti.cli.ArgNetwork
ganeti.cli.ArgNetwork.html
Class
Class
PUBLIC
Network argument.
-
ganeti.cli.ArgGroup
ganeti.cli.ArgGroup.html
Class
Class
PUBLIC
Node group argument.
-
ganeti.cli.ArgJobId
ganeti.cli.ArgJobId.html
Class
Class
PUBLIC
Job ID argument.
-
ganeti.cli.ArgFile
ganeti.cli.ArgFile.html
Class
Class
PUBLIC
File path argument.
-
ganeti.cli.ArgCommand
ganeti.cli.ArgCommand.html
Class
Class
PUBLIC
Command argument.
-
ganeti.cli.ArgHost
ganeti.cli.ArgHost.html
Class
Class
PUBLIC
Host argument.
-
ganeti.cli.ArgOs
ganeti.cli.ArgOs.html
Class
Class
PUBLIC
OS argument.
-
ganeti.cli.ArgExtStorage
ganeti.cli.ArgExtStorage.html
Class
Class
PUBLIC
ExtStorage argument.
-
ganeti.cli.ArgFilter
ganeti.cli.ArgFilter.html
Class
Class
PUBLIC
Filter UUID argument.
-
ganeti.cli.ARGS_NONE
ganeti.cli.html#ARGS_NONE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_MANY_INSTANCES
ganeti.cli.html#ARGS_MANY_INSTANCES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_MANY_NETWORKS
ganeti.cli.html#ARGS_MANY_NETWORKS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_MANY_NODES
ganeti.cli.html#ARGS_MANY_NODES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_MANY_GROUPS
ganeti.cli.html#ARGS_MANY_GROUPS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_MANY_FILTERS
ganeti.cli.html#ARGS_MANY_FILTERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_ONE_INSTANCE
ganeti.cli.html#ARGS_ONE_INSTANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_ONE_NETWORK
ganeti.cli.html#ARGS_ONE_NETWORK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_ONE_NODE
ganeti.cli.html#ARGS_ONE_NODE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_ONE_GROUP
ganeti.cli.html#ARGS_ONE_GROUP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_ONE_OS
ganeti.cli.html#ARGS_ONE_OS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli.ARGS_ONE_FILTER
ganeti.cli.html#ARGS_ONE_FILTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.cli._ExtendTags
ganeti.cli.html#_ExtendTags
Function
Function
PRIVATE
Extend the args if a source file has been given.
-
ganeti.cli.ListTags
ganeti.cli.html#ListTags
Function
Function
PUBLIC
List the tags on a given object.
-
ganeti.cli.AddTags
ganeti.cli.html#AddTags
Function
Function
PUBLIC
Add tags on a given object.
-
ganeti.cli.RemoveTags
ganeti.cli.html#RemoveTags
Function
Function
PUBLIC
Remove tags from a given object.
-
ganeti.cli._ShowUsage
ganeti.cli._ShowUsage.html
Class
Exception
PRIVATE
-
ganeti.cli._ShowUsage.__init__
ganeti.cli._ShowUsage.html#__init__
Function
Method
PUBLIC
Initializes instances of this class.
-
ganeti.cli._ShowUsage.exit_error
ganeti.cli._ShowUsage.html#exit_error
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._ShowVersion
ganeti.cli._ShowVersion.html
Class
Exception
PRIVATE
-
ganeti.cli._ParseArgs
ganeti.cli.html#_ParseArgs
Function
Function
PRIVATE
Parser for the command line arguments.
-
ganeti.cli._FormatUsage
ganeti.cli.html#_FormatUsage
Function
Function
PRIVATE
Generates a nice description of all commands.
-
ganeti.cli._CheckArguments
ganeti.cli.html#_CheckArguments
Function
Function
PRIVATE
Verifies the arguments using the argument definition.
-
ganeti.cli.SplitNodeOption
ganeti.cli.html#SplitNodeOption
Function
Function
PUBLIC
Splits the value of a --node option.
-
ganeti.cli.CalculateOSNames
ganeti.cli.html#CalculateOSNames
Function
Function
PUBLIC
Calculates all the names an OS can be called, according to its variants.
-
ganeti.cli.ParseFields
ganeti.cli.html#ParseFields
Function
Function
PUBLIC
Parses the values of "--field"-like options.
-
ganeti.cli.AskUser
ganeti.cli.html#AskUser
Function
Function
PUBLIC
Ask the user a question.
-
ganeti.cli.SendJob
ganeti.cli.html#SendJob
Function
Function
PUBLIC
Function to submit an opcode without waiting for the results.
-
ganeti.cli.GenericPollJob
ganeti.cli.html#GenericPollJob
Function
Function
PUBLIC
Generic job-polling function.
-
ganeti.cli.JobPollCbBase
ganeti.cli.JobPollCbBase.html
Class
Class
PUBLIC
-
ganeti.cli.JobPollCbBase.__init__
ganeti.cli.JobPollCbBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli.JobPollCbBase.WaitForJobChangeOnce
ganeti.cli.JobPollCbBase.html#WaitForJobChangeOnce
Function
Method
PUBLIC
Waits for changes on a job.
-
ganeti.cli.JobPollCbBase.QueryJobs
ganeti.cli.JobPollCbBase.html#QueryJobs
Function
Method
PUBLIC
Returns the selected fields for the selected job IDs.
-
ganeti.cli.JobPollCbBase.CancelJob
ganeti.cli.JobPollCbBase.html#CancelJob
Function
Method
PUBLIC
Cancels a currently running job.
-
ganeti.cli.JobPollReportCbBase
ganeti.cli.JobPollReportCbBase.html
Class
Class
PUBLIC
-
ganeti.cli.JobPollReportCbBase.__init__
ganeti.cli.JobPollReportCbBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli.JobPollReportCbBase.ReportLogMessage
ganeti.cli.JobPollReportCbBase.html#ReportLogMessage
Function
Method
PUBLIC
Handles a log message.
-
ganeti.cli.JobPollReportCbBase.ReportNotChanged
ganeti.cli.JobPollReportCbBase.html#ReportNotChanged
Function
Method
PUBLIC
Called for if a job hasn't changed in a while.
-
ganeti.cli._LuxiJobPollCb
ganeti.cli._LuxiJobPollCb.html
Class
Class
PRIVATE
No class docstring; 0/1 instance variable, 4/4 methods documented
-
ganeti.cli._LuxiJobPollCb.__init__
ganeti.cli._LuxiJobPollCb.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli._LuxiJobPollCb.cl
ganeti.cli._LuxiJobPollCb.html#cl
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._LuxiJobPollCb.WaitForJobChangeOnce
ganeti.cli._LuxiJobPollCb.html#WaitForJobChangeOnce
Function
Method
PUBLIC
Waits for changes on a job.
-
ganeti.cli._LuxiJobPollCb.QueryJobs
ganeti.cli._LuxiJobPollCb.html#QueryJobs
Function
Method
PUBLIC
Returns the selected fields for the selected job IDs.
-
ganeti.cli._LuxiJobPollCb.CancelJob
ganeti.cli._LuxiJobPollCb.html#CancelJob
Function
Method
PUBLIC
Cancels a currently running job.
-
ganeti.cli.FeedbackFnJobPollReportCb
ganeti.cli.FeedbackFnJobPollReportCb.html
Class
Class
PUBLIC
No class docstring; 0/1 instance variable, 3/3 methods documented
-
ganeti.cli.FeedbackFnJobPollReportCb.__init__
ganeti.cli.FeedbackFnJobPollReportCb.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli.FeedbackFnJobPollReportCb.feedback_fn
ganeti.cli.FeedbackFnJobPollReportCb.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.FeedbackFnJobPollReportCb.ReportLogMessage
ganeti.cli.FeedbackFnJobPollReportCb.html#ReportLogMessage
Function
Method
PUBLIC
Handles a log message.
-
ganeti.cli.FeedbackFnJobPollReportCb.ReportNotChanged
ganeti.cli.FeedbackFnJobPollReportCb.html#ReportNotChanged
Function
Method
PUBLIC
Called if a job hasn't changed in a while.
-
ganeti.cli.StdioJobPollReportCb
ganeti.cli.StdioJobPollReportCb.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 3/3 methods documented
-
ganeti.cli.StdioJobPollReportCb.__init__
ganeti.cli.StdioJobPollReportCb.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli.StdioJobPollReportCb.notified_queued
ganeti.cli.StdioJobPollReportCb.html#notified_queued
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.StdioJobPollReportCb.notified_waitlock
ganeti.cli.StdioJobPollReportCb.html#notified_waitlock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.StdioJobPollReportCb.ReportLogMessage
ganeti.cli.StdioJobPollReportCb.html#ReportLogMessage
Function
Method
PUBLIC
Handles a log message.
-
ganeti.cli.StdioJobPollReportCb.ReportNotChanged
ganeti.cli.StdioJobPollReportCb.html#ReportNotChanged
Function
Method
PUBLIC
Called if a job hasn't changed in a while.
-
ganeti.cli.FormatLogMessage
ganeti.cli.html#FormatLogMessage
Function
Function
PUBLIC
Formats a job message according to its type.
-
ganeti.cli.PollJob
ganeti.cli.html#PollJob
Function
Function
PUBLIC
Function to poll for the result of a job.
-
ganeti.cli.SubmitOpCode
ganeti.cli.html#SubmitOpCode
Function
Function
PUBLIC
Legacy function to submit an opcode.
-
ganeti.cli.SubmitOpCodeToDrainedQueue
ganeti.cli.html#SubmitOpCodeToDrainedQueue
Function
Function
PUBLIC
Forcefully insert a job in the queue, even if it is drained.
-
ganeti.cli.SubmitOrSend
ganeti.cli.html#SubmitOrSend
Function
Function
PUBLIC
Wrapper around SubmitOpCode or SendJob.
-
ganeti.cli._InitReasonTrail
ganeti.cli.html#_InitReasonTrail
Function
Function
PRIVATE
Builds the first part of the reason trail
-
ganeti.cli.SetGenericOpcodeOpts
ganeti.cli.html#SetGenericOpcodeOpts
Function
Function
PUBLIC
Processor for generic options.
-
ganeti.cli.FormatError
ganeti.cli.html#FormatError
Function
Function
PUBLIC
Return a formatted error message for a given error.
-
ganeti.cli.GenericMain
ganeti.cli.html#GenericMain
Function
Function
PUBLIC
Generic main function for all the gnt-* commands.
-
ganeti.cli.ParseNicOption
ganeti.cli.html#ParseNicOption
Function
Function
PUBLIC
Parses the value of the --net option(s).
-
ganeti.cli.FixHvParams
ganeti.cli.html#FixHvParams
Function
Function
PUBLIC
Undocumented
-
ganeti.cli.GenericInstanceCreate
ganeti.cli.html#GenericInstanceCreate
Function
Function
PUBLIC
Add an instance to the cluster via either creation or import.
-
ganeti.cli._RunWhileDaemonsStoppedHelper
ganeti.cli._RunWhileDaemonsStoppedHelper.html
Class
Class
PRIVATE
-
ganeti.cli._RunWhileDaemonsStoppedHelper.__init__
ganeti.cli._RunWhileDaemonsStoppedHelper.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli._RunWhileDaemonsStoppedHelper.feedback_fn
ganeti.cli._RunWhileDaemonsStoppedHelper.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.cluster_name
ganeti.cli._RunWhileDaemonsStoppedHelper.html#cluster_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.master_node
ganeti.cli._RunWhileDaemonsStoppedHelper.html#master_node
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.online_nodes
ganeti.cli._RunWhileDaemonsStoppedHelper.html#online_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.ssh_ports
ganeti.cli._RunWhileDaemonsStoppedHelper.html#ssh_ports
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.ssh
ganeti.cli._RunWhileDaemonsStoppedHelper.html#ssh
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.nonmaster_nodes
ganeti.cli._RunWhileDaemonsStoppedHelper.html#nonmaster_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.exclude_daemons
ganeti.cli._RunWhileDaemonsStoppedHelper.html#exclude_daemons
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.debug
ganeti.cli._RunWhileDaemonsStoppedHelper.html#debug
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper.verbose
ganeti.cli._RunWhileDaemonsStoppedHelper.html#verbose
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._RunWhileDaemonsStoppedHelper._RunCmd
ganeti.cli._RunWhileDaemonsStoppedHelper.html#_RunCmd
Function
Method
PRIVATE
Runs a command on the local or a remote machine.
-
ganeti.cli._RunWhileDaemonsStoppedHelper.Call
ganeti.cli._RunWhileDaemonsStoppedHelper.html#Call
Function
Method
PUBLIC
Call function while all daemons are stopped.
-
ganeti.cli.RunWhileDaemonsStopped
ganeti.cli.html#RunWhileDaemonsStopped
Function
Function
PUBLIC
Calls a function while all cluster daemons are stopped.
-
ganeti.cli.RunWhileClusterStopped
ganeti.cli.html#RunWhileClusterStopped
Function
Function
PUBLIC
Calls a function while all cluster daemons are stopped.
-
ganeti.cli.GenerateTable
ganeti.cli.html#GenerateTable
Function
Function
PUBLIC
Prints a table with headers and different fields.
-
ganeti.cli._FormatBool
ganeti.cli.html#_FormatBool
Function
Function
PRIVATE
Formats a boolean value as a string.
-
ganeti.cli._DEFAULT_FORMAT_QUERY
ganeti.cli.html#_DEFAULT_FORMAT_QUERY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.cli._GetColumnFormatter
ganeti.cli.html#_GetColumnFormatter
Function
Function
PRIVATE
Returns formatting function for a field.
-
ganeti.cli._QueryColumnFormatter
ganeti.cli._QueryColumnFormatter.html
Class
Class
PRIVATE
Callable class for formatting fields of a query.
-
ganeti.cli._QueryColumnFormatter.__init__
ganeti.cli._QueryColumnFormatter.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli._QueryColumnFormatter._fn
ganeti.cli._QueryColumnFormatter.html#_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cli._QueryColumnFormatter._status_fn
ganeti.cli._QueryColumnFormatter.html#_status_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cli._QueryColumnFormatter._verbose
ganeti.cli._QueryColumnFormatter.html#_verbose
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cli._QueryColumnFormatter.__call__
ganeti.cli._QueryColumnFormatter.html#__call__
Function
Method
PUBLIC
Returns a field's string representation.
-
ganeti.cli.FormatResultError
ganeti.cli.html#FormatResultError
Function
Function
PUBLIC
-
ganeti.cli.FormatQueryResult
ganeti.cli.html#FormatQueryResult
Function
Function
PUBLIC
-
ganeti.cli._GetUnknownFields
ganeti.cli.html#_GetUnknownFields
Function
Function
PRIVATE
Returns list of unknown fields included in fdefs.
-
ganeti.cli._WarnUnknownFields
ganeti.cli.html#_WarnUnknownFields
Function
Function
PRIVATE
Prints a warning to stderr if a query included unknown fields.
-
ganeti.cli.GenericList
ganeti.cli.html#GenericList
Function
Function
PUBLIC
Generic implementation for listing all items of a resource.
-
ganeti.cli._FieldDescValues
ganeti.cli.html#_FieldDescValues
Function
Function
PRIVATE
-
ganeti.cli.GenericListFields
ganeti.cli.html#GenericListFields
Function
Function
PUBLIC
Generic implementation for listing fields for a resource.
-
ganeti.cli.TableColumn
ganeti.cli.TableColumn.html
Class
Class
PUBLIC
-
ganeti.cli.TableColumn.__init__
ganeti.cli.TableColumn.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.cli.TableColumn.title
ganeti.cli.TableColumn.html#title
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.TableColumn.format
ganeti.cli.TableColumn.html#format
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.TableColumn.align_right
ganeti.cli.TableColumn.html#align_right
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli._GetColFormatString
ganeti.cli.html#_GetColFormatString
Function
Function
PRIVATE
Returns the format string for a field.
-
ganeti.cli.FormatTable
ganeti.cli.html#FormatTable
Function
Function
PUBLIC
Formats data as a table.
-
ganeti.cli.FormatTimestamp
ganeti.cli.html#FormatTimestamp
Function
Function
PUBLIC
Formats a given timestamp.
-
ganeti.cli.ParseTimespec
ganeti.cli.html#ParseTimespec
Function
Function
PUBLIC
Parse a time specification.
-
ganeti.cli.GetOnlineNodes
ganeti.cli.html#GetOnlineNodes
Function
Function
PUBLIC
Returns the names of online nodes.
-
ganeti.cli.GetNodesSshPorts
ganeti.cli.html#GetNodesSshPorts
Function
Function
PUBLIC
Retrieves SSH ports of given nodes.
-
ganeti.cli.GetNodeUUIDs
ganeti.cli.html#GetNodeUUIDs
Function
Function
PUBLIC
Retrieves the UUIDs of given nodes.
-
ganeti.cli._ToStream
ganeti.cli.html#_ToStream
Function
Function
PRIVATE
Write a message to a stream, bypassing the logging system
-
ganeti.cli.ToStdout
ganeti.cli.html#ToStdout
Function
Function
PUBLIC
Write a message to stdout only, bypassing the logging system
-
ganeti.cli.ToStdoutAndLoginfo
ganeti.cli.html#ToStdoutAndLoginfo
Function
Function
PUBLIC
Write a message to stdout and additionally log it at INFO level
-
ganeti.cli.ToStderr
ganeti.cli.html#ToStderr
Function
Function
PUBLIC
Write a message to stderr only, bypassing the logging system
-
ganeti.cli.JobExecutor
ganeti.cli.JobExecutor.html
Class
Class
PUBLIC
Class which manages the submission and execution of multiple jobs.
-
ganeti.cli.JobExecutor.__init__
ganeti.cli.JobExecutor.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor.queue
ganeti.cli.JobExecutor.html#queue
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor.cl
ganeti.cli.JobExecutor.html#cl
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor.verbose
ganeti.cli.JobExecutor.html#verbose
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor.jobs
ganeti.cli.JobExecutor.html#jobs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor.opts
ganeti.cli.JobExecutor.html#opts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor.feedback_fn
ganeti.cli.JobExecutor.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.cli.JobExecutor._counter
ganeti.cli.JobExecutor.html#_counter
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.cli.JobExecutor._IfName
ganeti.cli.JobExecutor.html#_IfName
Function
Static Method
PRIVATE
Helper function for formatting name.
-
ganeti.cli.JobExecutor.QueueJob
ganeti.cli.JobExecutor.html#QueueJob
Function
Method
PUBLIC
Record a job for later submit.
-
ganeti.cli.JobExecutor.AddJobId
ganeti.cli.JobExecutor.html#AddJobId
Function
Method
PUBLIC
Adds a job ID to the internal queue.
-
ganeti.cli.JobExecutor.SubmitPending
ganeti.cli.JobExecutor.html#SubmitPending
Function
Method
PUBLIC
Submit all pending jobs.
-
ganeti.cli.JobExecutor._ChooseJob
ganeti.cli.JobExecutor.html#_ChooseJob
Function
Method
PRIVATE
Choose a non-waiting/queued job to poll next.
-
ganeti.cli.JobExecutor.GetResults
ganeti.cli.JobExecutor.html#GetResults
Function
Method
PUBLIC
Wait for and return the results of all jobs.
-
ganeti.cli.JobExecutor.WaitOrShow
ganeti.cli.JobExecutor.html#WaitOrShow
Function
Method
PUBLIC
Wait for job results or only print the job IDs.
-
ganeti.cli.FormatParamsDictInfo
ganeti.cli.html#FormatParamsDictInfo
Function
Function
PUBLIC
Formats a parameter dictionary.
-
ganeti.cli._FormatListInfoDefault
ganeti.cli.html#_FormatListInfoDefault
Function
Function
PRIVATE
Undocumented
-
ganeti.cli.FormatPolicyInfo
ganeti.cli.html#FormatPolicyInfo
Function
Function
PUBLIC
Formats an instance policy.
-
ganeti.cli._PrintSpecsParameters
ganeti.cli.html#_PrintSpecsParameters
Function
Function
PRIVATE
Undocumented
-
ganeti.cli.PrintIPolicyCommand
ganeti.cli.html#PrintIPolicyCommand
Function
Function
PUBLIC
Print the command option used to generate the given instance policy.
-
ganeti.cli.ConfirmOperation
ganeti.cli.html#ConfirmOperation
Function
Function
PUBLIC
Ask the user to confirm an operation on a list of list_type.
-
ganeti.cli._MaybeParseUnit
ganeti.cli.html#_MaybeParseUnit
Function
Function
PRIVATE
Parses and returns an array of potential values with units.
-
ganeti.cli._InitISpecsFromSplitOpts
ganeti.cli.html#_InitISpecsFromSplitOpts
Function
Function
PRIVATE
Undocumented
-
ganeti.cli._ParseSpecUnit
ganeti.cli.html#_ParseSpecUnit
Function
Function
PRIVATE
Undocumented
-
ganeti.cli._ParseISpec
ganeti.cli.html#_ParseISpec
Function
Function
PRIVATE
Undocumented
-
ganeti.cli._GetISpecsInAllowedValues
ganeti.cli.html#_GetISpecsInAllowedValues
Function
Function
PRIVATE
Undocumented
-
ganeti.cli._InitISpecsFromFullOpts
ganeti.cli.html#_InitISpecsFromFullOpts
Function
Function
PRIVATE
Undocumented
-
ganeti.cli.CreateIPolicyFromOpts
ganeti.cli.html#CreateIPolicyFromOpts
Function
Function
PUBLIC
Creation of instance policy based on command line options.
-
ganeti.cli._NotAContainer
ganeti.cli.html#_NotAContainer
Function
Function
PRIVATE
Checks whether the input is not a container data type.
-
ganeti.cli._GetAlignmentMapping
ganeti.cli.html#_GetAlignmentMapping
Function
Function
PRIVATE
Returns info about alignment if present in an encoded ordered dictionary.
-
ganeti.cli._SerializeGenericInfo
ganeti.cli.html#_SerializeGenericInfo
Function
Function
PRIVATE
-
ganeti.cli.PrintGenericInfo
ganeti.cli.html#PrintGenericInfo
Function
Function
PUBLIC
Print information formatted according to the hierarchy.
-
ganeti.client.base.GetResult
ganeti.client.base.html#GetResult
Function
Function
PUBLIC
Waits for jobs and returns whether they have succeeded
-
ganeti.client.gnt_backup._LIST_DEF_FIELDS
ganeti.client.gnt_backup.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_backup.PrintExportList
ganeti.client.gnt_backup.html#PrintExportList
Function
Function
PUBLIC
Prints a list of all the exported system images.
-
ganeti.client.gnt_backup.ListExportFields
ganeti.client.gnt_backup.html#ListExportFields
Function
Function
PUBLIC
List export fields.
-
ganeti.client.gnt_backup.ExportInstance
ganeti.client.gnt_backup.html#ExportInstance
Function
Function
PUBLIC
Export an instance to an image in the cluster.
-
ganeti.client.gnt_backup.ImportInstance
ganeti.client.gnt_backup.html#ImportInstance
Function
Function
PUBLIC
Add an instance to the cluster.
-
ganeti.client.gnt_backup.RemoveExport
ganeti.client.gnt_backup.html#RemoveExport
Function
Function
PUBLIC
Remove an export from the cluster.
-
ganeti.client.gnt_backup.import_opts
ganeti.client.gnt_backup.html#import_opts
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_backup.commands
ganeti.client.gnt_backup.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_backup.Main
ganeti.client.gnt_backup.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.rpc.node._OFFLINE
ganeti.rpc.node.html#_OFFLINE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc.node.Init
ganeti.rpc.node.html#Init
Function
Function
PUBLIC
Initializes the module-global HTTP client manager.
-
ganeti.rpc.node.Shutdown
ganeti.rpc.node.html#Shutdown
Function
Function
PUBLIC
Stops the module-global HTTP client manager.
-
ganeti.rpc.node._ConfigRpcCurl
ganeti.rpc.node.html#_ConfigRpcCurl
Function
Function
PRIVATE
Undocumented
-
ganeti.rpc.node.RunWithRPC
ganeti.rpc.node.html#RunWithRPC
Function
Function
PUBLIC
RPC-wrapper decorator.
-
ganeti.rpc.node._Compress
ganeti.rpc.node.html#_Compress
Function
Function
PRIVATE
Compresses a string for transport over RPC.
-
ganeti.rpc.node.RpcResult
ganeti.rpc.node.RpcResult.html
Class
Class
PUBLIC
RPC Result class.
-
ganeti.rpc.node.RpcResult.data
ganeti.rpc.node.RpcResult.html#data
Attribute
Instance Variable
PUBLIC
the data payload, for successful results, or None
-
ganeti.rpc.node.RpcResult.call
ganeti.rpc.node.RpcResult.html#call
Attribute
Instance Variable
PUBLIC
the name of the RPC call
-
ganeti.rpc.node.RpcResult.node
ganeti.rpc.node.RpcResult.html#node
Attribute
Instance Variable
PUBLIC
the name of the node to which we made the call
-
ganeti.rpc.node.RpcResult.offline
ganeti.rpc.node.RpcResult.html#offline
Attribute
Instance Variable
PUBLIC
whether the operation failed because the node was offline, as opposed to actual failure; offline=True will always imply failed=True, in order to allow simpler checking if the user doesn't care about the exact failure mode...
-
ganeti.rpc.node.RpcResult.fail_msg
ganeti.rpc.node.RpcResult.html#fail_msg
Attribute
Instance Variable
PUBLIC
the error message if the call failed
-
ganeti.rpc.node.RpcResult.__init__
ganeti.rpc.node.RpcResult.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.node.RpcResult.payload
ganeti.rpc.node.RpcResult.html#payload
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.node.RpcResult.__repr__
ganeti.rpc.node.RpcResult.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.node.RpcResult._EnsureErr
ganeti.rpc.node.RpcResult.html#_EnsureErr
Function
Static Method
PRIVATE
Helper to ensure we return a 'True' value for error.
-
ganeti.rpc.node.RpcResult.Raise
ganeti.rpc.node.RpcResult.html#Raise
Function
Method
PUBLIC
If the result has failed, raise an OpExecError.
-
ganeti.rpc.node.RpcResult.Warn
ganeti.rpc.node.RpcResult.html#Warn
Function
Method
PUBLIC
If the result has failed, call the feedback_fn.
-
ganeti.rpc.node._SsconfResolver
ganeti.rpc.node.html#_SsconfResolver
Function
Function
PRIVATE
Return addresses for given node names.
-
ganeti.rpc.node._StaticResolver
ganeti.rpc.node._StaticResolver.html
Class
Class
PRIVATE
No class docstring; 0/1 instance variable, 2/2 methods documented
-
ganeti.rpc.node._StaticResolver.__init__
ganeti.rpc.node._StaticResolver.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rpc.node._StaticResolver._addresses
ganeti.rpc.node._StaticResolver.html#_addresses
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node._StaticResolver.__call__
ganeti.rpc.node._StaticResolver.html#__call__
Function
Method
PUBLIC
Returns static addresses for hosts.
-
ganeti.rpc.node._CheckConfigNode
ganeti.rpc.node.html#_CheckConfigNode
Function
Function
PRIVATE
Checks if a node is online.
-
ganeti.rpc.node._NodeConfigResolver
ganeti.rpc.node.html#_NodeConfigResolver
Function
Function
PRIVATE
Calculate node addresses using configuration.
-
ganeti.rpc.node._RpcProcessor
ganeti.rpc.node._RpcProcessor.html
Class
Class
PRIVATE
No class docstring; 0/3 instance variable, 2/2 methods, 2/2 static methods documented
-
ganeti.rpc.node._RpcProcessor.__init__
ganeti.rpc.node._RpcProcessor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rpc.node._RpcProcessor._resolver
ganeti.rpc.node._RpcProcessor.html#_resolver
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node._RpcProcessor._port
ganeti.rpc.node._RpcProcessor.html#_port
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node._RpcProcessor._lock_monitor_cb
ganeti.rpc.node._RpcProcessor.html#_lock_monitor_cb
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node._RpcProcessor._PrepareRequests
ganeti.rpc.node._RpcProcessor.html#_PrepareRequests
Function
Static Method
PRIVATE
Prepares requests by sorting offline hosts into separate list.
-
ganeti.rpc.node._RpcProcessor._CombineResults
ganeti.rpc.node._RpcProcessor.html#_CombineResults
Function
Static Method
PRIVATE
Combines pre-computed results for offline hosts with actual call results.
-
ganeti.rpc.node._RpcProcessor.__call__
ganeti.rpc.node._RpcProcessor.html#__call__
Function
Method
PUBLIC
Makes an RPC request to a number of nodes.
-
ganeti.rpc.node._RpcClientBase
ganeti.rpc.node._RpcClientBase.html
Class
Class
PRIVATE
No class docstring; 0/2 instance variable, 2/2 methods, 1/1 static method documented
-
ganeti.rpc.node._RpcClientBase.__init__
ganeti.rpc.node._RpcClientBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rpc.node._RpcClientBase._proc
ganeti.rpc.node._RpcClientBase.html#_proc
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node._RpcClientBase._encoder
ganeti.rpc.node._RpcClientBase.html#_encoder
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node._RpcClientBase._EncodeArg
ganeti.rpc.node._RpcClientBase.html#_EncodeArg
Function
Static Method
PRIVATE
Encode argument.
-
ganeti.rpc.node._RpcClientBase._Call
ganeti.rpc.node._RpcClientBase.html#_Call
Function
Method
PRIVATE
Entry point for automatically generated RPC wrappers.
-
ganeti.rpc.node._ObjectToDict
ganeti.rpc.node.html#_ObjectToDict
Function
Function
PRIVATE
Converts an object to a dictionary.
-
ganeti.rpc.node._ObjectListToDict
ganeti.rpc.node.html#_ObjectListToDict
Function
Function
PRIVATE
Converts a list of
objects to dictionaries.
-
ganeti.rpc.node._PrepareFileUpload
ganeti.rpc.node.html#_PrepareFileUpload
Function
Function
PRIVATE
Loads a file and prepares it for an upload to nodes.
-
ganeti.rpc.node._PrepareFinalizeExportDisks
ganeti.rpc.node.html#_PrepareFinalizeExportDisks
Function
Function
PRIVATE
Encodes disks for finalizing export.
-
ganeti.rpc.node._EncodeBlockdevRename
ganeti.rpc.node.html#_EncodeBlockdevRename
Function
Function
PRIVATE
Encodes information for renaming block devices.
-
ganeti.rpc.node._AddSpindlesToLegacyNodeInfo
ganeti.rpc.node.html#_AddSpindlesToLegacyNodeInfo
Function
Function
PRIVATE
Extracts the spindle information from the space info and adds it to the result dictionary.
-
ganeti.rpc.node._AddStorageInfoToLegacyNodeInfoByTemplate
ganeti.rpc.node.html#_AddStorageInfoToLegacyNodeInfoByTemplate
Function
Function
PRIVATE
Extracts the storage space information of the disk template from the space info and adds it to the result dictionary.
-
ganeti.rpc.node.MakeLegacyNodeInfo
ganeti.rpc.node.html#MakeLegacyNodeInfo
Function
Function
PUBLIC
Formats the data returned by call_node_info.
-
ganeti.rpc.node._AnnotateDParamsDRBD
ganeti.rpc.node.html#_AnnotateDParamsDRBD
Function
Function
PRIVATE
Annotates just DRBD disks layouts.
-
ganeti.rpc.node._AnnotateDParamsGeneric
ganeti.rpc.node.html#_AnnotateDParamsGeneric
Function
Function
PRIVATE
Generic disk parameter annotation routine.
-
ganeti.rpc.node.AnnotateDiskParams
ganeti.rpc.node.html#AnnotateDiskParams
Function
Function
PUBLIC
Annotates the disk objects with the disk parameters.
-
ganeti.rpc.node._GetExclusiveStorageFlag
ganeti.rpc.node.html#_GetExclusiveStorageFlag
Function
Function
PRIVATE
Undocumented
-
ganeti.rpc.node._AddExclusiveStorageFlagToLvmStorageUnits
ganeti.rpc.node.html#_AddExclusiveStorageFlagToLvmStorageUnits
Function
Function
PRIVATE
Adds the exclusive storage flag to lvm units.
-
ganeti.rpc.node.GetExclusiveStorageForNodes
ganeti.rpc.node.html#GetExclusiveStorageForNodes
Function
Function
PUBLIC
Return the exclusive storage flag for all the given nodes.
-
ganeti.rpc.node.PrepareStorageUnitsForNodes
ganeti.rpc.node.html#PrepareStorageUnitsForNodes
Function
Function
PUBLIC
Return the lvm storage unit for all the given nodes.
-
ganeti.rpc.node._ENCODERS
ganeti.rpc.node.html#_ENCODERS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rpc.node.RpcRunner
ganeti.rpc.node.RpcRunner.html
Class
Class
PUBLIC
RPC runner class.
-
ganeti.rpc.node.RpcRunner.__init__
ganeti.rpc.node.RpcRunner.html#__init__
Function
Method
PUBLIC
Initialized the RPC runner.
-
ganeti.rpc.node.RpcRunner._cfg
ganeti.rpc.node.RpcRunner.html#_cfg
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rpc.node.RpcRunner._NicDict
ganeti.rpc.node.RpcRunner.html#_NicDict
Function
Method
PRIVATE
Convert the given nic to a dict and encapsulate netinfo
-
ganeti.rpc.node.RpcRunner._DeviceDict
ganeti.rpc.node.RpcRunner.html#_DeviceDict
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.node.RpcRunner._InstDict
ganeti.rpc.node.RpcRunner.html#_InstDict
Function
Method
PRIVATE
Convert the given instance to a dict.
-
ganeti.rpc.node.RpcRunner._InstDictHvpBepDp
ganeti.rpc.node.RpcRunner.html#_InstDictHvpBepDp
Function
Method
PRIVATE
-
ganeti.rpc.node.RpcRunner._InstDictOspDp
ganeti.rpc.node.RpcRunner.html#_InstDictOspDp
Function
Method
PRIVATE
-
ganeti.rpc.node.RpcRunner._DisksDictDP
ganeti.rpc.node.RpcRunner.html#_DisksDictDP
Function
Method
PRIVATE
-
ganeti.rpc.node.RpcRunner._MultiDiskDictDP
ganeti.rpc.node.RpcRunner.html#_MultiDiskDictDP
Function
Method
PRIVATE
-
ganeti.rpc.node.RpcRunner._SingleDiskDictDP
ganeti.rpc.node.RpcRunner.html#_SingleDiskDictDP
Function
Method
PRIVATE
-
ganeti.rpc.node.RpcRunner._EncodeNodeToDiskDictDP
ganeti.rpc.node.RpcRunner.html#_EncodeNodeToDiskDictDP
Function
Method
PRIVATE
Encode dict of node name -> list of (disk, instance) tuples as values.
-
ganeti.rpc.node.RpcRunner._EncodeImportExportIO
ganeti.rpc.node.RpcRunner.html#_EncodeImportExportIO
Function
Method
PRIVATE
Encodes import/export I/O information.
-
ganeti.rpc.node.JobQueueRunner
ganeti.rpc.node.JobQueueRunner.html
Class
Class
PUBLIC
RPC wrappers for job queue.
-
ganeti.rpc.node.JobQueueRunner.__init__
ganeti.rpc.node.JobQueueRunner.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rpc.node.BootstrapRunner
ganeti.rpc.node.BootstrapRunner.html
Class
Class
PUBLIC
RPC wrappers for bootstrapping.
-
ganeti.rpc.node.BootstrapRunner.__init__
ganeti.rpc.node.BootstrapRunner.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rpc.node.DnsOnlyRunner
ganeti.rpc.node.DnsOnlyRunner.html
Class
Class
PUBLIC
RPC wrappers for calls using only DNS.
-
ganeti.rpc.node.DnsOnlyRunner.__init__
ganeti.rpc.node.DnsOnlyRunner.html#__init__
Function
Method
PUBLIC
Initialize this class.
-
ganeti.rpc.node.ConfigRunner
ganeti.rpc.node.ConfigRunner.html
Class
Class
PUBLIC
-
ganeti.rpc.node.ConfigRunner.__init__
ganeti.rpc.node.ConfigRunner.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.client.gnt_cluster.ON_OPT
ganeti.client.gnt_cluster.html#ON_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.GROUPS_OPT
ganeti.client.gnt_cluster.html#GROUPS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.FORCE_FAILOVER
ganeti.client.gnt_cluster.html#FORCE_FAILOVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.IGNORE_OFFLINE_NODES_FAILOVER
ganeti.client.gnt_cluster.html#IGNORE_OFFLINE_NODES_FAILOVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.FORCE_DISTRIBUTION
ganeti.client.gnt_cluster.html#FORCE_DISTRIBUTION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.TO_OPT
ganeti.client.gnt_cluster.html#TO_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.RESUME_OPT
ganeti.client.gnt_cluster.html#RESUME_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.DATA_COLLECTOR_INTERVAL_OPT
ganeti.client.gnt_cluster.html#DATA_COLLECTOR_INTERVAL_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.STRICT_OPT
ganeti.client.gnt_cluster.html#STRICT_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._EPO_PING_INTERVAL
ganeti.client.gnt_cluster.html#_EPO_PING_INTERVAL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster._EPO_PING_TIMEOUT
ganeti.client.gnt_cluster.html#_EPO_PING_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster._EPO_REACHABLE_TIMEOUT
ganeti.client.gnt_cluster.html#_EPO_REACHABLE_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster._InitEnabledDiskTemplates
ganeti.client.gnt_cluster.html#_InitEnabledDiskTemplates
Function
Function
PRIVATE
Initialize the list of enabled disk templates.
-
ganeti.client.gnt_cluster._InitVgName
ganeti.client.gnt_cluster.html#_InitVgName
Function
Function
PRIVATE
Initialize the volume group name.
-
ganeti.client.gnt_cluster._InitDrbdHelper
ganeti.client.gnt_cluster.html#_InitDrbdHelper
Function
Function
PRIVATE
Initialize the DRBD usermode helper.
-
ganeti.client.gnt_cluster.InitCluster
ganeti.client.gnt_cluster.html#InitCluster
Function
Function
PUBLIC
Initialize the cluster.
-
ganeti.client.gnt_cluster.DestroyCluster
ganeti.client.gnt_cluster.html#DestroyCluster
Function
Function
PUBLIC
Destroy the cluster.
-
ganeti.client.gnt_cluster.RenameCluster
ganeti.client.gnt_cluster.html#RenameCluster
Function
Function
PUBLIC
Rename the cluster.
-
ganeti.client.gnt_cluster.ActivateMasterIp
ganeti.client.gnt_cluster.html#ActivateMasterIp
Function
Function
PUBLIC
Activates the master IP.
-
ganeti.client.gnt_cluster.DeactivateMasterIp
ganeti.client.gnt_cluster.html#DeactivateMasterIp
Function
Function
PUBLIC
Deactivates the master IP.
-
ganeti.client.gnt_cluster.RedistributeConfig
ganeti.client.gnt_cluster.html#RedistributeConfig
Function
Function
PUBLIC
Forces push of the cluster configuration.
-
ganeti.client.gnt_cluster.ShowClusterVersion
ganeti.client.gnt_cluster.html#ShowClusterVersion
Function
Function
PUBLIC
Write version of ganeti software to the standard output.
-
ganeti.client.gnt_cluster.ShowClusterMaster
ganeti.client.gnt_cluster.html#ShowClusterMaster
Function
Function
PUBLIC
Write name of master node to the standard output.
-
ganeti.client.gnt_cluster._FormatGroupedParams
ganeti.client.gnt_cluster.html#_FormatGroupedParams
Function
Function
PRIVATE
Format Grouped parameters (be, nic, disk) by group.
-
ganeti.client.gnt_cluster._FormatDataCollectors
ganeti.client.gnt_cluster.html#_FormatDataCollectors
Function
Function
PRIVATE
Format Grouped parameters (be, nic, disk) by group.
-
ganeti.client.gnt_cluster.ShowClusterConfig
ganeti.client.gnt_cluster.html#ShowClusterConfig
Function
Function
PUBLIC
Shows cluster information.
-
ganeti.client.gnt_cluster.ClusterCopyFile
ganeti.client.gnt_cluster.html#ClusterCopyFile
Function
Function
PUBLIC
Copy a file from master to some nodes.
-
ganeti.client.gnt_cluster.RunClusterCommand
ganeti.client.gnt_cluster.html#RunClusterCommand
Function
Function
PUBLIC
Run a command on some nodes.
-
ganeti.client.gnt_cluster.VerifyCluster
ganeti.client.gnt_cluster.html#VerifyCluster
Function
Function
PUBLIC
Verify integrity of cluster, performing various test on nodes.
-
ganeti.client.gnt_cluster.VerifyDisks
ganeti.client.gnt_cluster.html#VerifyDisks
Function
Function
PUBLIC
Verify integrity of cluster disks.
-
ganeti.client.gnt_cluster.RepairDiskSizes
ganeti.client.gnt_cluster.html#RepairDiskSizes
Function
Function
PUBLIC
Verify sizes of cluster disks.
-
ganeti.client.gnt_cluster.MasterFailover
ganeti.client.gnt_cluster.html#MasterFailover
Function
Function
PUBLIC
Failover the master node.
-
ganeti.client.gnt_cluster.MasterPing
ganeti.client.gnt_cluster.html#MasterPing
Function
Function
PUBLIC
Checks if the master is alive.
-
ganeti.client.gnt_cluster.SearchTags
ganeti.client.gnt_cluster.html#SearchTags
Function
Function
PUBLIC
Searches the tags on all the cluster.
-
ganeti.client.gnt_cluster._ReadAndVerifyCert
ganeti.client.gnt_cluster.html#_ReadAndVerifyCert
Function
Function
PRIVATE
Reads and verifies an X509 certificate.
-
ganeti.client.gnt_cluster._RenewCrypto
ganeti.client.gnt_cluster.html#_RenewCrypto
Function
Function
PRIVATE
Renews cluster certificates, keys and secrets.
-
ganeti.client.gnt_cluster._BuildGanetiPubKeys
ganeti.client.gnt_cluster.html#_BuildGanetiPubKeys
Function
Function
PRIVATE
Recreates the 'ganeti_pub_key' file by polling all nodes.
-
ganeti.client.gnt_cluster.RenewCrypto
ganeti.client.gnt_cluster.html#RenewCrypto
Function
Function
PUBLIC
Renews cluster certificates, keys and secrets.
-
ganeti.client.gnt_cluster._GetEnabledDiskTemplates
ganeti.client.gnt_cluster.html#_GetEnabledDiskTemplates
Function
Function
PRIVATE
Determine the list of enabled disk templates.
-
ganeti.client.gnt_cluster._GetVgName
ganeti.client.gnt_cluster.html#_GetVgName
Function
Function
PRIVATE
Determine the volume group name.
-
ganeti.client.gnt_cluster._GetDrbdHelper
ganeti.client.gnt_cluster.html#_GetDrbdHelper
Function
Function
PRIVATE
Determine the DRBD usermode helper.
-
ganeti.client.gnt_cluster._GetCompressionTools
ganeti.client.gnt_cluster.html#_GetCompressionTools
Function
Function
PRIVATE
Determine the list of custom compression tools.
-
ganeti.client.gnt_cluster.SetClusterParams
ganeti.client.gnt_cluster.html#SetClusterParams
Function
Function
PUBLIC
Modify the cluster.
-
ganeti.client.gnt_cluster.QueueOps
ganeti.client.gnt_cluster.html#QueueOps
Function
Function
PUBLIC
Queue operations.
-
ganeti.client.gnt_cluster._ShowWatcherPause
ganeti.client.gnt_cluster.html#_ShowWatcherPause
Function
Function
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster.WatcherOps
ganeti.client.gnt_cluster.html#WatcherOps
Function
Function
PUBLIC
Watcher operations.
-
ganeti.client.gnt_cluster._OobPower
ganeti.client.gnt_cluster.html#_OobPower
Function
Function
PRIVATE
Puts the node in the list to desired power state.
-
ganeti.client.gnt_cluster._InstanceStart
ganeti.client.gnt_cluster.html#_InstanceStart
Function
Function
PRIVATE
Puts the instances in the list to desired state.
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html
Class
Class
PRIVATE
Helper class to make shared internal state sharing easier.
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.success
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#success
Attribute
Instance Variable
PUBLIC
Indicates if all action_cb calls were successful
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.__init__
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#__init__
Function
Method
PUBLIC
Init the object.
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.down
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#down
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.up
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#up
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.node2ip
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#node2ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.action_cb
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#action_cb
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.port
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#port
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.feedback_fn
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper._ping_fn
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#_ping_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper._sleep_fn
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#_sleep_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.__call__
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#__call__
Function
Method
PUBLIC
When called we run action_cb.
-
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.Wait
ganeti.client.gnt_cluster._RunWhenNodesReachableHelper.html#Wait
Function
Method
PUBLIC
Checks if a host is up or waits remaining seconds.
-
ganeti.client.gnt_cluster._RunWhenNodesReachable
ganeti.client.gnt_cluster.html#_RunWhenNodesReachable
Function
Function
PRIVATE
Run action_cb when nodes become reachable.
-
ganeti.client.gnt_cluster._MaybeInstanceStartup
ganeti.client.gnt_cluster.html#_MaybeInstanceStartup
Function
Function
PRIVATE
Start the instances conditional based on node_states.
-
ganeti.client.gnt_cluster._EpoOn
ganeti.client.gnt_cluster.html#_EpoOn
Function
Function
PRIVATE
Does the actual power on.
-
ganeti.client.gnt_cluster._EpoOff
ganeti.client.gnt_cluster.html#_EpoOff
Function
Function
PRIVATE
Does the actual power off.
-
ganeti.client.gnt_cluster.Epo
ganeti.client.gnt_cluster.html#Epo
Function
Function
PUBLIC
EPO operations.
-
ganeti.client.gnt_cluster._GetCreateCommand
ganeti.client.gnt_cluster.html#_GetCreateCommand
Function
Function
PRIVATE
Undocumented
-
ganeti.client.gnt_cluster.ShowCreateCommand
ganeti.client.gnt_cluster.html#ShowCreateCommand
Function
Function
PUBLIC
Shows the command that can be used to re-create the cluster.
-
ganeti.client.gnt_cluster._RunCommandAndReport
ganeti.client.gnt_cluster.html#_RunCommandAndReport
Function
Function
PRIVATE
Run a command and report its output, iff it failed.
-
ganeti.client.gnt_cluster._VerifyCommand
ganeti.client.gnt_cluster.html#_VerifyCommand
Function
Function
PRIVATE
Verify that a given command succeeds on all online nodes.
-
ganeti.client.gnt_cluster._VerifyCommandRaw
ganeti.client.gnt_cluster.html#_VerifyCommandRaw
Function
Function
PRIVATE
Verify that a given command succeeds on all online nodes.
-
ganeti.client.gnt_cluster._VerifyVersionInstalled
ganeti.client.gnt_cluster.html#_VerifyVersionInstalled
Function
Function
PRIVATE
Verify that the given version of ganeti is installed on all online nodes.
-
ganeti.client.gnt_cluster._GetRunning
ganeti.client.gnt_cluster.html#_GetRunning
Function
Function
PRIVATE
Determine the list of running jobs.
-
ganeti.client.gnt_cluster._SetGanetiVersionAndEnsure
ganeti.client.gnt_cluster.html#_SetGanetiVersionAndEnsure
Function
Function
PRIVATE
Symlink the active version of ganeti to the given versionstring, and run the ensure-dirs script.
-
ganeti.client.gnt_cluster._ExecuteCommands
ganeti.client.gnt_cluster.html#_ExecuteCommands
Function
Function
PRIVATE
Execute a list of functions, in reverse order.
-
ganeti.client.gnt_cluster._GetConfigVersion
ganeti.client.gnt_cluster.html#_GetConfigVersion
Function
Function
PRIVATE
Determine the version the configuration file currently has.
-
ganeti.client.gnt_cluster._ReadIntentToUpgrade
ganeti.client.gnt_cluster.html#_ReadIntentToUpgrade
Function
Function
PRIVATE
Read the file documenting the intent to upgrade the cluster.
-
ganeti.client.gnt_cluster._WriteIntentToUpgrade
ganeti.client.gnt_cluster.html#_WriteIntentToUpgrade
Function
Function
PRIVATE
Write file documenting the intent to upgrade the cluster.
-
ganeti.client.gnt_cluster._UpgradeBeforeConfigurationChange
ganeti.client.gnt_cluster.html#_UpgradeBeforeConfigurationChange
Function
Function
PRIVATE
Carry out all the tasks necessary for an upgrade that happen before the configuration file, or Ganeti version, changes.
-
ganeti.client.gnt_cluster._VersionSpecificDowngrade
ganeti.client.gnt_cluster.html#_VersionSpecificDowngrade
Function
Function
PRIVATE
Perform any additional downrade tasks that are version specific and need to be done just after the configuration downgrade. This function needs to be idempotent, so that it can be redone if the downgrade procedure gets interrupted after changing the configuration.
-
ganeti.client.gnt_cluster._SwitchVersionAndConfig
ganeti.client.gnt_cluster.html#_SwitchVersionAndConfig
Function
Function
PRIVATE
Switch to the new Ganeti version and change the configuration, in correct order.
-
ganeti.client.gnt_cluster._UpgradeAfterConfigurationChange
ganeti.client.gnt_cluster.html#_UpgradeAfterConfigurationChange
Function
Function
PRIVATE
Carry out the upgrade actions necessary after switching to the new Ganeti version and updating the configuration.
-
ganeti.client.gnt_cluster.UpgradeGanetiCommand
ganeti.client.gnt_cluster.html#UpgradeGanetiCommand
Function
Function
PUBLIC
Upgrade a cluster to a new ganeti version.
-
ganeti.client.gnt_cluster.commands
ganeti.client.gnt_cluster.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.aliases
ganeti.client.gnt_cluster.html#aliases
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_cluster.Main
ganeti.client.gnt_cluster.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.metad.Client
ganeti.metad.Client.html
Class
Class
PUBLIC
High-level Metad client implementation.
-
ganeti.metad.Client.__init__
ganeti.metad.Client.html#__init__
Function
Method
PUBLIC
Constructor for the Client class.
-
ganeti.metad.Client._InitTransport
ganeti.metad.Client.html#_InitTransport
Function
Method
PRIVATE
(Re)initialize the transport if needed.
-
ganeti.metad.Client.transport
ganeti.metad.Client.html#transport
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.wconfd.Client
ganeti.wconfd.Client.html
Class
Class
PUBLIC
High-level WConfD client implementation.
-
ganeti.wconfd.Client.__init__
ganeti.wconfd.Client.html#__init__
Function
Method
PUBLIC
Constructor for the Client class.
-
ganeti.client.gnt_debug._LIST_LOCKS_DEF_FIELDS
ganeti.client.gnt_debug.html#_LIST_LOCKS_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_debug.Delay
ganeti.client.gnt_debug.html#Delay
Function
Function
PUBLIC
Sleeps for a while
-
ganeti.client.gnt_debug.GenericOpCodes
ganeti.client.gnt_debug.html#GenericOpCodes
Function
Function
PUBLIC
Send any opcode to the master.
-
ganeti.client.gnt_debug.TestAllocator
ganeti.client.gnt_debug.html#TestAllocator
Function
Function
PUBLIC
Runs the test allocator opcode.
-
ganeti.client.gnt_debug._TestJobDependency
ganeti.client.gnt_debug.html#_TestJobDependency
Function
Function
PRIVATE
Tests job dependencies.
-
ganeti.client.gnt_debug._TestJobSubmission
ganeti.client.gnt_debug.html#_TestJobSubmission
Function
Function
PRIVATE
Tests submitting jobs.
-
ganeti.client.gnt_debug._JobQueueTestReporter
ganeti.client.gnt_debug._JobQueueTestReporter.html
Class
Class
PRIVATE
No class docstring; 0/4 instance variable, 5/5 methods documented
-
ganeti.client.gnt_debug._JobQueueTestReporter.__init__
ganeti.client.gnt_debug._JobQueueTestReporter.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.client.gnt_debug._JobQueueTestReporter._expected_msgcount
ganeti.client.gnt_debug._JobQueueTestReporter.html#_expected_msgcount
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.client.gnt_debug._JobQueueTestReporter._all_testmsgs
ganeti.client.gnt_debug._JobQueueTestReporter.html#_all_testmsgs
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.client.gnt_debug._JobQueueTestReporter._testmsgs
ganeti.client.gnt_debug._JobQueueTestReporter.html#_testmsgs
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.client.gnt_debug._JobQueueTestReporter._job_id
ganeti.client.gnt_debug._JobQueueTestReporter.html#_job_id
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.client.gnt_debug._JobQueueTestReporter.GetTestMessages
ganeti.client.gnt_debug._JobQueueTestReporter.html#GetTestMessages
Function
Method
PUBLIC
Returns all test log messages received so far.
-
ganeti.client.gnt_debug._JobQueueTestReporter.GetJobId
ganeti.client.gnt_debug._JobQueueTestReporter.html#GetJobId
Function
Method
PUBLIC
Returns the job ID.
-
ganeti.client.gnt_debug._JobQueueTestReporter.ReportLogMessage
ganeti.client.gnt_debug._JobQueueTestReporter.html#ReportLogMessage
Function
Method
PUBLIC
Handles a log message.
-
ganeti.client.gnt_debug._JobQueueTestReporter._ProcessTestMessage
ganeti.client.gnt_debug._JobQueueTestReporter.html#_ProcessTestMessage
Function
Method
PRIVATE
Handles a job queue test message.
-
ganeti.client.gnt_debug.TestJobqueue
ganeti.client.gnt_debug.html#TestJobqueue
Function
Function
PUBLIC
Runs a few tests on the job queue.
-
ganeti.client.gnt_debug.TestOsParams
ganeti.client.gnt_debug.html#TestOsParams
Function
Function
PUBLIC
Set secret os parameters.
-
ganeti.client.gnt_debug.ListLocks
ganeti.client.gnt_debug.html#ListLocks
Function
Function
PUBLIC
List all locks.
-
ganeti.client.gnt_debug.Metad
ganeti.client.gnt_debug.html#Metad
Function
Function
PUBLIC
Send commands to Metad.
-
ganeti.client.gnt_debug.Wconfd
ganeti.client.gnt_debug.html#Wconfd
Function
Function
PUBLIC
Send commands to WConfD.
-
ganeti.client.gnt_debug.commands
ganeti.client.gnt_debug.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_debug.aliases
ganeti.client.gnt_debug.html#aliases
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_debug.Main
ganeti.client.gnt_debug.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_filter._LIST_DEF_FIELDS
ganeti.client.gnt_filter.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_filter.AddFilter
ganeti.client.gnt_filter.html#AddFilter
Function
Function
PUBLIC
Add a job filter rule.
-
ganeti.client.gnt_filter.ListFilters
ganeti.client.gnt_filter.html#ListFilters
Function
Function
PUBLIC
List job filter rules and their properties.
-
ganeti.client.gnt_filter.ListFilterFields
ganeti.client.gnt_filter.html#ListFilterFields
Function
Function
PUBLIC
List filter rule fields.
-
ganeti.client.gnt_filter.ReplaceFilter
ganeti.client.gnt_filter.html#ReplaceFilter
Function
Function
PUBLIC
Replaces a job filter rule with the given UUID, or creates it, if it doesn't exist already.
-
ganeti.client.gnt_filter.ShowFilter
ganeti.client.gnt_filter.html#ShowFilter
Function
Function
PUBLIC
Show filter rule details.
-
ganeti.client.gnt_filter.DeleteFilter
ganeti.client.gnt_filter.html#DeleteFilter
Function
Function
PUBLIC
Remove a job filter rule.
-
ganeti.client.gnt_filter.FILTER_PRIORITY_OPT
ganeti.client.gnt_filter.html#FILTER_PRIORITY_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_filter.FILTER_PREDICATES_OPT
ganeti.client.gnt_filter.html#FILTER_PREDICATES_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_filter.FILTER_ACTION_OPT
ganeti.client.gnt_filter.html#FILTER_ACTION_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_filter.commands
ganeti.client.gnt_filter.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_filter.Main
ganeti.client.gnt_filter.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_group._LIST_DEF_FIELDS
ganeti.client.gnt_group.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_group._ENV_OVERRIDE
ganeti.client.gnt_group.html#_ENV_OVERRIDE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_group.AddGroup
ganeti.client.gnt_group.html#AddGroup
Function
Function
PUBLIC
Add a node group to the cluster.
-
ganeti.client.gnt_group.AssignNodes
ganeti.client.gnt_group.html#AssignNodes
Function
Function
PUBLIC
Assign nodes to a group.
-
ganeti.client.gnt_group._FmtDict
ganeti.client.gnt_group.html#_FmtDict
Function
Function
PRIVATE
Format dict data into command-line format.
-
ganeti.client.gnt_group.ListGroups
ganeti.client.gnt_group.html#ListGroups
Function
Function
PUBLIC
List node groups and their properties.
-
ganeti.client.gnt_group.ListGroupFields
ganeti.client.gnt_group.html#ListGroupFields
Function
Function
PUBLIC
List node fields.
-
ganeti.client.gnt_group.SetGroupParams
ganeti.client.gnt_group.html#SetGroupParams
Function
Function
PUBLIC
Modifies a node group's parameters.
-
ganeti.client.gnt_group.RemoveGroup
ganeti.client.gnt_group.html#RemoveGroup
Function
Function
PUBLIC
Remove a node group from the cluster.
-
ganeti.client.gnt_group.RenameGroup
ganeti.client.gnt_group.html#RenameGroup
Function
Function
PUBLIC
Rename a node group.
-
ganeti.client.gnt_group.EvacuateGroup
ganeti.client.gnt_group.html#EvacuateGroup
Function
Function
PUBLIC
Evacuate a node group.
-
ganeti.client.gnt_group._FormatGroupInfo
ganeti.client.gnt_group.html#_FormatGroupInfo
Function
Function
PRIVATE
Undocumented
-
ganeti.client.gnt_group.GroupInfo
ganeti.client.gnt_group.html#GroupInfo
Function
Function
PUBLIC
Shows info about node group.
-
ganeti.client.gnt_group._GetCreateCommand
ganeti.client.gnt_group.html#_GetCreateCommand
Function
Function
PRIVATE
Undocumented
-
ganeti.client.gnt_group.ShowCreateCommand
ganeti.client.gnt_group.html#ShowCreateCommand
Function
Function
PUBLIC
Shows the command that can be used to re-create a node group.
-
ganeti.client.gnt_group.commands
ganeti.client.gnt_group.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_group.Main
ganeti.client.gnt_group.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_instance._EXPAND_CLUSTER
ganeti.client.gnt_instance.html#_EXPAND_CLUSTER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_BOTH
ganeti.client.gnt_instance.html#_EXPAND_NODES_BOTH
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_PRI
ganeti.client.gnt_instance.html#_EXPAND_NODES_PRI
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_SEC
ganeti.client.gnt_instance.html#_EXPAND_NODES_SEC
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_BOTH_BY_TAGS
ganeti.client.gnt_instance.html#_EXPAND_NODES_BOTH_BY_TAGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_PRI_BY_TAGS
ganeti.client.gnt_instance.html#_EXPAND_NODES_PRI_BY_TAGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_SEC_BY_TAGS
ganeti.client.gnt_instance.html#_EXPAND_NODES_SEC_BY_TAGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_INSTANCES
ganeti.client.gnt_instance.html#_EXPAND_INSTANCES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_INSTANCES_BY_TAGS
ganeti.client.gnt_instance.html#_EXPAND_INSTANCES_BY_TAGS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._EXPAND_NODES_TAGS_MODES
ganeti.client.gnt_instance.html#_EXPAND_NODES_TAGS_MODES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._LIST_DEF_FIELDS
ganeti.client.gnt_instance.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._MISSING
ganeti.client.gnt_instance.html#_MISSING
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._ENV_OVERRIDE
ganeti.client.gnt_instance.html#_ENV_OVERRIDE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._INST_DATA_VAL
ganeti.client.gnt_instance.html#_INST_DATA_VAL
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_instance._ExpandMultiNames
ganeti.client.gnt_instance.html#_ExpandMultiNames
Function
Function
PRIVATE
Expand the given names using the passed mode.
-
ganeti.client.gnt_instance._EnsureInstancesExist
ganeti.client.gnt_instance.html#_EnsureInstancesExist
Function
Function
PRIVATE
Check for and ensure the given instance names exist.
-
ganeti.client.gnt_instance.GenericManyOps
ganeti.client.gnt_instance.html#GenericManyOps
Function
Function
PUBLIC
Generic multi-instance operations.
-
ganeti.client.gnt_instance.ListInstances
ganeti.client.gnt_instance.html#ListInstances
Function
Function
PUBLIC
List instances and their properties.
-
ganeti.client.gnt_instance.ListInstanceFields
ganeti.client.gnt_instance.html#ListInstanceFields
Function
Function
PUBLIC
List instance fields.
-
ganeti.client.gnt_instance.AddInstance
ganeti.client.gnt_instance.html#AddInstance
Function
Function
PUBLIC
Add an instance to the cluster.
-
ganeti.client.gnt_instance.BatchCreate
ganeti.client.gnt_instance.html#BatchCreate
Function
Function
PUBLIC
Create instances using a definition file.
-
ganeti.client.gnt_instance.ReinstallInstance
ganeti.client.gnt_instance.html#ReinstallInstance
Function
Function
PUBLIC
Reinstall an instance.
-
ganeti.client.gnt_instance.RemoveInstance
ganeti.client.gnt_instance.html#RemoveInstance
Function
Function
PUBLIC
Remove an instance.
-
ganeti.client.gnt_instance.RenameInstance
ganeti.client.gnt_instance.html#RenameInstance
Function
Function
PUBLIC
Rename an instance.
-
ganeti.client.gnt_instance.ActivateDisks
ganeti.client.gnt_instance.html#ActivateDisks
Function
Function
PUBLIC
Activate an instance's disks.
-
ganeti.client.gnt_instance.DeactivateDisks
ganeti.client.gnt_instance.html#DeactivateDisks
Function
Function
PUBLIC
Deactivate an instance's disks.
-
ganeti.client.gnt_instance.RecreateDisks
ganeti.client.gnt_instance.html#RecreateDisks
Function
Function
PUBLIC
Recreate an instance's disks.
-
ganeti.client.gnt_instance.GrowDisk
ganeti.client.gnt_instance.html#GrowDisk
Function
Function
PUBLIC
Grow an instance's disks.
-
ganeti.client.gnt_instance._StartupInstance
ganeti.client.gnt_instance.html#_StartupInstance
Function
Function
PRIVATE
Startup instances.
-
ganeti.client.gnt_instance._RebootInstance
ganeti.client.gnt_instance.html#_RebootInstance
Function
Function
PRIVATE
Reboot instance(s).
-
ganeti.client.gnt_instance._ShutdownInstance
ganeti.client.gnt_instance.html#_ShutdownInstance
Function
Function
PRIVATE
Shutdown an instance.
-
ganeti.client.gnt_instance.ReplaceDisks
ganeti.client.gnt_instance.html#ReplaceDisks
Function
Function
PUBLIC
Replace the disks of an instance
-
ganeti.client.gnt_instance.FailoverInstance
ganeti.client.gnt_instance.html#FailoverInstance
Function
Function
PUBLIC
Failover an instance.
-
ganeti.client.gnt_instance.MigrateInstance
ganeti.client.gnt_instance.html#MigrateInstance
Function
Function
PUBLIC
Migrate an instance.
-
ganeti.client.gnt_instance.MoveInstance
ganeti.client.gnt_instance.html#MoveInstance
Function
Function
PUBLIC
Move an instance.
-
ganeti.client.gnt_instance.ConnectToInstanceConsole
ganeti.client.gnt_instance.html#ConnectToInstanceConsole
Function
Function
PUBLIC
Connect to the console of an instance.
-
ganeti.client.gnt_instance._DoConsole
ganeti.client.gnt_instance.html#_DoConsole
Function
Function
PRIVATE
-
ganeti.client.gnt_instance._FormatDiskDetails
ganeti.client.gnt_instance.html#_FormatDiskDetails
Function
Function
PRIVATE
Formats the logical_id of a disk.
-
ganeti.client.gnt_instance._FormatBlockDevInfo
ganeti.client.gnt_instance.html#_FormatBlockDevInfo
Function
Function
PRIVATE
Show block device information.
-
ganeti.client.gnt_instance._FormatInstanceNicInfo
ganeti.client.gnt_instance.html#_FormatInstanceNicInfo
Function
Function
PRIVATE
-
ganeti.client.gnt_instance._FormatInstanceNodesInfo
ganeti.client.gnt_instance.html#_FormatInstanceNodesInfo
Function
Function
PRIVATE
-
ganeti.client.gnt_instance._GetVncConsoleInfo
ganeti.client.gnt_instance.html#_GetVncConsoleInfo
Function
Function
PRIVATE
-
ganeti.client.gnt_instance._FormatInstanceInfo
ganeti.client.gnt_instance.html#_FormatInstanceInfo
Function
Function
PRIVATE
-
ganeti.client.gnt_instance.ShowInstanceConfig
ganeti.client.gnt_instance.html#ShowInstanceConfig
Function
Function
PUBLIC
Compute instance run-time status.
-
ganeti.client.gnt_instance._ConvertNicDiskModifications
ganeti.client.gnt_instance.html#_ConvertNicDiskModifications
Function
Function
PRIVATE
Converts NIC/disk modifications from CLI to opcode.
-
ganeti.client.gnt_instance._ParseExtStorageParams
ganeti.client.gnt_instance.html#_ParseExtStorageParams
Function
Function
PRIVATE
Parses the disk params for ExtStorage conversions.
-
ganeti.client.gnt_instance._ParseDiskSizes
ganeti.client.gnt_instance.html#_ParseDiskSizes
Function
Function
PRIVATE
Parses disk sizes in parameters.
-
ganeti.client.gnt_instance.SetInstanceParams
ganeti.client.gnt_instance.html#SetInstanceParams
Function
Function
PUBLIC
Modifies an instance.
-
ganeti.client.gnt_instance.ChangeGroup
ganeti.client.gnt_instance.html#ChangeGroup
Function
Function
PUBLIC
Moves an instance to another group.
-
ganeti.client.gnt_instance.m_force_multi
ganeti.client.gnt_instance.html#m_force_multi
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_pri_node_opt
ganeti.client.gnt_instance.html#m_pri_node_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_sec_node_opt
ganeti.client.gnt_instance.html#m_sec_node_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_node_opt
ganeti.client.gnt_instance.html#m_node_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_clust_opt
ganeti.client.gnt_instance.html#m_clust_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_inst_opt
ganeti.client.gnt_instance.html#m_inst_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_node_tags_opt
ganeti.client.gnt_instance.html#m_node_tags_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_pri_node_tags_opt
ganeti.client.gnt_instance.html#m_pri_node_tags_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_sec_node_tags_opt
ganeti.client.gnt_instance.html#m_sec_node_tags_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.m_inst_tags_opt
ganeti.client.gnt_instance.html#m_inst_tags_opt
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.add_opts
ganeti.client.gnt_instance.html#add_opts
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.commands
ganeti.client.gnt_instance.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.aliases
ganeti.client.gnt_instance.html#aliases
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_instance.Main
ganeti.client.gnt_instance.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_job._LIST_DEF_FIELDS
ganeti.client.gnt_job.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._USER_JOB_STATUS
ganeti.client.gnt_job.html#_USER_JOB_STATUS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._FormatStatus
ganeti.client.gnt_job.html#_FormatStatus
Function
Function
PRIVATE
Formats a job status.
-
ganeti.client.gnt_job._FormatSummary
ganeti.client.gnt_job.html#_FormatSummary
Function
Function
PRIVATE
Formats a job's summary.
-
ganeti.client.gnt_job._JOB_LIST_FORMAT
ganeti.client.gnt_job.html#_JOB_LIST_FORMAT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._ParseJobIds
ganeti.client.gnt_job.html#_ParseJobIds
Function
Function
PRIVATE
Parses a list of string job IDs into integers.
-
ganeti.client.gnt_job.ListJobs
ganeti.client.gnt_job.html#ListJobs
Function
Function
PUBLIC
List the jobs
-
ganeti.client.gnt_job.ListJobFields
ganeti.client.gnt_job.html#ListJobFields
Function
Function
PUBLIC
List job fields.
-
ganeti.client.gnt_job.ArchiveJobs
ganeti.client.gnt_job.html#ArchiveJobs
Function
Function
PUBLIC
Archive jobs.
-
ganeti.client.gnt_job.AutoArchiveJobs
ganeti.client.gnt_job.html#AutoArchiveJobs
Function
Function
PUBLIC
Archive jobs based on age.
-
ganeti.client.gnt_job._MultiJobAction
ganeti.client.gnt_job.html#_MultiJobAction
Function
Function
PRIVATE
Applies a function to multiple jobs.
-
ganeti.client.gnt_job.CancelJobs
ganeti.client.gnt_job.html#CancelJobs
Function
Function
PUBLIC
Cancel not-yet-started jobs.
-
ganeti.client.gnt_job.ChangePriority
ganeti.client.gnt_job.html#ChangePriority
Function
Function
PUBLIC
Change priority of jobs.
-
ganeti.client.gnt_job._ListOpcodeTimestamp
ganeti.client.gnt_job.html#_ListOpcodeTimestamp
Function
Function
PRIVATE
Adds the opcode timestamp to the given container.
-
ganeti.client.gnt_job._CalcDelta
ganeti.client.gnt_job.html#_CalcDelta
Function
Function
PRIVATE
Calculates the delta between two timestamps.
-
ganeti.client.gnt_job._ListJobTimestamp
ganeti.client.gnt_job.html#_ListJobTimestamp
Function
Function
PRIVATE
Adds the job timestamp to the given container.
-
ganeti.client.gnt_job.ShowJobs
ganeti.client.gnt_job.html#ShowJobs
Function
Function
PUBLIC
Show detailed information about jobs.
-
ganeti.client.gnt_job.WatchJob
ganeti.client.gnt_job.html#WatchJob
Function
Function
PUBLIC
Follow a job and print its output as it arrives.
-
ganeti.client.gnt_job.WaitJob
ganeti.client.gnt_job.html#WaitJob
Function
Function
PUBLIC
Wait for a job to finish, not producing any output.
-
ganeti.client.gnt_job._KILL_OPT
ganeti.client.gnt_job.html#_KILL_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._YES_DOIT_OPT
ganeti.client.gnt_job.html#_YES_DOIT_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._PENDING_OPT
ganeti.client.gnt_job.html#_PENDING_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._RUNNING_OPT
ganeti.client.gnt_job.html#_RUNNING_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._ERROR_OPT
ganeti.client.gnt_job.html#_ERROR_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._FINISHED_OPT
ganeti.client.gnt_job.html#_FINISHED_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._ARCHIVED_OPT
ganeti.client.gnt_job.html#_ARCHIVED_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._QUEUED_OPT
ganeti.client.gnt_job.html#_QUEUED_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job._WAITING_OPT
ganeti.client.gnt_job.html#_WAITING_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_job.commands
ganeti.client.gnt_job.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_job.aliases
ganeti.client.gnt_job.html#aliases
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_job.Main
ganeti.client.gnt_job.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_network._LIST_DEF_FIELDS
ganeti.client.gnt_network.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_network._HandleReservedIPs
ganeti.client.gnt_network.html#_HandleReservedIPs
Function
Function
PRIVATE
Undocumented
-
ganeti.client.gnt_network.AddNetwork
ganeti.client.gnt_network.html#AddNetwork
Function
Function
PUBLIC
Add a network to the cluster.
-
ganeti.client.gnt_network._GetDefaultGroups
ganeti.client.gnt_network.html#_GetDefaultGroups
Function
Function
PRIVATE
Gets list of groups to operate on.
-
ganeti.client.gnt_network.ConnectNetwork
ganeti.client.gnt_network.html#ConnectNetwork
Function
Function
PUBLIC
Map a network to a node group.
-
ganeti.client.gnt_network.DisconnectNetwork
ganeti.client.gnt_network.html#DisconnectNetwork
Function
Function
PUBLIC
Unmap a network from a node group.
-
ganeti.client.gnt_network.ListNetworks
ganeti.client.gnt_network.html#ListNetworks
Function
Function
PUBLIC
List Ip pools and their properties.
-
ganeti.client.gnt_network.ListNetworkFields
ganeti.client.gnt_network.html#ListNetworkFields
Function
Function
PUBLIC
List network fields.
-
ganeti.client.gnt_network.ShowNetworkConfig
ganeti.client.gnt_network.html#ShowNetworkConfig
Function
Function
PUBLIC
Show network information.
-
ganeti.client.gnt_network.SetNetworkParams
ganeti.client.gnt_network.html#SetNetworkParams
Function
Function
PUBLIC
Modifies an IP address pool's parameters.
-
ganeti.client.gnt_network.RemoveNetwork
ganeti.client.gnt_network.html#RemoveNetwork
Function
Function
PUBLIC
Remove an IP address pool from the cluster.
-
ganeti.client.gnt_network.RenameNetwork
ganeti.client.gnt_network.html#RenameNetwork
Function
Function
PUBLIC
Rename a network.
-
ganeti.client.gnt_network.commands
ganeti.client.gnt_network.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_network.Main
ganeti.client.gnt_network.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.confd._FOURCC_LEN
ganeti.confd.html#_FOURCC_LEN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.confd._HTNodeDrbdItems
ganeti.confd.html#_HTNodeDrbdItems
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.confd.HTNodeDrbd
ganeti.confd.html#HTNodeDrbd
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.confd.PackMagic
ganeti.confd.html#PackMagic
Function
Function
PUBLIC
Prepend the confd magic fourcc to a payload.
-
ganeti.confd.UnpackMagic
ganeti.confd.html#UnpackMagic
Function
Function
PUBLIC
Unpack and check the confd magic fourcc from a payload.
-
ganeti.confd.client.ConfdAsyncUDPClient
ganeti.confd.client.ConfdAsyncUDPClient.html
Class
Class
PUBLIC
Confd udp asyncore client
-
ganeti.confd.client.ConfdAsyncUDPClient.__init__
ganeti.confd.client.ConfdAsyncUDPClient.html#__init__
Function
Method
PUBLIC
Constructor for ConfdAsyncUDPClient
-
ganeti.confd.client.ConfdAsyncUDPClient.client
ganeti.confd.client.ConfdAsyncUDPClient.html#client
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdAsyncUDPClient.handle_datagram
ganeti.confd.client.ConfdAsyncUDPClient.html#handle_datagram
Function
Method
PUBLIC
Handle an already read udp datagram
-
ganeti.confd.client._Request
ganeti.confd.client._Request.html
Class
Class
PRIVATE
Request status structure.
-
ganeti.confd.client._Request.request
ganeti.confd.client._Request.html#request
Attribute
Instance Variable
PUBLIC
the request data
-
ganeti.confd.client._Request.args
ganeti.confd.client._Request.html#args
Attribute
Instance Variable
PUBLIC
any extra arguments for the callback
-
ganeti.confd.client._Request.expiry
ganeti.confd.client._Request.html#expiry
Attribute
Instance Variable
PUBLIC
the expiry timestamp of the request
-
ganeti.confd.client._Request.sent
ganeti.confd.client._Request.html#sent
Attribute
Instance Variable
PUBLIC
the set of contacted peers
-
ganeti.confd.client._Request.rcvd
ganeti.confd.client._Request.html#rcvd
Attribute
Instance Variable
PUBLIC
the set of peers who replied
-
ganeti.confd.client._Request.__init__
ganeti.confd.client._Request.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdClient
ganeti.confd.client.ConfdClient.html
Class
Class
PUBLIC
Send queries to confd, and get back answers.
-
ganeti.confd.client.ConfdClient._requests
ganeti.confd.client.ConfdClient.html#_requests
Attribute
Instance Variable
PRIVATE
dictionary indexes by salt, which contains data about the outstanding requests; the values are objects of type
_Request
-
ganeti.confd.client.ConfdClient.__init__
ganeti.confd.client.ConfdClient.html#__init__
Function
Method
PUBLIC
Constructor for ConfdClient
-
ganeti.confd.client.ConfdClient._hmac_key
ganeti.confd.client.ConfdClient.html#_hmac_key
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient._socket
ganeti.confd.client.ConfdClient.html#_socket
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient._callback
ganeti.confd.client.ConfdClient.html#_callback
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient._confd_port
ganeti.confd.client.ConfdClient.html#_confd_port
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient._logger
ganeti.confd.client.ConfdClient.html#_logger
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient.UpdatePeerList
ganeti.confd.client.ConfdClient.html#UpdatePeerList
Function
Method
PUBLIC
Update the list of peers
-
ganeti.confd.client.ConfdClient._peers
ganeti.confd.client.ConfdClient.html#_peers
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient._PackRequest
ganeti.confd.client.ConfdClient.html#_PackRequest
Function
Method
PRIVATE
Prepare a request to be sent on the wire.
-
ganeti.confd.client.ConfdClient._UnpackReply
ganeti.confd.client.ConfdClient.html#_UnpackReply
Function
Method
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient.ExpireRequests
ganeti.confd.client.ConfdClient.html#ExpireRequests
Function
Method
PUBLIC
Delete all the expired requests.
-
ganeti.confd.client.ConfdClient.SendRequest
ganeti.confd.client.ConfdClient.html#SendRequest
Function
Method
PUBLIC
Send a confd request to some MCs
-
ganeti.confd.client.ConfdClient.HandleResponse
ganeti.confd.client.ConfdClient.html#HandleResponse
Function
Method
PUBLIC
Asynchronous handler for a confd reply
-
ganeti.confd.client.ConfdClient.FlushSendQueue
ganeti.confd.client.ConfdClient.html#FlushSendQueue
Function
Method
PUBLIC
Send out all pending requests.
-
ganeti.confd.client.ConfdClient.ReceiveReply
ganeti.confd.client.ConfdClient.html#ReceiveReply
Function
Method
PUBLIC
Receive one reply.
-
ganeti.confd.client.ConfdClient._NeededReplies
ganeti.confd.client.ConfdClient.html#_NeededReplies
Function
Static Method
PRIVATE
Compute the minimum safe number of replies for a query.
-
ganeti.confd.client.ConfdClient.WaitForReply
ganeti.confd.client.ConfdClient.html#WaitForReply
Function
Method
PUBLIC
Wait for replies to a given request.
-
ganeti.confd.client.ConfdClient._SetPeersAddressFamily
ganeti.confd.client.ConfdClient.html#_SetPeersAddressFamily
Function
Method
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdClient._family
ganeti.confd.client.ConfdClient.html#_family
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.UPCALL_REPLY
ganeti.confd.client.html#UPCALL_REPLY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.confd.client.UPCALL_EXPIRE
ganeti.confd.client.html#UPCALL_EXPIRE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.confd.client.CONFD_UPCALL_TYPES
ganeti.confd.client.html#CONFD_UPCALL_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdUpcallPayload
ganeti.confd.client.ConfdUpcallPayload.html
Class
Class
PUBLIC
Callback argument for confd replies
-
ganeti.confd.client.ConfdUpcallPayload.salt
ganeti.confd.client.ConfdUpcallPayload.html#salt
Attribute
Instance Variable
PUBLIC
salt associated with the query
-
ganeti.confd.client.ConfdUpcallPayload.type
ganeti.confd.client.ConfdUpcallPayload.html#type
Attribute
Instance Variable
PUBLIC
upcall type (server reply, expired request, ...)
-
ganeti.confd.client.ConfdUpcallPayload.orig_request
ganeti.confd.client.ConfdUpcallPayload.html#orig_request
Attribute
Instance Variable
PUBLIC
original request
-
ganeti.confd.client.ConfdUpcallPayload.server_reply
ganeti.confd.client.ConfdUpcallPayload.html#server_reply
Attribute
Instance Variable
PUBLIC
server reply
-
ganeti.confd.client.ConfdUpcallPayload.server_ip
ganeti.confd.client.ConfdUpcallPayload.html#server_ip
Attribute
Instance Variable
PUBLIC
answering server ip address
-
ganeti.confd.client.ConfdUpcallPayload.server_port
ganeti.confd.client.ConfdUpcallPayload.html#server_port
Attribute
Instance Variable
PUBLIC
answering server port
-
ganeti.confd.client.ConfdUpcallPayload.client
ganeti.confd.client.ConfdUpcallPayload.html#client
Attribute
Instance Variable
PUBLIC
current confd client instance
-
ganeti.confd.client.ConfdUpcallPayload.__slots__
ganeti.confd.client.ConfdUpcallPayload.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdClientRequest
ganeti.confd.client.ConfdClientRequest.html
Class
Class
PUBLIC
This is the client-side version of ConfdRequest.
-
ganeti.confd.client.ConfdClientRequest.__init__
ganeti.confd.client.ConfdClientRequest.html#__init__
Function
Method
PUBLIC
Constructor for BaseOpCode.
-
ganeti.confd.client.ConfdClientRequest.rsalt
ganeti.confd.client.ConfdClientRequest.html#rsalt
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdClientRequest.protocol
ganeti.confd.client.ConfdClientRequest.html#protocol
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdFilterCallback
ganeti.confd.client.ConfdFilterCallback.html
Class
Class
PUBLIC
Callback that calls another callback, but filters duplicate results.
-
ganeti.confd.client.ConfdFilterCallback.consistent
ganeti.confd.client.ConfdFilterCallback.html#consistent
Attribute
Instance Variable
PUBLIC
a dictionary indexed by salt; for each salt, if all responses ware identical, this will be True; this is the expected state on a healthy cluster; on inconsistent or partitioned clusters, this might be False, if we see answers with the same serial but different contents...
-
ganeti.confd.client.ConfdFilterCallback.__init__
ganeti.confd.client.ConfdFilterCallback.html#__init__
Function
Method
PUBLIC
Constructor for ConfdFilterCallback
-
ganeti.confd.client.ConfdFilterCallback._callback
ganeti.confd.client.ConfdFilterCallback.html#_callback
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdFilterCallback._logger
ganeti.confd.client.ConfdFilterCallback.html#_logger
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdFilterCallback._answers
ganeti.confd.client.ConfdFilterCallback.html#_answers
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdFilterCallback._LogFilter
ganeti.confd.client.ConfdFilterCallback.html#_LogFilter
Function
Method
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdFilterCallback._HandleExpire
ganeti.confd.client.ConfdFilterCallback.html#_HandleExpire
Function
Method
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdFilterCallback._HandleReply
ganeti.confd.client.ConfdFilterCallback.html#_HandleReply
Function
Method
PRIVATE
Handle a single confd reply, and decide whether to filter it.
-
ganeti.confd.client.ConfdFilterCallback.__call__
ganeti.confd.client.ConfdFilterCallback.html#__call__
Function
Method
PUBLIC
Filtering callback
-
ganeti.confd.client.ConfdCountingCallback
ganeti.confd.client.ConfdCountingCallback.html
Class
Class
PUBLIC
Callback that calls another callback, and counts the answers
-
ganeti.confd.client.ConfdCountingCallback.__init__
ganeti.confd.client.ConfdCountingCallback.html#__init__
Function
Method
PUBLIC
Constructor for ConfdCountingCallback
-
ganeti.confd.client.ConfdCountingCallback._callback
ganeti.confd.client.ConfdCountingCallback.html#_callback
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdCountingCallback._logger
ganeti.confd.client.ConfdCountingCallback.html#_logger
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdCountingCallback._answers
ganeti.confd.client.ConfdCountingCallback.html#_answers
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdCountingCallback.RegisterQuery
ganeti.confd.client.ConfdCountingCallback.html#RegisterQuery
Function
Method
PUBLIC
Undocumented
-
ganeti.confd.client.ConfdCountingCallback.AllAnswered
ganeti.confd.client.ConfdCountingCallback.html#AllAnswered
Function
Method
PUBLIC
Have all the registered queries received at least an answer?
-
ganeti.confd.client.ConfdCountingCallback._HandleExpire
ganeti.confd.client.ConfdCountingCallback.html#_HandleExpire
Function
Method
PRIVATE
Undocumented
-
ganeti.confd.client.ConfdCountingCallback._HandleReply
ganeti.confd.client.ConfdCountingCallback.html#_HandleReply
Function
Method
PRIVATE
Handle a single confd reply, and decide whether to filter it.
-
ganeti.confd.client.ConfdCountingCallback.__call__
ganeti.confd.client.ConfdCountingCallback.html#__call__
Function
Method
PUBLIC
Filtering callback
-
ganeti.confd.client.StoreResultCallback
ganeti.confd.client.StoreResultCallback.html
Class
Class
PUBLIC
Callback that simply stores the most recent answer.
-
ganeti.confd.client.StoreResultCallback._answers
ganeti.confd.client.StoreResultCallback.html#_answers
Attribute
Instance Variable
PRIVATE
dict of salt to (have_answer, reply)
-
ganeti.confd.client.StoreResultCallback._NO_KEY
ganeti.confd.client.StoreResultCallback.html#_NO_KEY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.confd.client.StoreResultCallback.__init__
ganeti.confd.client.StoreResultCallback.html#__init__
Function
Method
PUBLIC
Constructor for StoreResultCallback
-
ganeti.confd.client.StoreResultCallback.GetResponse
ganeti.confd.client.StoreResultCallback.html#GetResponse
Function
Method
PUBLIC
Return the best match for a salt
-
ganeti.confd.client.StoreResultCallback._HandleExpire
ganeti.confd.client.StoreResultCallback.html#_HandleExpire
Function
Method
PRIVATE
Expiration handler.
-
ganeti.confd.client.StoreResultCallback._HandleReply
ganeti.confd.client.StoreResultCallback.html#_HandleReply
Function
Method
PRIVATE
Handle a single confd reply, and decide whether to filter it.
-
ganeti.confd.client.StoreResultCallback.__call__
ganeti.confd.client.StoreResultCallback.html#__call__
Function
Method
PUBLIC
Filtering callback
-
ganeti.confd.client.GetConfdClient
ganeti.confd.client.html#GetConfdClient
Function
Function
PUBLIC
Return a client configured using the given callback.
-
ganeti.client.gnt_node._LIST_DEF_FIELDS
ganeti.client.gnt_node.html#_LIST_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._LIST_VOL_DEF_FIELDS
ganeti.client.gnt_node.html#_LIST_VOL_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._LIST_STOR_DEF_FIELDS
ganeti.client.gnt_node.html#_LIST_STOR_DEF_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._LIST_POWER_COMMANDS
ganeti.client.gnt_node.html#_LIST_POWER_COMMANDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._USER_STORAGE_TYPE
ganeti.client.gnt_node.html#_USER_STORAGE_TYPE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._STORAGE_TYPE_OPT
ganeti.client.gnt_node.html#_STORAGE_TYPE_OPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._REPAIRABLE_STORAGE_TYPES
ganeti.client.gnt_node.html#_REPAIRABLE_STORAGE_TYPES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._MODIFIABLE_STORAGE_TYPES
ganeti.client.gnt_node.html#_MODIFIABLE_STORAGE_TYPES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._OOB_COMMAND_ASK
ganeti.client.gnt_node.html#_OOB_COMMAND_ASK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node._ENV_OVERRIDE
ganeti.client.gnt_node.html#_ENV_OVERRIDE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.client.gnt_node.NONODE_SETUP_OPT
ganeti.client.gnt_node.html#NONODE_SETUP_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_node.IGNORE_STATUS_OPT
ganeti.client.gnt_node.html#IGNORE_STATUS_OPT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.client.gnt_node.ConvertStorageType
ganeti.client.gnt_node.html#ConvertStorageType
Function
Function
PUBLIC
Converts a user storage type to its internal name.
-
ganeti.client.gnt_node._TryReadFile
ganeti.client.gnt_node.html#_TryReadFile
Function
Function
PRIVATE
Tries to read a file.
-
ganeti.client.gnt_node._ReadSshKeys
ganeti.client.gnt_node.html#_ReadSshKeys
Function
Function
PRIVATE
Reads the DSA SSH keys according to keyfiles.
-
ganeti.client.gnt_node._SetupSSH
ganeti.client.gnt_node.html#_SetupSSH
Function
Function
PRIVATE
Configures a destination node's SSH daemon.
-
ganeti.client.gnt_node.AddNode
ganeti.client.gnt_node.html#AddNode
Function
Function
PUBLIC
Add a node to the cluster.
-
ganeti.client.gnt_node.ListNodes
ganeti.client.gnt_node.html#ListNodes
Function
Function
PUBLIC
List nodes and their properties.
-
ganeti.client.gnt_node.ListNodeFields
ganeti.client.gnt_node.html#ListNodeFields
Function
Function
PUBLIC
List node fields.
-
ganeti.client.gnt_node.EvacuateNode
ganeti.client.gnt_node.html#EvacuateNode
Function
Function
PUBLIC
Relocate all secondary instance from a node.
-
ganeti.client.gnt_node.FailoverNode
ganeti.client.gnt_node.html#FailoverNode
Function
Function
PUBLIC
Failover all primary instance on a node.
-
ganeti.client.gnt_node.MigrateNode
ganeti.client.gnt_node.html#MigrateNode
Function
Function
PUBLIC
Migrate all primary instance on a node.
-
ganeti.client.gnt_node._FormatNodeInfo
ganeti.client.gnt_node.html#_FormatNodeInfo
Function
Function
PRIVATE
-
ganeti.client.gnt_node.ShowNodeConfig
ganeti.client.gnt_node.html#ShowNodeConfig
Function
Function
PUBLIC
Show node information.
-
ganeti.client.gnt_node.RemoveNode
ganeti.client.gnt_node.html#RemoveNode
Function
Function
PUBLIC
Remove a node from the cluster.
-
ganeti.client.gnt_node.PowercycleNode
ganeti.client.gnt_node.html#PowercycleNode
Function
Function
PUBLIC
Remove a node from the cluster.
-
ganeti.client.gnt_node.PowerNode
ganeti.client.gnt_node.html#PowerNode
Function
Function
PUBLIC
Change/ask power state of a node.
-
ganeti.client.gnt_node.Health
ganeti.client.gnt_node.html#Health
Function
Function
PUBLIC
Show health of a node using OOB.
-
ganeti.client.gnt_node.ListVolumes
ganeti.client.gnt_node.html#ListVolumes
Function
Function
PUBLIC
List logical volumes on node(s).
-
ganeti.client.gnt_node.ListStorage
ganeti.client.gnt_node.html#ListStorage
Function
Function
PUBLIC
List physical volumes on node(s).
-
ganeti.client.gnt_node.ModifyStorage
ganeti.client.gnt_node.html#ModifyStorage
Function
Function
PUBLIC
Modify storage volume on a node.
-
ganeti.client.gnt_node.RepairStorage
ganeti.client.gnt_node.html#RepairStorage
Function
Function
PUBLIC
Repairs a storage volume on a node.
-
ganeti.client.gnt_node.SetNodeParams
ganeti.client.gnt_node.html#SetNodeParams
Function
Function
PUBLIC
Modifies a node.
-
ganeti.client.gnt_node.RestrictedCommand
ganeti.client.gnt_node.html#RestrictedCommand
Function
Function
PUBLIC
Runs a remote command on node(s).
-
ganeti.client.gnt_node.ReplyStatus
ganeti.client.gnt_node.ReplyStatus.html
Class
Class
PUBLIC
Class holding a reply status for synchronous confd clients.
-
ganeti.client.gnt_node.ReplyStatus.__init__
ganeti.client.gnt_node.ReplyStatus.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.client.gnt_node.ReplyStatus.failure
ganeti.client.gnt_node.ReplyStatus.html#failure
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_node.ReplyStatus.answer
ganeti.client.gnt_node.ReplyStatus.html#answer
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_node.ListDrbd
ganeti.client.gnt_node.html#ListDrbd
Function
Function
PUBLIC
Modifies a node.
-
ganeti.client.gnt_node.commands
ganeti.client.gnt_node.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_node.aliases
ganeti.client.gnt_node.html#aliases
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_node.Main
ganeti.client.gnt_node.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_os.ListOS
ganeti.client.gnt_os.html#ListOS
Function
Function
PUBLIC
List the valid OSes in the cluster.
-
ganeti.client.gnt_os.ShowOSInfo
ganeti.client.gnt_os.html#ShowOSInfo
Function
Function
PUBLIC
List detailed information about OSes in the cluster.
-
ganeti.client.gnt_os._OsStatus
ganeti.client.gnt_os.html#_OsStatus
Function
Function
PRIVATE
Beautifier function for OS status.
-
ganeti.client.gnt_os.DiagnoseOS
ganeti.client.gnt_os.html#DiagnoseOS
Function
Function
PUBLIC
Analyse all OSes on this cluster.
-
ganeti.client.gnt_os.ModifyOS
ganeti.client.gnt_os.html#ModifyOS
Function
Function
PUBLIC
Modify OS parameters for one OS.
-
ganeti.client.gnt_os.commands
ganeti.client.gnt_os.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_os.aliases
ganeti.client.gnt_os.html#aliases
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_os.Main
ganeti.client.gnt_os.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.client.gnt_storage.ShowExtStorageInfo
ganeti.client.gnt_storage.html#ShowExtStorageInfo
Function
Function
PUBLIC
List detailed information about ExtStorage providers.
-
ganeti.client.gnt_storage._ExtStorageStatus
ganeti.client.gnt_storage.html#_ExtStorageStatus
Function
Function
PRIVATE
Beautifier function for ExtStorage status.
-
ganeti.client.gnt_storage.DiagnoseExtStorage
ganeti.client.gnt_storage.html#DiagnoseExtStorage
Function
Function
PUBLIC
Analyse all ExtStorage providers.
-
ganeti.client.gnt_storage.commands
ganeti.client.gnt_storage.html#commands
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.client.gnt_storage.Main
ganeti.client.gnt_storage.html#Main
Function
Function
PUBLIC
Undocumented
-
ganeti.http.auth.HTTP_BASIC_AUTH
ganeti.http.auth.html#HTTP_BASIC_AUTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.auth.HTTP_DIGEST_AUTH
ganeti.http.auth.html#HTTP_DIGEST_AUTH
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.auth._NOQUOTE
ganeti.http.auth.html#_NOQUOTE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.http.auth.HttpServerRequestAuthentication
ganeti.http.auth.HttpServerRequestAuthentication.html
Class
Class
PUBLIC
No class docstring; 0/3 constant, 7/7 methods documented
-
ganeti.http.auth.HttpServerRequestAuthentication.AUTH_REALM
ganeti.http.auth.HttpServerRequestAuthentication.html#AUTH_REALM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.auth.HttpServerRequestAuthentication._CLEARTEXT_SCHEME
ganeti.http.auth.HttpServerRequestAuthentication.html#_CLEARTEXT_SCHEME
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.http.auth.HttpServerRequestAuthentication._HA1_SCHEME
ganeti.http.auth.HttpServerRequestAuthentication.html#_HA1_SCHEME
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.http.auth.HttpServerRequestAuthentication.GetAuthRealm
ganeti.http.auth.HttpServerRequestAuthentication.html#GetAuthRealm
Function
Method
PUBLIC
Returns the authentication realm for a request.
-
ganeti.http.auth.HttpServerRequestAuthentication.AuthenticationRequired
ganeti.http.auth.HttpServerRequestAuthentication.html#AuthenticationRequired
Function
Method
PUBLIC
Determines whether authentication is required for a request.
-
ganeti.http.auth.HttpServerRequestAuthentication.PreHandleRequest
ganeti.http.auth.HttpServerRequestAuthentication.html#PreHandleRequest
Function
Method
PUBLIC
Called before a request is handled.
-
ganeti.http.auth.HttpServerRequestAuthentication._CheckAuthorization
ganeti.http.auth.HttpServerRequestAuthentication.html#_CheckAuthorization
Function
Method
PRIVATE
Checks 'Authorization' header sent by client.
-
ganeti.http.auth.HttpServerRequestAuthentication._CheckBasicAuthorization
ganeti.http.auth.HttpServerRequestAuthentication.html#_CheckBasicAuthorization
Function
Method
PRIVATE
Checks credentials sent for basic authentication.
-
ganeti.http.auth.HttpServerRequestAuthentication.Authenticate
ganeti.http.auth.HttpServerRequestAuthentication.html#Authenticate
Function
Method
PUBLIC
Checks the password for a user.
-
ganeti.http.auth.HttpServerRequestAuthentication.VerifyBasicAuthPassword
ganeti.http.auth.HttpServerRequestAuthentication.html#VerifyBasicAuthPassword
Function
Method
PUBLIC
Checks the password for basic authentication.
-
ganeti.http.auth.PasswordFileUser
ganeti.http.auth.PasswordFileUser.html
Class
Class
PUBLIC
Data structure for users from password file.
-
ganeti.http.auth.PasswordFileUser.__init__
ganeti.http.auth.PasswordFileUser.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.auth.PasswordFileUser.name
ganeti.http.auth.PasswordFileUser.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.auth.PasswordFileUser.password
ganeti.http.auth.PasswordFileUser.html#password
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.auth.PasswordFileUser.options
ganeti.http.auth.PasswordFileUser.html#options
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.auth.ParsePasswordFile
ganeti.http.auth.html#ParsePasswordFile
Function
Function
PUBLIC
Parses the contents of a password file.
-
ganeti.http.client.HttpClientRequest
ganeti.http.client.HttpClientRequest.html
Class
Class
PUBLIC
No class docstring; 1/1 property, 0/14 instance variable, 1/2 method documented
-
ganeti.http.client.HttpClientRequest.__init__
ganeti.http.client.HttpClientRequest.html#__init__
Function
Method
PUBLIC
Describes an HTTP request.
-
ganeti.http.client.HttpClientRequest.host
ganeti.http.client.HttpClientRequest.html#host
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.port
ganeti.http.client.HttpClientRequest.html#port
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.method
ganeti.http.client.HttpClientRequest.html#method
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.path
ganeti.http.client.HttpClientRequest.html#path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.read_timeout
ganeti.http.client.HttpClientRequest.html#read_timeout
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.curl_config_fn
ganeti.http.client.HttpClientRequest.html#curl_config_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.nicename
ganeti.http.client.HttpClientRequest.html#nicename
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.completion_cb
ganeti.http.client.HttpClientRequest.html#completion_cb
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.post_data
ganeti.http.client.HttpClientRequest.html#post_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.success
ganeti.http.client.HttpClientRequest.html#success
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.error
ganeti.http.client.HttpClientRequest.html#error
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.resp_status_code
ganeti.http.client.HttpClientRequest.html#resp_status_code
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.resp_body
ganeti.http.client.HttpClientRequest.html#resp_body
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.__repr__
ganeti.http.client.HttpClientRequest.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.client.HttpClientRequest.url
ganeti.http.client.HttpClientRequest.html#url
Attribute
Property
PUBLIC
Returns the full URL for this requests.
-
ganeti.http.client._StartRequest
ganeti.http.client.html#_StartRequest
Function
Function
PRIVATE
Starts a request on a cURL object.
-
ganeti.http.client._PendingRequest
ganeti.http.client._PendingRequest.html
Class
Class
PRIVATE
No class docstring; 0/3 instance variable, 4/4 methods documented
-
ganeti.http.client._PendingRequest.__init__
ganeti.http.client._PendingRequest.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.http.client._PendingRequest._curl
ganeti.http.client._PendingRequest.html#_curl
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequest._req
ganeti.http.client._PendingRequest.html#_req
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequest._resp_buffer_read
ganeti.http.client._PendingRequest.html#_resp_buffer_read
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequest.GetCurlHandle
ganeti.http.client._PendingRequest.html#GetCurlHandle
Function
Method
PUBLIC
Returns the cURL object.
-
ganeti.http.client._PendingRequest.GetCurrentRequest
ganeti.http.client._PendingRequest.html#GetCurrentRequest
Function
Method
PUBLIC
Returns the current request.
-
ganeti.http.client._PendingRequest.Done
ganeti.http.client._PendingRequest.html#Done
Function
Method
PUBLIC
Finishes a request.
-
ganeti.http.client._NoOpRequestMonitor
ganeti.http.client._NoOpRequestMonitor.html
Class
Class
PRIVATE
No-op request monitor.
-
ganeti.http.client._NoOpRequestMonitor.acquire
ganeti.http.client._NoOpRequestMonitor.html#acquire
Function
Static Method
PUBLIC
Undocumented
-
ganeti.http.client._PendingRequestMonitor
ganeti.http.client._PendingRequestMonitor.html
Class
Class
PRIVATE
No class docstring; 0/5 instance variable, 0/1 constant, 3/3 methods documented
-
ganeti.http.client._PendingRequestMonitor._LOCK
ganeti.http.client._PendingRequestMonitor.html#_LOCK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequestMonitor.__init__
ganeti.http.client._PendingRequestMonitor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.http.client._PendingRequestMonitor._owner
ganeti.http.client._PendingRequestMonitor.html#_owner
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequestMonitor._pending_fn
ganeti.http.client._PendingRequestMonitor.html#_pending_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequestMonitor._lock
ganeti.http.client._PendingRequestMonitor.html#_lock
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.client._PendingRequestMonitor.acquire
ganeti.http.client._PendingRequestMonitor.html#acquire
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client._PendingRequestMonitor.release
ganeti.http.client._PendingRequestMonitor.html#release
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.client._PendingRequestMonitor.Disable
ganeti.http.client._PendingRequestMonitor.html#Disable
Function
Method
PUBLIC
Disable monitor.
-
ganeti.http.client._PendingRequestMonitor.GetLockInfo
ganeti.http.client._PendingRequestMonitor.html#GetLockInfo
Function
Method
PUBLIC
Retrieves information about pending requests.
-
ganeti.http.client._ProcessCurlRequests
ganeti.http.client.html#_ProcessCurlRequests
Function
Function
PRIVATE
cURL request processor.
-
ganeti.http.client.ProcessRequests
ganeti.http.client.html#ProcessRequests
Function
Function
PUBLIC
Processes any number of HTTP client requests.
-
ganeti.http.server.WEEKDAYNAME
ganeti.http.server.html#WEEKDAYNAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server.MONTHNAME
ganeti.http.server.html#MONTHNAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server.DEFAULT_ERROR_CONTENT_TYPE
ganeti.http.server.html#DEFAULT_ERROR_CONTENT_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server.DEFAULT_ERROR_MESSAGE
ganeti.http.server.html#DEFAULT_ERROR_MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest
ganeti.http.server._HttpServerRequest.html
Class
Class
PRIVATE
Data structure for HTTP request on server side.
-
ganeti.http.server._HttpServerRequest.__init__
ganeti.http.server._HttpServerRequest.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest.request_method
ganeti.http.server._HttpServerRequest.html#request_method
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest.request_path
ganeti.http.server._HttpServerRequest.html#request_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest.request_body
ganeti.http.server._HttpServerRequest.html#request_body
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest.request_sock
ganeti.http.server._HttpServerRequest.html#request_sock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest.private
ganeti.http.server._HttpServerRequest.html#private
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerRequest.__repr__
ganeti.http.server._HttpServerRequest.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.http.server._HttpServerToClientMessageWriter
ganeti.http.server._HttpServerToClientMessageWriter.html
Class
Class
PRIVATE
Writes an HTTP response to client.
-
ganeti.http.server._HttpServerToClientMessageWriter.__init__
ganeti.http.server._HttpServerToClientMessageWriter.html#__init__
Function
Method
PUBLIC
Writes the response to the client.
-
ganeti.http.server._HttpServerToClientMessageWriter._request_msg
ganeti.http.server._HttpServerToClientMessageWriter.html#_request_msg
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.server._HttpServerToClientMessageWriter._response_msg
ganeti.http.server._HttpServerToClientMessageWriter.html#_response_msg
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.server._HttpServerToClientMessageWriter.HasMessageBody
ganeti.http.server._HttpServerToClientMessageWriter.html#HasMessageBody
Function
Method
PUBLIC
Logic to detect whether response should contain a message body.
-
ganeti.http.server._HttpClientToServerMessageReader
ganeti.http.server._HttpClientToServerMessageReader.html
Class
Class
PRIVATE
Reads an HTTP request sent by client.
-
ganeti.http.server._HttpClientToServerMessageReader.START_LINE_LENGTH_MAX
ganeti.http.server._HttpClientToServerMessageReader.html#START_LINE_LENGTH_MAX
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server._HttpClientToServerMessageReader.ParseStartLine
ganeti.http.server._HttpClientToServerMessageReader.html#ParseStartLine
Function
Method
PUBLIC
Parses the start line sent by client.
-
ganeti.http.server._HandleServerRequestInner
ganeti.http.server.html#_HandleServerRequestInner
Function
Function
PRIVATE
Calls the handler function for the current request.
-
ganeti.http.server.HttpResponder
ganeti.http.server.HttpResponder.html
Class
Class
PUBLIC
No class docstring; 0/1 instance variable, 2/2 methods, 1/2 static method documented
-
ganeti.http.server.HttpResponder.__init__
ganeti.http.server.HttpResponder.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.http.server.HttpResponder._handler
ganeti.http.server.HttpResponder.html#_handler
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.server.HttpResponder.__call__
ganeti.http.server.HttpResponder.html#__call__
Function
Method
PUBLIC
Handles a request.
-
ganeti.http.server.HttpResponder._SetError
ganeti.http.server.HttpResponder.html#_SetError
Function
Static Method
PRIVATE
Sets the response code and body from a HttpException.
-
ganeti.http.server.HttpResponder._Finalize
ganeti.http.server.HttpResponder.html#_Finalize
Function
Static Method
PRIVATE
Undocumented
-
ganeti.http.server.HttpServerRequestExecutor
ganeti.http.server.HttpServerRequestExecutor.html
Class
Class
PUBLIC
Implements server side of HTTP.
-
ganeti.http.server.HttpServerRequestExecutor.WRITE_TIMEOUT
ganeti.http.server.HttpServerRequestExecutor.html#WRITE_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server.HttpServerRequestExecutor.READ_TIMEOUT
ganeti.http.server.HttpServerRequestExecutor.html#READ_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server.HttpServerRequestExecutor.CLOSE_TIMEOUT
ganeti.http.server.HttpServerRequestExecutor.html#CLOSE_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.http.server.HttpServerRequestExecutor.__init__
ganeti.http.server.HttpServerRequestExecutor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.http.server.HttpServerRequestExecutor._ReadRequest
ganeti.http.server.HttpServerRequestExecutor.html#_ReadRequest
Function
Static Method
PRIVATE
Reads a request sent by client.
-
ganeti.http.server.HttpServerRequestExecutor._SendResponse
ganeti.http.server.HttpServerRequestExecutor.html#_SendResponse
Function
Static Method
PRIVATE
Sends the response to the client.
-
ganeti.http.server.HttpServer
ganeti.http.server.HttpServer.html
Class
Class
PUBLIC
Generic HTTP server class
-
ganeti.http.server.HttpServer.__init__
ganeti.http.server.HttpServer.html#__init__
Function
Method
PUBLIC
Initializes the HTTP server
-
ganeti.http.server.HttpServer.request_executor
ganeti.http.server.HttpServer.html#request_executor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.mainloop
ganeti.http.server.HttpServer.html#mainloop
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.local_address
ganeti.http.server.HttpServer.html#local_address
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.port
ganeti.http.server.HttpServer.html#port
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.handler
ganeti.http.server.HttpServer.html#handler
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.socket
ganeti.http.server.HttpServer.html#socket
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer._children
ganeti.http.server.HttpServer.html#_children
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.http.server.HttpServer.accepting
ganeti.http.server.HttpServer.html#accepting
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.max_clients
ganeti.http.server.HttpServer.html#max_clients
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.Start
ganeti.http.server.HttpServer.html#Start
Function
Method
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.Stop
ganeti.http.server.HttpServer.html#Stop
Function
Method
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.handle_accept
ganeti.http.server.HttpServer.html#handle_accept
Function
Method
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer.OnSignal
ganeti.http.server.HttpServer.html#OnSignal
Function
Method
PUBLIC
Undocumented
-
ganeti.http.server.HttpServer._CollectChildren
ganeti.http.server.HttpServer.html#_CollectChildren
Function
Method
PRIVATE
Checks whether any child processes are done
-
ganeti.http.server.HttpServer._IncomingConnection
ganeti.http.server.HttpServer.html#_IncomingConnection
Function
Method
PRIVATE
Called for each incoming connection
-
ganeti.http.server.HttpServerHandler
ganeti.http.server.HttpServerHandler.html
Class
Class
PUBLIC
Base class for handling HTTP server requests.
-
ganeti.http.server.HttpServerHandler.PreHandleRequest
ganeti.http.server.HttpServerHandler.html#PreHandleRequest
Function
Method
PUBLIC
Called before handling a request.
-
ganeti.http.server.HttpServerHandler.HandleRequest
ganeti.http.server.HttpServerHandler.html#HandleRequest
Function
Method
PUBLIC
Handles a request.
-
ganeti.http.server.HttpServerHandler.FormatErrorMessage
ganeti.http.server.HttpServerHandler.html#FormatErrorMessage
Function
Static Method
PUBLIC
Formats the body of an error message.
-
ganeti.impexpd.LISTENING_RE
ganeti.impexpd.html#LISTENING_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.TRANSFER_LOOP_RE
ganeti.impexpd.html#TRANSFER_LOOP_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_DEBUG
ganeti.impexpd.html#SOCAT_LOG_DEBUG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_INFO
ganeti.impexpd.html#SOCAT_LOG_INFO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_NOTICE
ganeti.impexpd.html#SOCAT_LOG_NOTICE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_WARNING
ganeti.impexpd.html#SOCAT_LOG_WARNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_ERROR
ganeti.impexpd.html#SOCAT_LOG_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_FATAL
ganeti.impexpd.html#SOCAT_LOG_FATAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_LOG_IGNORE
ganeti.impexpd.html#SOCAT_LOG_IGNORE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.DD_INFO_RE
ganeti.impexpd.html#DD_INFO_RE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.DD_STDERR_IGNORE
ganeti.impexpd.html#DD_STDERR_IGNORE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.DD_INFO_SIGNAL
ganeti.impexpd.html#DD_INFO_SIGNAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.BUFSIZE
ganeti.impexpd.html#BUFSIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_TCP_OPTS
ganeti.impexpd.html#SOCAT_TCP_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_OPENSSL_OPTS
ganeti.impexpd.html#SOCAT_OPENSSL_OPTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.SOCAT_OPTION_MAXLEN
ganeti.impexpd.html#SOCAT_OPTION_MAXLEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.PROG_OTHER
ganeti.impexpd.html#PROG_OTHER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.PROG_SOCAT
ganeti.impexpd.html#PROG_SOCAT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.PROG_DD
ganeti.impexpd.html#PROG_DD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.PROG_DD_PID
ganeti.impexpd.html#PROG_DD_PID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.PROG_EXP_SIZE
ganeti.impexpd.html#PROG_EXP_SIZE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.PROG_ALL
ganeti.impexpd.html#PROG_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.impexpd.CommandBuilder
ganeti.impexpd.CommandBuilder.html
Class
Class
PUBLIC
No class docstring; 0/5 instance variable, 0/1 constant, 6/6 methods, 1/1 static method, 1/1 class method documented
-
ganeti.impexpd.CommandBuilder._SOCAT_VERSION
ganeti.impexpd.CommandBuilder.html#_SOCAT_VERSION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.impexpd.CommandBuilder.__init__
ganeti.impexpd.CommandBuilder.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.impexpd.CommandBuilder._opts
ganeti.impexpd.CommandBuilder.html#_opts
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.CommandBuilder._mode
ganeti.impexpd.CommandBuilder.html#_mode
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.CommandBuilder._socat_stderr_fd
ganeti.impexpd.CommandBuilder.html#_socat_stderr_fd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.CommandBuilder._dd_stderr_fd
ganeti.impexpd.CommandBuilder.html#_dd_stderr_fd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.CommandBuilder._dd_pid_fd
ganeti.impexpd.CommandBuilder.html#_dd_pid_fd
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.CommandBuilder.GetBashCommand
ganeti.impexpd.CommandBuilder.html#GetBashCommand
Function
Static Method
PUBLIC
Prepares a command to be run in Bash.
-
ganeti.impexpd.CommandBuilder._GetSocatVersion
ganeti.impexpd.CommandBuilder.html#_GetSocatVersion
Function
Class Method
PRIVATE
Returns the socat version, as a tuple of ints.
-
ganeti.impexpd.CommandBuilder._GetSocatCommand
ganeti.impexpd.CommandBuilder.html#_GetSocatCommand
Function
Method
PRIVATE
Returns the socat command.
-
ganeti.impexpd.CommandBuilder._GetMagicCommand
ganeti.impexpd.CommandBuilder.html#_GetMagicCommand
Function
Method
PRIVATE
Returns the command to read/write the magic value.
-
ganeti.impexpd.CommandBuilder._GetDdCommand
ganeti.impexpd.CommandBuilder.html#_GetDdCommand
Function
Method
PRIVATE
Returns the command for measuring throughput.
-
ganeti.impexpd.CommandBuilder._GetTransportCommand
ganeti.impexpd.CommandBuilder.html#_GetTransportCommand
Function
Method
PRIVATE
Returns the command for the transport part of the daemon.
-
ganeti.impexpd.CommandBuilder.GetCommand
ganeti.impexpd.CommandBuilder.html#GetCommand
Function
Method
PUBLIC
Returns the complete child process command.
-
ganeti.impexpd._VerifyListening
ganeti.impexpd.html#_VerifyListening
Function
Function
PRIVATE
Verify address given as listening address by socat.
-
ganeti.impexpd.ChildIOProcessor
ganeti.impexpd.ChildIOProcessor.html
Class
Class
PUBLIC
No class docstring; 0/9 instance variable, 8/8 methods, 1/1 static method documented
-
ganeti.impexpd.ChildIOProcessor.__init__
ganeti.impexpd.ChildIOProcessor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.impexpd.ChildIOProcessor._debug
ganeti.impexpd.ChildIOProcessor.html#_debug
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._status_file
ganeti.impexpd.ChildIOProcessor.html#_status_file
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._logger
ganeti.impexpd.ChildIOProcessor.html#_logger
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._splitter
ganeti.impexpd.ChildIOProcessor.html#_splitter
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._dd_pid
ganeti.impexpd.ChildIOProcessor.html#_dd_pid
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._dd_ready
ganeti.impexpd.ChildIOProcessor.html#_dd_ready
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._dd_tp_samples
ganeti.impexpd.ChildIOProcessor.html#_dd_tp_samples
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._dd_progress
ganeti.impexpd.ChildIOProcessor.html#_dd_progress
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor._exp_size
ganeti.impexpd.ChildIOProcessor.html#_exp_size
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.impexpd.ChildIOProcessor.GetLineSplitter
ganeti.impexpd.ChildIOProcessor.html#GetLineSplitter
Function
Method
PUBLIC
Returns the line splitter for a program.
-
ganeti.impexpd.ChildIOProcessor.FlushAll
ganeti.impexpd.ChildIOProcessor.html#FlushAll
Function
Method
PUBLIC
Flushes all line splitters.
-
ganeti.impexpd.ChildIOProcessor.CloseAll
ganeti.impexpd.ChildIOProcessor.html#CloseAll
Function
Method
PUBLIC
Closes all line splitters.
-
ganeti.impexpd.ChildIOProcessor.NotifyDd
ganeti.impexpd.ChildIOProcessor.html#NotifyDd
Function
Method
PUBLIC
Tells dd(1) to write statistics.
-
ganeti.impexpd.ChildIOProcessor._ProcessOutput
ganeti.impexpd.ChildIOProcessor.html#_ProcessOutput
Function
Method
PRIVATE
Takes care of child process output.
-
ganeti.impexpd.ChildIOProcessor._ProcessSocatOutput
ganeti.impexpd.ChildIOProcessor.html#_ProcessSocatOutput
Function
Static Method
PRIVATE
Interprets socat log output.
-
ganeti.impexpd.ChildIOProcessor._ProcessDdOutput
ganeti.impexpd.ChildIOProcessor.html#_ProcessDdOutput
Function
Method
PRIVATE
Interprets a line of dd(1)'s output.
-
ganeti.impexpd.ChildIOProcessor._UpdateDdProgress
ganeti.impexpd.ChildIOProcessor.html#_UpdateDdProgress
Function
Method
PRIVATE
Updates the internal status variables for dd(1) progress.
-
ganeti.impexpd._CalcThroughput
ganeti.impexpd.html#_CalcThroughput
Function
Function
PRIVATE
Calculates the throughput in MiB/second.
-
ganeti.mcpu.sighupReceived
ganeti.mcpu.html#sighupReceived
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.mcpu.lusExecuting
ganeti.mcpu.html#lusExecuting
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.mcpu._OP_PREFIX
ganeti.mcpu.html#_OP_PREFIX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.mcpu._LU_PREFIX
ganeti.mcpu.html#_LU_PREFIX
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.mcpu.LockAcquireTimeout
ganeti.mcpu.LockAcquireTimeout.html
Class
Exception
PUBLIC
Exception to report timeouts on acquiring locks.
-
ganeti.mcpu._CalculateLockAttemptTimeouts
ganeti.mcpu.html#_CalculateLockAttemptTimeouts
Function
Function
PRIVATE
Calculate timeouts for lock attempts.
-
ganeti.mcpu.LockAttemptTimeoutStrategy
ganeti.mcpu.LockAttemptTimeoutStrategy.html
Class
Class
PUBLIC
Class with lock acquire timeout strategy.
-
ganeti.mcpu.LockAttemptTimeoutStrategy.__slots__
ganeti.mcpu.LockAttemptTimeoutStrategy.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.mcpu.LockAttemptTimeoutStrategy._TIMEOUT_PER_ATTEMPT
ganeti.mcpu.LockAttemptTimeoutStrategy.html#_TIMEOUT_PER_ATTEMPT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.mcpu.LockAttemptTimeoutStrategy.__init__
ganeti.mcpu.LockAttemptTimeoutStrategy.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.mcpu.LockAttemptTimeoutStrategy._timeouts
ganeti.mcpu.LockAttemptTimeoutStrategy.html#_timeouts
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.LockAttemptTimeoutStrategy._time_fn
ganeti.mcpu.LockAttemptTimeoutStrategy.html#_time_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.LockAttemptTimeoutStrategy._random_fn
ganeti.mcpu.LockAttemptTimeoutStrategy.html#_random_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.LockAttemptTimeoutStrategy.NextAttempt
ganeti.mcpu.LockAttemptTimeoutStrategy.html#NextAttempt
Function
Method
PUBLIC
Returns the timeout for the next attempt.
-
ganeti.mcpu.OpExecCbBase
ganeti.mcpu.OpExecCbBase.html
Class
Class
PUBLIC
Base class for OpCode execution callbacks.
-
ganeti.mcpu.OpExecCbBase.NotifyStart
ganeti.mcpu.OpExecCbBase.html#NotifyStart
Function
Method
PUBLIC
Called when we are about to execute the LU.
-
ganeti.mcpu.OpExecCbBase.NotifyRetry
ganeti.mcpu.OpExecCbBase.html#NotifyRetry
Function
Method
PUBLIC
Called when we are about to reset an LU to retry again.
-
ganeti.mcpu.OpExecCbBase.Feedback
ganeti.mcpu.OpExecCbBase.html#Feedback
Function
Method
PUBLIC
Sends feedback from the LU code to the end-user.
-
ganeti.mcpu.OpExecCbBase.CurrentPriority
ganeti.mcpu.OpExecCbBase.html#CurrentPriority
Function
Method
PUBLIC
Returns current priority or None.
-
ganeti.mcpu.OpExecCbBase.SubmitManyJobs
ganeti.mcpu.OpExecCbBase.html#SubmitManyJobs
Function
Method
PUBLIC
Submits jobs for processing.
-
ganeti.mcpu._LUNameForOpName
ganeti.mcpu.html#_LUNameForOpName
Function
Function
PRIVATE
Computes the LU name for a given OpCode name.
-
ganeti.mcpu._ComputeDispatchTable
ganeti.mcpu.html#_ComputeDispatchTable
Function
Function
PRIVATE
Computes the opcode-to-lu dispatch table.
-
ganeti.mcpu._SetBaseOpParams
ganeti.mcpu.html#_SetBaseOpParams
Function
Function
PRIVATE
Copies basic opcode parameters.
-
ganeti.mcpu._ProcessResult
ganeti.mcpu.html#_ProcessResult
Function
Function
PRIVATE
Examines opcode result.
-
ganeti.mcpu._FailingSubmitManyJobs
ganeti.mcpu.html#_FailingSubmitManyJobs
Function
Function
PRIVATE
-
ganeti.mcpu._LockList
ganeti.mcpu.html#_LockList
Function
Function
PRIVATE
If 'names' is a string, make it a single-element list.
-
ganeti.mcpu._CheckSecretParameters
ganeti.mcpu.html#_CheckSecretParameters
Function
Function
PRIVATE
Check if secret parameters are expected, but missing.
-
ganeti.mcpu.Processor
ganeti.mcpu.Processor.html
Class
Class
PUBLIC
Object which runs OpCodes
-
ganeti.mcpu.Processor.DISPATCH_TABLE
ganeti.mcpu.Processor.html#DISPATCH_TABLE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.mcpu.Processor.__init__
ganeti.mcpu.Processor.html#__init__
Function
Method
PUBLIC
Constructor for Processor
-
ganeti.mcpu.Processor._ec_id
ganeti.mcpu.Processor.html#_ec_id
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.Processor._cbs
ganeti.mcpu.Processor.html#_cbs
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.Processor.cfg
ganeti.mcpu.Processor.html#cfg
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.mcpu.Processor.rpc
ganeti.mcpu.Processor.html#rpc
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.mcpu.Processor.hmclass
ganeti.mcpu.Processor.html#hmclass
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.mcpu.Processor._enable_locks
ganeti.mcpu.Processor.html#_enable_locks
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.Processor.wconfd
ganeti.mcpu.Processor.html#wconfd
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.mcpu.Processor._wconfdcontext
ganeti.mcpu.Processor.html#_wconfdcontext
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.mcpu.Processor._CheckLocksEnabled
ganeti.mcpu.Processor.html#_CheckLocksEnabled
Function
Method
PRIVATE
Checks if locking is enabled.
-
ganeti.mcpu.Processor._RequestAndWait
ganeti.mcpu.Processor.html#_RequestAndWait
Function
Method
PRIVATE
Request locks from WConfD and wait for them to be granted.
-
ganeti.mcpu.Processor._AcquireLocks
ganeti.mcpu.Processor.html#_AcquireLocks
Function
Method
PRIVATE
Acquires locks via the Ganeti lock manager.
-
ganeti.mcpu.Processor._ExecLU
ganeti.mcpu.Processor.html#_ExecLU
Function
Method
PRIVATE
Logical Unit execution sequence.
-
ganeti.mcpu.Processor.BuildHooksManager
ganeti.mcpu.Processor.html#BuildHooksManager
Function
Method
PUBLIC
Undocumented
-
ganeti.mcpu.Processor._LockAndExecLU
ganeti.mcpu.Processor.html#_LockAndExecLU
Function
Method
PRIVATE
Execute a Logical Unit, with the needed locks.
-
ganeti.mcpu.Processor._CheckLUResult
ganeti.mcpu.Processor.html#_CheckLUResult
Function
Method
PRIVATE
Check the LU result against the contract in the opcode.
-
ganeti.mcpu.Processor.ExecOpCode
ganeti.mcpu.Processor.html#ExecOpCode
Function
Method
PUBLIC
Execute an opcode.
-
ganeti.mcpu.Processor.Log
ganeti.mcpu.Processor.html#Log
Function
Method
PUBLIC
Forward call to feedback callback function.
-
ganeti.mcpu.Processor.LogStep
ganeti.mcpu.Processor.html#LogStep
Function
Method
PUBLIC
Log a change in LU execution progress.
-
ganeti.mcpu.Processor.LogWarning
ganeti.mcpu.Processor.html#LogWarning
Function
Method
PUBLIC
Log a warning to the logs and the user.
-
ganeti.mcpu.Processor.LogInfo
ganeti.mcpu.Processor.html#LogInfo
Function
Method
PUBLIC
Log an informational message to the logs and the user.
-
ganeti.mcpu.Processor.GetECId
ganeti.mcpu.Processor.html#GetECId
Function
Method
PUBLIC
Returns the current execution context ID.
-
ganeti.jqueue._GetIdAttr
ganeti.jqueue.html#_GetIdAttr
Attribute
Variable
PRIVATE
Undocumented
-
ganeti.jqueue.CancelJob
ganeti.jqueue.CancelJob.html
Class
Exception
PUBLIC
Special exception to cancel a job.
-
ganeti.jqueue.TimeStampNow
ganeti.jqueue.html#TimeStampNow
Function
Function
PUBLIC
Returns the current timestamp.
-
ganeti.jqueue._CallJqUpdate
ganeti.jqueue.html#_CallJqUpdate
Function
Function
PRIVATE
Updates job queue file after virtualizing filename.
-
ganeti.jqueue._QueuedOpCode
ganeti.jqueue._QueuedOpCode.html
Class
Class
PRIVATE
Encapsulates an opcode object.
-
ganeti.jqueue._QueuedOpCode.log
ganeti.jqueue._QueuedOpCode.html#log
Attribute
Instance Variable
PUBLIC
holds the execution log and consists of tuples of the form (log_serial, timestamp, level, message)
-
ganeti.jqueue._QueuedOpCode.input
ganeti.jqueue._QueuedOpCode.html#input
Attribute
Instance Variable
PUBLIC
the OpCode we encapsulate
-
ganeti.jqueue._QueuedOpCode.status
ganeti.jqueue._QueuedOpCode.html#status
Attribute
Instance Variable
PUBLIC
the current status
-
ganeti.jqueue._QueuedOpCode.result
ganeti.jqueue._QueuedOpCode.html#result
Attribute
Instance Variable
PUBLIC
the result of the LU execution
-
ganeti.jqueue._QueuedOpCode.start_timestamp
ganeti.jqueue._QueuedOpCode.html#start_timestamp
Attribute
Instance Variable
PUBLIC
timestamp for the start of the execution
-
ganeti.jqueue._QueuedOpCode.exec_timestamp
ganeti.jqueue._QueuedOpCode.html#exec_timestamp
Attribute
Instance Variable
PUBLIC
timestamp for the actual LU Exec() function invocation
-
ganeti.jqueue._QueuedOpCode.stop_timestamp
ganeti.jqueue._QueuedOpCode.html#stop_timestamp
Attribute
Instance Variable
PUBLIC
timestamp for the end of the execution
-
ganeti.jqueue._QueuedOpCode.__slots__
ganeti.jqueue._QueuedOpCode.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedOpCode.__init__
ganeti.jqueue._QueuedOpCode.html#__init__
Function
Method
PUBLIC
Initializes instances of this class.
-
ganeti.jqueue._QueuedOpCode.end_timestamp
ganeti.jqueue._QueuedOpCode.html#end_timestamp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedOpCode.priority
ganeti.jqueue._QueuedOpCode.html#priority
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedOpCode.Restore
ganeti.jqueue._QueuedOpCode.html#Restore
Function
Class Method
PUBLIC
Restore the _QueuedOpCode from the serialized form.
-
ganeti.jqueue._QueuedOpCode.Serialize
ganeti.jqueue._QueuedOpCode.html#Serialize
Function
Method
PUBLIC
Serializes this _QueuedOpCode.
-
ganeti.jqueue._QueuedJob
ganeti.jqueue._QueuedJob.html
Class
Class
PRIVATE
In-memory job representation.
-
ganeti.jqueue._QueuedJob.queue
ganeti.jqueue._QueuedJob.html#queue
Attribute
Instance Variable
PUBLIC
the parent queue
-
ganeti.jqueue._QueuedJob.id
ganeti.jqueue._QueuedJob.html#id
Attribute
Instance Variable
PUBLIC
the job ID
-
ganeti.jqueue._QueuedJob.ops
ganeti.jqueue._QueuedJob.html#ops
Attribute
Instance Variable
PUBLIC
the list of _QueuedOpCode that constitute the job
-
ganeti.jqueue._QueuedJob.log_serial
ganeti.jqueue._QueuedJob.html#log_serial
Attribute
Instance Variable
PUBLIC
holds the index for the next log entry
-
ganeti.jqueue._QueuedJob.received_timestamp
ganeti.jqueue._QueuedJob.html#received_timestamp
Attribute
Instance Variable
PUBLIC
the timestamp for when the job was received
-
ganeti.jqueue._QueuedJob.start_timestmap
ganeti.jqueue._QueuedJob.html#start_timestmap
Attribute
Instance Variable
PUBLIC
the timestamp for start of execution
-
ganeti.jqueue._QueuedJob.end_timestamp
ganeti.jqueue._QueuedJob.html#end_timestamp
Attribute
Instance Variable
PUBLIC
the timestamp for end of execution
-
ganeti.jqueue._QueuedJob.writable
ganeti.jqueue._QueuedJob.html#writable
Attribute
Instance Variable
PUBLIC
Whether the job is allowed to be modified
-
ganeti.jqueue._QueuedJob.__slots__
ganeti.jqueue._QueuedJob.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedJob.AddReasons
ganeti.jqueue._QueuedJob.html#AddReasons
Function
Method
PUBLIC
Extend the reason trail
-
ganeti.jqueue._QueuedJob.__init__
ganeti.jqueue._QueuedJob.html#__init__
Function
Method
PUBLIC
Constructor for the _QueuedJob.
-
ganeti.jqueue._QueuedJob.start_timestamp
ganeti.jqueue._QueuedJob.html#start_timestamp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedJob.archived
ganeti.jqueue._QueuedJob.html#archived
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedJob.livelock
ganeti.jqueue._QueuedJob.html#livelock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedJob.process_id
ganeti.jqueue._QueuedJob.html#process_id
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedJob._InitInMemory
ganeti.jqueue._QueuedJob.html#_InitInMemory
Function
Static Method
PRIVATE
Initializes in-memory variables.
-
ganeti.jqueue._QueuedJob.__repr__
ganeti.jqueue._QueuedJob.html#__repr__
Function
Method
PUBLIC
Undocumented
-
ganeti.jqueue._QueuedJob.Restore
ganeti.jqueue._QueuedJob.html#Restore
Function
Class Method
PUBLIC
Restore a _QueuedJob from serialized state:
-
ganeti.jqueue._QueuedJob.Serialize
ganeti.jqueue._QueuedJob.html#Serialize
Function
Method
PUBLIC
Serialize the _JobQueue instance.
-
ganeti.jqueue._QueuedJob.CalcStatus
ganeti.jqueue._QueuedJob.html#CalcStatus
Function
Method
PUBLIC
Compute the status of this job.
-
ganeti.jqueue._QueuedJob.CalcPriority
ganeti.jqueue._QueuedJob.html#CalcPriority
Function
Method
PUBLIC
Gets the current priority for this job.
-
ganeti.jqueue._QueuedJob.GetLogEntries
ganeti.jqueue._QueuedJob.html#GetLogEntries
Function
Method
PUBLIC
Selectively returns the log entries.
-
ganeti.jqueue._QueuedJob.MarkUnfinishedOps
ganeti.jqueue._QueuedJob.html#MarkUnfinishedOps
Function
Method
PUBLIC
Mark unfinished opcodes with a given status and result.
-
ganeti.jqueue._QueuedJob.Finalize
ganeti.jqueue._QueuedJob.html#Finalize
Function
Method
PUBLIC
Marks the job as finalized.
-
ganeti.jqueue._QueuedJob.Cancel
ganeti.jqueue._QueuedJob.html#Cancel
Function
Method
PUBLIC
Marks job as canceled/-ing if possible.
-
ganeti.jqueue._QueuedJob.ChangePriority
ganeti.jqueue._QueuedJob.html#ChangePriority
Function
Method
PUBLIC
Changes the job priority.
-
ganeti.jqueue._QueuedJob.SetPid
ganeti.jqueue._QueuedJob.html#SetPid
Function
Method
PUBLIC
Sets the job's process ID
-
ganeti.jqueue._OpExecCallbacks
ganeti.jqueue._OpExecCallbacks.html
Class
Class
PRIVATE
No class docstring; 0/3 instance variable, 8/8 methods documented
-
ganeti.jqueue._OpExecCallbacks.__init__
ganeti.jqueue._OpExecCallbacks.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.jqueue._OpExecCallbacks._queue
ganeti.jqueue._OpExecCallbacks.html#_queue
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._OpExecCallbacks._job
ganeti.jqueue._OpExecCallbacks.html#_job
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._OpExecCallbacks._op
ganeti.jqueue._OpExecCallbacks.html#_op
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._OpExecCallbacks._CheckCancel
ganeti.jqueue._OpExecCallbacks.html#_CheckCancel
Function
Method
PRIVATE
Raises an exception to cancel the job if asked to.
-
ganeti.jqueue._OpExecCallbacks.NotifyStart
ganeti.jqueue._OpExecCallbacks.html#NotifyStart
Function
Method
PUBLIC
Mark the opcode as running, not lock-waiting.
-
ganeti.jqueue._OpExecCallbacks.NotifyRetry
ganeti.jqueue._OpExecCallbacks.html#NotifyRetry
Function
Method
PUBLIC
Mark opcode again as lock-waiting.
-
ganeti.jqueue._OpExecCallbacks._AppendFeedback
ganeti.jqueue._OpExecCallbacks.html#_AppendFeedback
Function
Method
PRIVATE
Internal feedback append function, with locks
-
ganeti.jqueue._OpExecCallbacks.Feedback
ganeti.jqueue._OpExecCallbacks.html#Feedback
Function
Method
PUBLIC
Append a log entry.
-
ganeti.jqueue._OpExecCallbacks.CurrentPriority
ganeti.jqueue._OpExecCallbacks.html#CurrentPriority
Function
Method
PUBLIC
Returns current priority for opcode.
-
ganeti.jqueue._OpExecCallbacks.SubmitManyJobs
ganeti.jqueue._OpExecCallbacks.html#SubmitManyJobs
Function
Method
PUBLIC
Submits jobs for processing.
-
ganeti.jqueue._EncodeOpError
ganeti.jqueue.html#_EncodeOpError
Function
Function
PRIVATE
Encodes an error which occurred while processing an opcode.
-
ganeti.jqueue._TimeoutStrategyWrapper
ganeti.jqueue._TimeoutStrategyWrapper.html
Class
Class
PRIVATE
No class docstring; 0/2 instance variable, 4/4 methods documented
-
ganeti.jqueue._TimeoutStrategyWrapper.__init__
ganeti.jqueue._TimeoutStrategyWrapper.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.jqueue._TimeoutStrategyWrapper._fn
ganeti.jqueue._TimeoutStrategyWrapper.html#_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._TimeoutStrategyWrapper._next
ganeti.jqueue._TimeoutStrategyWrapper.html#_next
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._TimeoutStrategyWrapper._Advance
ganeti.jqueue._TimeoutStrategyWrapper.html#_Advance
Function
Method
PRIVATE
Gets the next timeout if necessary.
-
ganeti.jqueue._TimeoutStrategyWrapper.Peek
ganeti.jqueue._TimeoutStrategyWrapper.html#Peek
Function
Method
PUBLIC
Returns the next timeout.
-
ganeti.jqueue._TimeoutStrategyWrapper.Next
ganeti.jqueue._TimeoutStrategyWrapper.html#Next
Function
Method
PUBLIC
Returns the current timeout and advances the internal state.
-
ganeti.jqueue._OpExecContext
ganeti.jqueue._OpExecContext.html
Class
Class
PRIVATE
No class docstring; 0/7 instance variable, 4/4 methods documented
-
ganeti.jqueue._OpExecContext.__init__
ganeti.jqueue._OpExecContext.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.jqueue._OpExecContext.op
ganeti.jqueue._OpExecContext.html#op
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._OpExecContext.index
ganeti.jqueue._OpExecContext.html#index
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._OpExecContext.log_prefix
ganeti.jqueue._OpExecContext.html#log_prefix
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._OpExecContext.summary
ganeti.jqueue._OpExecContext.html#summary
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._OpExecContext.jobdeps
ganeti.jqueue._OpExecContext.html#jobdeps
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._OpExecContext._timeout_strategy_factory
ganeti.jqueue._OpExecContext.html#_timeout_strategy_factory
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._OpExecContext._ResetTimeoutStrategy
ganeti.jqueue._OpExecContext.html#_ResetTimeoutStrategy
Function
Method
PRIVATE
Creates a new timeout strategy.
-
ganeti.jqueue._OpExecContext._timeout_strategy
ganeti.jqueue._OpExecContext.html#_timeout_strategy
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._OpExecContext.CheckPriorityIncrease
ganeti.jqueue._OpExecContext.html#CheckPriorityIncrease
Function
Method
PUBLIC
Checks whether priority can and should be increased.
-
ganeti.jqueue._OpExecContext.GetNextLockTimeout
ganeti.jqueue._OpExecContext.html#GetNextLockTimeout
Function
Method
PUBLIC
Returns the next lock acquire timeout.
-
ganeti.jqueue._JobProcessor
ganeti.jqueue._JobProcessor.html
Class
Class
PRIVATE
No class docstring; 0/4 instance variable, 0/3 constant, 3/3 methods, 3/3 static methods documented
-
ganeti.jqueue._JobProcessor.DEFER
ganeti.jqueue._JobProcessor.html#DEFER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobProcessor.WAITDEP
ganeti.jqueue._JobProcessor.html#WAITDEP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobProcessor.FINISHED
ganeti.jqueue._JobProcessor.html#FINISHED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobProcessor.__init__
ganeti.jqueue._JobProcessor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.jqueue._JobProcessor.queue
ganeti.jqueue._JobProcessor.html#queue
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._JobProcessor.opexec_fn
ganeti.jqueue._JobProcessor.html#opexec_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._JobProcessor.job
ganeti.jqueue._JobProcessor.html#job
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue._JobProcessor._timeout_strategy_factory
ganeti.jqueue._JobProcessor.html#_timeout_strategy_factory
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._JobProcessor._FindNextOpcode
ganeti.jqueue._JobProcessor.html#_FindNextOpcode
Function
Static Method
PRIVATE
Locates the next opcode to run.
-
ganeti.jqueue._JobProcessor._MarkWaitlock
ganeti.jqueue._JobProcessor.html#_MarkWaitlock
Function
Static Method
PRIVATE
Marks an opcode as waiting for locks.
-
ganeti.jqueue._JobProcessor._CheckDependencies
ganeti.jqueue._JobProcessor.html#_CheckDependencies
Function
Static Method
PRIVATE
Checks if an opcode has dependencies and if so, processes them.
-
ganeti.jqueue._JobProcessor._ExecOpCodeUnlocked
ganeti.jqueue._JobProcessor.html#_ExecOpCodeUnlocked
Function
Method
PRIVATE
Processes one opcode and returns the result.
-
ganeti.jqueue._JobProcessor.__call__
ganeti.jqueue._JobProcessor.html#__call__
Function
Method
PUBLIC
Continues execution of a job.
-
ganeti.jqueue._JobDependencyManager
ganeti.jqueue._JobDependencyManager.html
Class
Class
PRIVATE
Keeps track of job dependencies.
-
ganeti.jqueue._JobDependencyManager.WAIT
ganeti.jqueue._JobDependencyManager.html#WAIT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobDependencyManager.ERROR
ganeti.jqueue._JobDependencyManager.html#ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobDependencyManager.CANCEL
ganeti.jqueue._JobDependencyManager.html#CANCEL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobDependencyManager.CONTINUE
ganeti.jqueue._JobDependencyManager.html#CONTINUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobDependencyManager.WRONGSTATUS
ganeti.jqueue._JobDependencyManager.html#WRONGSTATUS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.jqueue._JobDependencyManager.__init__
ganeti.jqueue._JobDependencyManager.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.jqueue._JobDependencyManager._getstatus_fn
ganeti.jqueue._JobDependencyManager.html#_getstatus_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._JobDependencyManager._waiters
ganeti.jqueue._JobDependencyManager.html#_waiters
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue._JobDependencyManager.JobWaiting
ganeti.jqueue._JobDependencyManager.html#JobWaiting
Function
Method
PUBLIC
Checks if a job is waiting.
-
ganeti.jqueue._JobDependencyManager.CheckAndRegister
ganeti.jqueue._JobDependencyManager.html#CheckAndRegister
Function
Method
PUBLIC
Checks if a dependency job has the requested status.
-
ganeti.jqueue._JobDependencyManager._RemoveEmptyWaitersUnlocked
ganeti.jqueue._JobDependencyManager.html#_RemoveEmptyWaitersUnlocked
Function
Method
PRIVATE
Remove all jobs without actual waiters.
-
ganeti.jqueue.JobQueue
ganeti.jqueue.JobQueue.html
Class
Class
PUBLIC
Queue used to manage the jobs.
-
ganeti.jqueue.JobQueue.__init__
ganeti.jqueue.JobQueue.html#__init__
Function
Method
PUBLIC
Constructor for JobQueue.
-
ganeti.jqueue.JobQueue.context
ganeti.jqueue.JobQueue.html#context
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue.JobQueue._memcache
ganeti.jqueue.JobQueue.html#_memcache
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue.JobQueue._my_hostname
ganeti.jqueue.JobQueue.html#_my_hostname
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue.JobQueue._nodes
ganeti.jqueue.JobQueue.html#_nodes
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.jqueue.JobQueue.depmgr
ganeti.jqueue.JobQueue.html#depmgr
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.jqueue.JobQueue._GetRpc
ganeti.jqueue.JobQueue.html#_GetRpc
Function
Method
PRIVATE
Gets RPC runner with context.
-
ganeti.jqueue.JobQueue._CheckRpcResult
ganeti.jqueue.JobQueue.html#_CheckRpcResult
Function
Static Method
PRIVATE
Verifies the status of an RPC call.
-
ganeti.jqueue.JobQueue._GetNodeIp
ganeti.jqueue.JobQueue.html#_GetNodeIp
Function
Method
PRIVATE
Helper for returning the node name/ip list.
-
ganeti.jqueue.JobQueue._UpdateJobQueueFile
ganeti.jqueue.JobQueue.html#_UpdateJobQueueFile
Function
Method
PRIVATE
Writes a file locally and then replicates it to all nodes.
-
ganeti.jqueue.JobQueue._RenameFilesUnlocked
ganeti.jqueue.JobQueue.html#_RenameFilesUnlocked
Function
Method
PRIVATE
Renames a file locally and then replicate the change.
-
ganeti.jqueue.JobQueue._GetJobPath
ganeti.jqueue.JobQueue.html#_GetJobPath
Function
Static Method
PRIVATE
Returns the job file for a given job id.
-
ganeti.jqueue.JobQueue._GetArchivedJobPath
ganeti.jqueue.JobQueue.html#_GetArchivedJobPath
Function
Static Method
PRIVATE
Returns the archived job file for a give job id.
-
ganeti.jqueue.JobQueue._DetermineJobDirectories
ganeti.jqueue.JobQueue.html#_DetermineJobDirectories
Function
Static Method
PRIVATE
Build list of directories containing job files.
-
ganeti.jqueue.JobQueue._GetJobIDsUnlocked
ganeti.jqueue.JobQueue.html#_GetJobIDsUnlocked
Function
Class Method
PRIVATE
Return all known job IDs.
-
ganeti.jqueue.JobQueue._LoadJobUnlocked
ganeti.jqueue.JobQueue.html#_LoadJobUnlocked
Function
Method
PRIVATE
Loads a job from the disk or memory.
-
ganeti.jqueue.JobQueue._LoadJobFromDisk
ganeti.jqueue.JobQueue.html#_LoadJobFromDisk
Function
Method
PRIVATE
Load the given job file from disk.
-
ganeti.jqueue.JobQueue.SafeLoadJobFromDisk
ganeti.jqueue.JobQueue.html#SafeLoadJobFromDisk
Function
Method
PUBLIC
Load the given job file from disk.
-
ganeti.jqueue.JobQueue.SubmitManyJobs
ganeti.jqueue.JobQueue.html#SubmitManyJobs
Function
Class Method
PUBLIC
Create and store multiple jobs.
-
ganeti.jqueue.JobQueue._ResolveJobDependencies
ganeti.jqueue.JobQueue.html#_ResolveJobDependencies
Function
Static Method
PRIVATE
Resolves relative job IDs in dependencies.
-
ganeti.jqueue.JobQueue._GetJobStatusForDependencies
ganeti.jqueue.JobQueue.html#_GetJobStatusForDependencies
Function
Method
PRIVATE
Gets the status of a job for dependencies.
-
ganeti.jqueue.JobQueue.UpdateJobUnlocked
ganeti.jqueue.JobQueue.html#UpdateJobUnlocked
Function
Method
PUBLIC
Update a job's on disk storage.
-
ganeti.jqueue.JobQueue.HasJobBeenFinalized
ganeti.jqueue.JobQueue.html#HasJobBeenFinalized
Function
Method
PUBLIC
Checks if a job has been finalized.
-
ganeti.jqueue.JobQueue.CancelJob
ganeti.jqueue.JobQueue.html#CancelJob
Function
Method
PUBLIC
Cancels a job.
-
ganeti.jqueue.JobQueue.ChangeJobPriority
ganeti.jqueue.JobQueue.html#ChangeJobPriority
Function
Method
PUBLIC
Changes a job's priority.
-
ganeti.jqueue.JobQueue._ModifyJobUnlocked
ganeti.jqueue.JobQueue.html#_ModifyJobUnlocked
Function
Method
PRIVATE
Modifies a job.
-
ganeti.server.masterd.CLIENT_REQUEST_WORKERS
ganeti.server.masterd.html#CLIENT_REQUEST_WORKERS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.server.masterd.GanetiContext
ganeti.server.masterd.GanetiContext.html
Class
Class
PUBLIC
Context common to all ganeti threads.
-
ganeti.server.masterd.GanetiContext._instance
ganeti.server.masterd.GanetiContext.html#_instance
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.server.masterd.GanetiContext.__init__
ganeti.server.masterd.GanetiContext.html#__init__
Function
Method
PUBLIC
Constructs a new GanetiContext object.
-
ganeti.server.masterd.GanetiContext.livelock
ganeti.server.masterd.GanetiContext.html#livelock
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.masterd.GanetiContext.jobqueue
ganeti.server.masterd.GanetiContext.html#jobqueue
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.masterd.GanetiContext.__setattr__
ganeti.server.masterd.GanetiContext.html#__setattr__
Function
Method
PUBLIC
Setting GanetiContext attributes is forbidden after initialization.
-
ganeti.server.masterd.GanetiContext.GetWConfdContext
ganeti.server.masterd.GanetiContext.html#GetWConfdContext
Function
Method
PUBLIC
Undocumented
-
ganeti.server.masterd.GanetiContext.GetConfig
ganeti.server.masterd.GanetiContext.html#GetConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.server.masterd.GanetiContext.GetRpc
ganeti.server.masterd.GanetiContext.html#GetRpc
Function
Method
PUBLIC
Undocumented
-
ganeti.server.masterd.GanetiContext.AddNode
ganeti.server.masterd.GanetiContext.html#AddNode
Function
Method
PUBLIC
Adds a node to the configuration.
-
ganeti.server.masterd.GanetiContext.RemoveNode
ganeti.server.masterd.GanetiContext.html#RemoveNode
Function
Method
PUBLIC
Removes a node from the configuration and lock manager.
-
ganeti.jqueue.exec._SetupJob
ganeti.jqueue.exec.html#_SetupJob
Function
Function
PRIVATE
Setup the process to execute the job
-
ganeti.jqueue.exec.RestorePrivateValueWrapping
ganeti.jqueue.exec.html#RestorePrivateValueWrapping
Function
Function
PUBLIC
Wrap private values in JSON decoded structure.
-
ganeti.jqueue.exec.main
ganeti.jqueue.exec.html#main
Function
Function
PUBLIC
Undocumented
-
ganeti.masterd.instance._ImportExportError
ganeti.masterd.instance._ImportExportError.html
Class
Exception
PRIVATE
Local exception to report import/export errors.
-
ganeti.masterd.instance.ImportExportTimeouts
ganeti.masterd.instance.ImportExportTimeouts.html
Class
Class
PUBLIC
No class docstring; 0/5 instance variable, 0/1 class variable, 0/4 constant, 1/1 method documented
-
ganeti.masterd.instance.ImportExportTimeouts.DEFAULT_READY_TIMEOUT
ganeti.masterd.instance.ImportExportTimeouts.html#DEFAULT_READY_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.DEFAULT_ERROR_TIMEOUT
ganeti.masterd.instance.ImportExportTimeouts.html#DEFAULT_ERROR_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.DEFAULT_LISTEN_TIMEOUT
ganeti.masterd.instance.ImportExportTimeouts.html#DEFAULT_LISTEN_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.DEFAULT_PROGRESS_INTERVAL
ganeti.masterd.instance.ImportExportTimeouts.html#DEFAULT_PROGRESS_INTERVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.__slots__
ganeti.masterd.instance.ImportExportTimeouts.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.__init__
ganeti.masterd.instance.ImportExportTimeouts.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance.ImportExportTimeouts.error
ganeti.masterd.instance.ImportExportTimeouts.html#error
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.ready
ganeti.masterd.instance.ImportExportTimeouts.html#ready
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.listen
ganeti.masterd.instance.ImportExportTimeouts.html#listen
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.connect
ganeti.masterd.instance.ImportExportTimeouts.html#connect
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportTimeouts.progress
ganeti.masterd.instance.ImportExportTimeouts.html#progress
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportCbBase
ganeti.masterd.instance.ImportExportCbBase.html
Class
Class
PUBLIC
Callbacks for disk import/export.
-
ganeti.masterd.instance.ImportExportCbBase.ReportListening
ganeti.masterd.instance.ImportExportCbBase.html#ReportListening
Function
Method
PUBLIC
Called when daemon started listening.
-
ganeti.masterd.instance.ImportExportCbBase.ReportConnected
ganeti.masterd.instance.ImportExportCbBase.html#ReportConnected
Function
Method
PUBLIC
Called when a connection has been established.
-
ganeti.masterd.instance.ImportExportCbBase.ReportProgress
ganeti.masterd.instance.ImportExportCbBase.html#ReportProgress
Function
Method
PUBLIC
Called when new progress information should be reported.
-
ganeti.masterd.instance.ImportExportCbBase.ReportFinished
ganeti.masterd.instance.ImportExportCbBase.html#ReportFinished
Function
Method
PUBLIC
Called when a transfer has finished.
-
ganeti.masterd.instance._DiskImportExportBase
ganeti.masterd.instance._DiskImportExportBase.html
Class
Class
PRIVATE
No class docstring; 5/5 properties, 0/20 instance variable, 0/1 constant, 16/16 methods documented
-
ganeti.masterd.instance._DiskImportExportBase.MODE_TEXT
ganeti.masterd.instance._DiskImportExportBase.html#MODE_TEXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase.__init__
ganeti.masterd.instance._DiskImportExportBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance._DiskImportExportBase._lu
ganeti.masterd.instance._DiskImportExportBase.html#_lu
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase.node_uuid
ganeti.masterd.instance._DiskImportExportBase.html#node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase.node_name
ganeti.masterd.instance._DiskImportExportBase.html#node_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._opts
ganeti.masterd.instance._DiskImportExportBase.html#_opts
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._instance
ganeti.masterd.instance._DiskImportExportBase.html#_instance
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._component
ganeti.masterd.instance._DiskImportExportBase.html#_component
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._timeouts
ganeti.masterd.instance._DiskImportExportBase.html#_timeouts
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._cbs
ganeti.masterd.instance._DiskImportExportBase.html#_cbs
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._private
ganeti.masterd.instance._DiskImportExportBase.html#_private
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._loop
ganeti.masterd.instance._DiskImportExportBase.html#_loop
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._ts_begin
ganeti.masterd.instance._DiskImportExportBase.html#_ts_begin
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._ts_connected
ganeti.masterd.instance._DiskImportExportBase.html#_ts_connected
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._ts_finished
ganeti.masterd.instance._DiskImportExportBase.html#_ts_finished
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._ts_cleanup
ganeti.masterd.instance._DiskImportExportBase.html#_ts_cleanup
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._ts_last_progress
ganeti.masterd.instance._DiskImportExportBase.html#_ts_last_progress
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._ts_last_error
ganeti.masterd.instance._DiskImportExportBase.html#_ts_last_error
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase.success
ganeti.masterd.instance._DiskImportExportBase.html#success
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase.final_message
ganeti.masterd.instance._DiskImportExportBase.html#final_message
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._daemon_name
ganeti.masterd.instance._DiskImportExportBase.html#_daemon_name
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase._daemon
ganeti.masterd.instance._DiskImportExportBase.html#_daemon
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._DiskImportExportBase.recent_output
ganeti.masterd.instance._DiskImportExportBase.html#recent_output
Attribute
Property
PUBLIC
Returns the most recent output from the daemon.
-
ganeti.masterd.instance._DiskImportExportBase.progress
ganeti.masterd.instance._DiskImportExportBase.html#progress
Attribute
Property
PUBLIC
Returns transfer progress information.
-
ganeti.masterd.instance._DiskImportExportBase.magic
ganeti.masterd.instance._DiskImportExportBase.html#magic
Attribute
Property
PUBLIC
Returns the magic value for this import/export.
-
ganeti.masterd.instance._DiskImportExportBase.active
ganeti.masterd.instance._DiskImportExportBase.html#active
Attribute
Property
PUBLIC
Determines whether this transport is still active.
-
ganeti.masterd.instance._DiskImportExportBase.loop
ganeti.masterd.instance._DiskImportExportBase.html#loop
Attribute
Property
PUBLIC
Returns parent loop.
-
ganeti.masterd.instance._DiskImportExportBase.SetLoop
ganeti.masterd.instance._DiskImportExportBase.html#SetLoop
Function
Method
PUBLIC
Sets the parent loop.
-
ganeti.masterd.instance._DiskImportExportBase._StartDaemon
ganeti.masterd.instance._DiskImportExportBase.html#_StartDaemon
Function
Method
PRIVATE
Starts the import/export daemon.
-
ganeti.masterd.instance._DiskImportExportBase.CheckDaemon
ganeti.masterd.instance._DiskImportExportBase.html#CheckDaemon
Function
Method
PUBLIC
Checks whether daemon has been started and if not, starts it.
-
ganeti.masterd.instance._DiskImportExportBase.GetDaemonName
ganeti.masterd.instance._DiskImportExportBase.html#GetDaemonName
Function
Method
PUBLIC
Returns the daemon name.
-
ganeti.masterd.instance._DiskImportExportBase.Abort
ganeti.masterd.instance._DiskImportExportBase.html#Abort
Function
Method
PUBLIC
Sends SIGTERM to import/export daemon (if still active).
-
ganeti.masterd.instance._DiskImportExportBase._SetDaemonData
ganeti.masterd.instance._DiskImportExportBase.html#_SetDaemonData
Function
Method
PRIVATE
Internal function for updating status daemon data.
-
ganeti.masterd.instance._DiskImportExportBase.SetDaemonData
ganeti.masterd.instance._DiskImportExportBase.html#SetDaemonData
Function
Method
PUBLIC
Updates daemon status data.
-
ganeti.masterd.instance._DiskImportExportBase.CheckListening
ganeti.masterd.instance._DiskImportExportBase.html#CheckListening
Function
Method
PUBLIC
Checks whether the daemon is listening.
-
ganeti.masterd.instance._DiskImportExportBase._GetConnectedCheckEpoch
ganeti.masterd.instance._DiskImportExportBase.html#_GetConnectedCheckEpoch
Function
Method
PRIVATE
Returns timeout to calculate connect timeout.
-
ganeti.masterd.instance._DiskImportExportBase.CheckConnected
ganeti.masterd.instance._DiskImportExportBase.html#CheckConnected
Function
Method
PUBLIC
Checks whether the daemon is connected.
-
ganeti.masterd.instance._DiskImportExportBase._CheckProgress
ganeti.masterd.instance._DiskImportExportBase.html#_CheckProgress
Function
Method
PRIVATE
Checks whether a progress update should be reported.
-
ganeti.masterd.instance._DiskImportExportBase.CheckFinished
ganeti.masterd.instance._DiskImportExportBase.html#CheckFinished
Function
Method
PUBLIC
Checks whether the daemon exited.
-
ganeti.masterd.instance._DiskImportExportBase._ReportFinished
ganeti.masterd.instance._DiskImportExportBase.html#_ReportFinished
Function
Method
PRIVATE
Transfer is finished or daemon exited.
-
ganeti.masterd.instance._DiskImportExportBase._Finalize
ganeti.masterd.instance._DiskImportExportBase.html#_Finalize
Function
Method
PRIVATE
Makes the RPC call to finalize this import/export.
-
ganeti.masterd.instance._DiskImportExportBase.Finalize
ganeti.masterd.instance._DiskImportExportBase.html#Finalize
Function
Method
PUBLIC
Finalizes this import/export.
-
ganeti.masterd.instance.DiskImport
ganeti.masterd.instance.DiskImport.html
Class
Class
PUBLIC
No class docstring; 1/1 property, 0/3 instance variable, 0/1 constant, 4/4 methods documented
-
ganeti.masterd.instance.DiskImport.MODE_TEXT
ganeti.masterd.instance.DiskImport.html#MODE_TEXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskImport.__init__
ganeti.masterd.instance.DiskImport.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance.DiskImport._dest
ganeti.masterd.instance.DiskImport.html#_dest
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskImport._dest_args
ganeti.masterd.instance.DiskImport.html#_dest_args
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskImport._ts_listening
ganeti.masterd.instance.DiskImport.html#_ts_listening
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskImport.listen_port
ganeti.masterd.instance.DiskImport.html#listen_port
Attribute
Property
PUBLIC
Returns the port the daemon is listening on.
-
ganeti.masterd.instance.DiskImport._StartDaemon
ganeti.masterd.instance.DiskImport.html#_StartDaemon
Function
Method
PRIVATE
Starts the import daemon.
-
ganeti.masterd.instance.DiskImport.CheckListening
ganeti.masterd.instance.DiskImport.html#CheckListening
Function
Method
PUBLIC
Checks whether the daemon is listening.
-
ganeti.masterd.instance.DiskImport._GetConnectedCheckEpoch
ganeti.masterd.instance.DiskImport.html#_GetConnectedCheckEpoch
Function
Method
PRIVATE
Returns the time since we started listening.
-
ganeti.masterd.instance.DiskExport
ganeti.masterd.instance.DiskExport.html
Class
Class
PUBLIC
No class docstring; 0/4 instance variable, 0/1 constant, 4/4 methods documented
-
ganeti.masterd.instance.DiskExport.MODE_TEXT
ganeti.masterd.instance.DiskExport.html#MODE_TEXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskExport.__init__
ganeti.masterd.instance.DiskExport.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance.DiskExport._dest_host
ganeti.masterd.instance.DiskExport.html#_dest_host
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskExport._dest_port
ganeti.masterd.instance.DiskExport.html#_dest_port
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskExport._source
ganeti.masterd.instance.DiskExport.html#_source
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskExport._source_args
ganeti.masterd.instance.DiskExport.html#_source_args
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.DiskExport._StartDaemon
ganeti.masterd.instance.DiskExport.html#_StartDaemon
Function
Method
PRIVATE
Starts the export daemon.
-
ganeti.masterd.instance.DiskExport.CheckListening
ganeti.masterd.instance.DiskExport.html#CheckListening
Function
Method
PUBLIC
Checks whether the daemon is listening.
-
ganeti.masterd.instance.DiskExport._GetConnectedCheckEpoch
ganeti.masterd.instance.DiskExport.html#_GetConnectedCheckEpoch
Function
Method
PRIVATE
Returns the time since the daemon started.
-
ganeti.masterd.instance.FormatProgress
ganeti.masterd.instance.html#FormatProgress
Function
Function
PUBLIC
Formats progress information for user consumption
-
ganeti.masterd.instance.ImportExportLoop
ganeti.masterd.instance.ImportExportLoop.html
Class
Class
PUBLIC
No class docstring; 0/3 instance variable, 0/2 constant, 5/5 methods, 2/2 static methods documented
-
ganeti.masterd.instance.ImportExportLoop.MIN_DELAY
ganeti.masterd.instance.ImportExportLoop.html#MIN_DELAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportLoop.MAX_DELAY
ganeti.masterd.instance.ImportExportLoop.html#MAX_DELAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.masterd.instance.ImportExportLoop.__init__
ganeti.masterd.instance.ImportExportLoop.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance.ImportExportLoop._lu
ganeti.masterd.instance.ImportExportLoop.html#_lu
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ImportExportLoop._queue
ganeti.masterd.instance.ImportExportLoop.html#_queue
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ImportExportLoop._pending_add
ganeti.masterd.instance.ImportExportLoop.html#_pending_add
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ImportExportLoop.Add
ganeti.masterd.instance.ImportExportLoop.html#Add
Function
Method
PUBLIC
Adds an import/export object to the loop.
-
ganeti.masterd.instance.ImportExportLoop._CollectDaemonStatus
ganeti.masterd.instance.ImportExportLoop.html#_CollectDaemonStatus
Function
Static Method
PRIVATE
Collects the status for all import/export daemons.
-
ganeti.masterd.instance.ImportExportLoop._GetActiveDaemonNames
ganeti.masterd.instance.ImportExportLoop.html#_GetActiveDaemonNames
Function
Static Method
PRIVATE
Gets the names of all active daemons.
-
ganeti.masterd.instance.ImportExportLoop._AddPendingToQueue
ganeti.masterd.instance.ImportExportLoop.html#_AddPendingToQueue
Function
Method
PRIVATE
Adds all pending import/export objects to the internal queue.
-
ganeti.masterd.instance.ImportExportLoop.Run
ganeti.masterd.instance.ImportExportLoop.html#Run
Function
Method
PUBLIC
Utility main loop.
-
ganeti.masterd.instance.ImportExportLoop.FinalizeAll
ganeti.masterd.instance.ImportExportLoop.html#FinalizeAll
Function
Method
PUBLIC
Finalizes all pending transfers.
-
ganeti.masterd.instance._TransferInstCbBase
ganeti.masterd.instance._TransferInstCbBase.html
Class
Class
PRIVATE
No class docstring; 0/8 instance variable, 1/1 method documented
-
ganeti.masterd.instance._TransferInstCbBase.__init__
ganeti.masterd.instance._TransferInstCbBase.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance._TransferInstCbBase.lu
ganeti.masterd.instance._TransferInstCbBase.html#lu
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.feedback_fn
ganeti.masterd.instance._TransferInstCbBase.html#feedback_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.instance
ganeti.masterd.instance._TransferInstCbBase.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.timeouts
ganeti.masterd.instance._TransferInstCbBase.html#timeouts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.src_node_uuid
ganeti.masterd.instance._TransferInstCbBase.html#src_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.src_cbs
ganeti.masterd.instance._TransferInstCbBase.html#src_cbs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.dest_node_uuid
ganeti.masterd.instance._TransferInstCbBase.html#dest_node_uuid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstCbBase.dest_ip
ganeti.masterd.instance._TransferInstCbBase.html#dest_ip
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._TransferInstSourceCb
ganeti.masterd.instance._TransferInstSourceCb.html
Class
Class
PRIVATE
No class docstring; 3/3 methods documented
-
ganeti.masterd.instance._TransferInstSourceCb.ReportConnected
ganeti.masterd.instance._TransferInstSourceCb.html#ReportConnected
Function
Method
PUBLIC
Called when a connection has been established.
-
ganeti.masterd.instance._TransferInstSourceCb.ReportProgress
ganeti.masterd.instance._TransferInstSourceCb.html#ReportProgress
Function
Method
PUBLIC
Called when new progress information should be reported.
-
ganeti.masterd.instance._TransferInstSourceCb.ReportFinished
ganeti.masterd.instance._TransferInstSourceCb.html#ReportFinished
Function
Method
PUBLIC
Called when a transfer has finished.
-
ganeti.masterd.instance._TransferInstDestCb
ganeti.masterd.instance._TransferInstDestCb.html
Class
Class
PRIVATE
No class docstring; 3/3 methods documented
-
ganeti.masterd.instance._TransferInstDestCb.ReportListening
ganeti.masterd.instance._TransferInstDestCb.html#ReportListening
Function
Method
PUBLIC
Called when daemon started listening.
-
ganeti.masterd.instance._TransferInstDestCb.ReportConnected
ganeti.masterd.instance._TransferInstDestCb.html#ReportConnected
Function
Method
PUBLIC
Called when a connection has been established.
-
ganeti.masterd.instance._TransferInstDestCb.ReportFinished
ganeti.masterd.instance._TransferInstDestCb.html#ReportFinished
Function
Method
PUBLIC
Called when a transfer has finished.
-
ganeti.masterd.instance.DiskTransfer
ganeti.masterd.instance.DiskTransfer.html
Class
Class
PUBLIC
No class docstring; 0/6 instance variable, 1/1 method documented
-
ganeti.masterd.instance.DiskTransfer.__init__
ganeti.masterd.instance.DiskTransfer.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance.DiskTransfer.name
ganeti.masterd.instance.DiskTransfer.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskTransfer.src_io
ganeti.masterd.instance.DiskTransfer.html#src_io
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskTransfer.src_ioargs
ganeti.masterd.instance.DiskTransfer.html#src_ioargs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskTransfer.dest_io
ganeti.masterd.instance.DiskTransfer.html#dest_io
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskTransfer.dest_ioargs
ganeti.masterd.instance.DiskTransfer.html#dest_ioargs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance.DiskTransfer.finished_fn
ganeti.masterd.instance.DiskTransfer.html#finished_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskTransferPrivate
ganeti.masterd.instance._DiskTransferPrivate.html
Class
Class
PRIVATE
No class docstring; 0/5 instance variable, 2/2 methods documented
-
ganeti.masterd.instance._DiskTransferPrivate.__init__
ganeti.masterd.instance._DiskTransferPrivate.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance._DiskTransferPrivate.data
ganeti.masterd.instance._DiskTransferPrivate.html#data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskTransferPrivate.success
ganeti.masterd.instance._DiskTransferPrivate.html#success
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskTransferPrivate.export_opts
ganeti.masterd.instance._DiskTransferPrivate.html#export_opts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskTransferPrivate.src_export
ganeti.masterd.instance._DiskTransferPrivate.html#src_export
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskTransferPrivate.dest_import
ganeti.masterd.instance._DiskTransferPrivate.html#dest_import
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.masterd.instance._DiskTransferPrivate.RecordResult
ganeti.masterd.instance._DiskTransferPrivate.html#RecordResult
Function
Method
PUBLIC
Updates the status.
-
ganeti.masterd.instance._GetInstDiskMagic
ganeti.masterd.instance.html#_GetInstDiskMagic
Function
Function
PRIVATE
Computes the magic value for a disk export or import.
-
ganeti.masterd.instance.TransferInstanceData
ganeti.masterd.instance.html#TransferInstanceData
Function
Function
PUBLIC
Transfers an instance's data from one node to another.
-
ganeti.masterd.instance._RemoteExportCb
ganeti.masterd.instance._RemoteExportCb.html
Class
Class
PRIVATE
No class docstring; 1/1 property, 0/2 instance variable, 4/4 methods documented
-
ganeti.masterd.instance._RemoteExportCb.__init__
ganeti.masterd.instance._RemoteExportCb.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance._RemoteExportCb._feedback_fn
ganeti.masterd.instance._RemoteExportCb.html#_feedback_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteExportCb._dresults
ganeti.masterd.instance._RemoteExportCb.html#_dresults
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteExportCb.disk_results
ganeti.masterd.instance._RemoteExportCb.html#disk_results
Attribute
Property
PUBLIC
Returns per-disk results.
-
ganeti.masterd.instance._RemoteExportCb.ReportConnected
ganeti.masterd.instance._RemoteExportCb.html#ReportConnected
Function
Method
PUBLIC
Called when a connection has been established.
-
ganeti.masterd.instance._RemoteExportCb.ReportProgress
ganeti.masterd.instance._RemoteExportCb.html#ReportProgress
Function
Method
PUBLIC
Called when new progress information should be reported.
-
ganeti.masterd.instance._RemoteExportCb.ReportFinished
ganeti.masterd.instance._RemoteExportCb.html#ReportFinished
Function
Method
PUBLIC
Called when a transfer has finished.
-
ganeti.masterd.instance.ExportInstanceHelper
ganeti.masterd.instance.ExportInstanceHelper.html
Class
Class
PUBLIC
No class docstring; 0/5 instance variable, 10/10 methods documented
-
ganeti.masterd.instance.ExportInstanceHelper.__init__
ganeti.masterd.instance.ExportInstanceHelper.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance.ExportInstanceHelper._lu
ganeti.masterd.instance.ExportInstanceHelper.html#_lu
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ExportInstanceHelper._feedback_fn
ganeti.masterd.instance.ExportInstanceHelper.html#_feedback_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ExportInstanceHelper._instance
ganeti.masterd.instance.ExportInstanceHelper.html#_instance
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ExportInstanceHelper._snapshots
ganeti.masterd.instance.ExportInstanceHelper.html#_snapshots
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ExportInstanceHelper._snapshots_removed
ganeti.masterd.instance.ExportInstanceHelper.html#_snapshots_removed
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance.ExportInstanceHelper._SnapshotsReady
ganeti.masterd.instance.ExportInstanceHelper.html#_SnapshotsReady
Function
Method
PRIVATE
Returns true if snapshots are ready to be used in exports.
-
ganeti.masterd.instance.ExportInstanceHelper.CreateSnapshots
ganeti.masterd.instance.ExportInstanceHelper.html#CreateSnapshots
Function
Method
PUBLIC
Attempts to create a snapshot for every disk of the instance.
-
ganeti.masterd.instance.ExportInstanceHelper._RemoveSnapshot
ganeti.masterd.instance.ExportInstanceHelper.html#_RemoveSnapshot
Function
Method
PRIVATE
Removes an LVM snapshot.
-
ganeti.masterd.instance.ExportInstanceHelper._GetDisksToTransfer
ganeti.masterd.instance.ExportInstanceHelper.html#_GetDisksToTransfer
Function
Method
PRIVATE
Returns disks to be transferred, whether snapshots or instance disks.
-
ganeti.masterd.instance.ExportInstanceHelper._GetDiskLabel
ganeti.masterd.instance.ExportInstanceHelper.html#_GetDiskLabel
Function
Method
PRIVATE
Returns a label which should be used to represent a disk to transfer.
-
ganeti.masterd.instance.ExportInstanceHelper.LocalExport
ganeti.masterd.instance.ExportInstanceHelper.html#LocalExport
Function
Method
PUBLIC
Intra-cluster instance export.
-
ganeti.masterd.instance.ExportInstanceHelper.RemoteExport
ganeti.masterd.instance.ExportInstanceHelper.html#RemoteExport
Function
Method
PUBLIC
Inter-cluster instance export.
-
ganeti.masterd.instance.ExportInstanceHelper._TransferFinished
ganeti.masterd.instance.ExportInstanceHelper.html#_TransferFinished
Function
Method
PRIVATE
Called once a transfer has finished.
-
ganeti.masterd.instance.ExportInstanceHelper.Cleanup
ganeti.masterd.instance.ExportInstanceHelper.html#Cleanup
Function
Method
PUBLIC
Remove all snapshots.
-
ganeti.masterd.instance._RemoteImportCb
ganeti.masterd.instance._RemoteImportCb.html
Class
Class
PRIVATE
No class docstring; 1/1 property, 0/8 instance variable, 5/5 methods documented
-
ganeti.masterd.instance._RemoteImportCb.__init__
ganeti.masterd.instance._RemoteImportCb.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.masterd.instance._RemoteImportCb._feedback_fn
ganeti.masterd.instance._RemoteImportCb.html#_feedback_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._cds
ganeti.masterd.instance._RemoteImportCb.html#_cds
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._x509_cert_pem
ganeti.masterd.instance._RemoteImportCb.html#_x509_cert_pem
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._disk_count
ganeti.masterd.instance._RemoteImportCb.html#_disk_count
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._external_address
ganeti.masterd.instance._RemoteImportCb.html#_external_address
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._dresults
ganeti.masterd.instance._RemoteImportCb.html#_dresults
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._daemon_port
ganeti.masterd.instance._RemoteImportCb.html#_daemon_port
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb._salt
ganeti.masterd.instance._RemoteImportCb.html#_salt
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.masterd.instance._RemoteImportCb.disk_results
ganeti.masterd.instance._RemoteImportCb.html#disk_results
Attribute
Property
PUBLIC
Returns per-disk results.
-
ganeti.masterd.instance._RemoteImportCb._CheckAllListening
ganeti.masterd.instance._RemoteImportCb.html#_CheckAllListening
Function
Method
PRIVATE
Checks whether all daemons are listening.
-
ganeti.masterd.instance._RemoteImportCb.ReportListening
ganeti.masterd.instance._RemoteImportCb.html#ReportListening
Function
Method
PUBLIC
Called when daemon started listening.
-
ganeti.masterd.instance._RemoteImportCb.ReportConnected
ganeti.masterd.instance._RemoteImportCb.html#ReportConnected
Function
Method
PUBLIC
Called when a connection has been established.
-
ganeti.masterd.instance._RemoteImportCb.ReportFinished
ganeti.masterd.instance._RemoteImportCb.html#ReportFinished
Function
Method
PUBLIC
Called when a transfer has finished.
-
ganeti.masterd.instance.RemoteImport
ganeti.masterd.instance.html#RemoteImport
Function
Function
PUBLIC
Imports an instance from another cluster.
-
ganeti.masterd.instance._GetImportExportHandshakeMessage
ganeti.masterd.instance.html#_GetImportExportHandshakeMessage
Function
Function
PRIVATE
Returns the handshake message for a RIE protocol version.
-
ganeti.masterd.instance.ComputeRemoteExportHandshake
ganeti.masterd.instance.html#ComputeRemoteExportHandshake
Function
Function
PUBLIC
Computes the remote import/export handshake.
-
ganeti.masterd.instance.CheckRemoteExportHandshake
ganeti.masterd.instance.html#CheckRemoteExportHandshake
Function
Function
PUBLIC
Checks the handshake of a remote import/export.
-
ganeti.masterd.instance._GetRieDiskInfoMessage
ganeti.masterd.instance.html#_GetRieDiskInfoMessage
Function
Function
PRIVATE
Returns the hashed text for import/export disk information.
-
ganeti.masterd.instance.CheckRemoteExportDiskInfo
ganeti.masterd.instance.html#CheckRemoteExportDiskInfo
Function
Function
PUBLIC
Verifies received disk information for an export.
-
ganeti.masterd.instance.ComputeRemoteImportDiskInfo
ganeti.masterd.instance.html#ComputeRemoteImportDiskInfo
Function
Function
PUBLIC
Computes the signed disk information for a remote import.
-
ganeti.masterd.instance.CalculateGroupIPolicy
ganeti.masterd.instance.html#CalculateGroupIPolicy
Function
Function
PUBLIC
Calculate instance policy for group.
-
ganeti.masterd.instance.ComputeDiskSize
ganeti.masterd.instance.html#ComputeDiskSize
Function
Function
PUBLIC
Compute disk size requirements according to disk template
-
ganeti.ovf.GANETI_SCHEMA
ganeti.ovf.html#GANETI_SCHEMA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.OVF_SCHEMA
ganeti.ovf.html#OVF_SCHEMA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.RASD_SCHEMA
ganeti.ovf.html#RASD_SCHEMA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.VSSD_SCHEMA
ganeti.ovf.html#VSSD_SCHEMA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.XML_SCHEMA
ganeti.ovf.html#XML_SCHEMA
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.OVA_EXT
ganeti.ovf.html#OVA_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.OVF_EXT
ganeti.ovf.html#OVF_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.MF_EXT
ganeti.ovf.html#MF_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.CERT_EXT
ganeti.ovf.html#CERT_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.COMPRESSION_EXT
ganeti.ovf.html#COMPRESSION_EXT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.FILE_EXTENSIONS
ganeti.ovf.html#FILE_EXTENSIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.COMPRESSION_TYPE
ganeti.ovf.html#COMPRESSION_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.NO_COMPRESSION
ganeti.ovf.html#NO_COMPRESSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.COMPRESS
ganeti.ovf.html#COMPRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.DECOMPRESS
ganeti.ovf.html#DECOMPRESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.ALLOWED_ACTIONS
ganeti.ovf.html#ALLOWED_ACTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.VMDK
ganeti.ovf.html#VMDK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.RAW
ganeti.ovf.html#RAW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.COW
ganeti.ovf.html#COW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.ALLOWED_FORMATS
ganeti.ovf.html#ALLOWED_FORMATS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.RASD_TYPE
ganeti.ovf.html#RASD_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.SCSI_SUBTYPE
ganeti.ovf.html#SCSI_SUBTYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.VS_TYPE
ganeti.ovf.html#VS_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.ALLOCATION_UNITS
ganeti.ovf.html#ALLOCATION_UNITS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.CONVERT_UNITS_TO_MB
ganeti.ovf.html#CONVERT_UNITS_TO_MB
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.NAME
ganeti.ovf.html#NAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.OS
ganeti.ovf.html#OS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.HYPERV
ganeti.ovf.html#HYPERV
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.VCPUS
ganeti.ovf.html#VCPUS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.MEMORY
ganeti.ovf.html#MEMORY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.AUTO_BALANCE
ganeti.ovf.html#AUTO_BALANCE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.DISK_TEMPLATE
ganeti.ovf.html#DISK_TEMPLATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.TAGS
ganeti.ovf.html#TAGS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.VERSION
ganeti.ovf.html#VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.INSTANCE_ID
ganeti.ovf.html#INSTANCE_ID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.DISK_FORMAT
ganeti.ovf.html#DISK_FORMAT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.ovf.CheckQemuImg
ganeti.ovf.html#CheckQemuImg
Function
Function
PUBLIC
Make sure that qemu-img is present before performing operations.
-
ganeti.ovf.LinkFile
ganeti.ovf.html#LinkFile
Function
Function
PUBLIC
Create link with a given prefix and suffix.
-
ganeti.ovf.OVFReader
ganeti.ovf.OVFReader.html
Class
Class
PUBLIC
Reader class for OVF files.
-
ganeti.ovf.OVFReader.files_list
ganeti.ovf.OVFReader.html#files_list
Attribute
Instance Variable
PUBLIC
list of files in the OVF package
-
ganeti.ovf.OVFReader.tree
ganeti.ovf.OVFReader.html#tree
Attribute
Instance Variable
PUBLIC
XML tree of the .ovf file
-
ganeti.ovf.OVFReader.schema_name
ganeti.ovf.OVFReader.html#schema_name
Attribute
Instance Variable
PUBLIC
name of the .ovf file
-
ganeti.ovf.OVFReader.input_dir
ganeti.ovf.OVFReader.html#input_dir
Attribute
Instance Variable
PUBLIC
directory in which the .ovf file resides
-
ganeti.ovf.OVFReader.__init__
ganeti.ovf.OVFReader.html#__init__
Function
Method
PUBLIC
Initialiaze the reader - load the .ovf file to XML parser.
-
ganeti.ovf.OVFReader._GetAttributes
ganeti.ovf.OVFReader.html#_GetAttributes
Function
Method
PRIVATE
Get specified attribute from all nodes accessible using given path.
-
ganeti.ovf.OVFReader._GetElementMatchingAttr
ganeti.ovf.OVFReader.html#_GetElementMatchingAttr
Function
Method
PRIVATE
Searches for element on a path that matches certain attribute value.
-
ganeti.ovf.OVFReader._GetElementMatchingText
ganeti.ovf.OVFReader.html#_GetElementMatchingText
Function
Method
PRIVATE
Searches for element on a path that matches certain text value.
-
ganeti.ovf.OVFReader._GetDictParameters
ganeti.ovf.OVFReader.html#_GetDictParameters
Function
Static Method
PRIVATE
Reads text in all children and creates the dictionary from the contents.
-
ganeti.ovf.OVFReader.VerifyManifest
ganeti.ovf.OVFReader.html#VerifyManifest
Function
Method
PUBLIC
Verifies manifest for the OVF package, if one is given.
-
ganeti.ovf.OVFReader.GetInstanceName
ganeti.ovf.OVFReader.html#GetInstanceName
Function
Method
PUBLIC
Provides information about instance name.
-
ganeti.ovf.OVFReader.GetDiskTemplate
ganeti.ovf.OVFReader.html#GetDiskTemplate
Function
Method
PUBLIC
Returns disk template from .ovf file
-
ganeti.ovf.OVFReader.GetHypervisorData
ganeti.ovf.OVFReader.html#GetHypervisorData
Function
Method
PUBLIC
Provides hypervisor information - hypervisor name and options.
-
ganeti.ovf.OVFReader.GetOSData
ganeti.ovf.OVFReader.html#GetOSData
Function
Method
PUBLIC
Provides operating system information - os name and options.
-
ganeti.ovf.OVFReader.GetBackendData
ganeti.ovf.OVFReader.html#GetBackendData
Function
Method
PUBLIC
Provides backend information - vcpus, memory, auto balancing options.
-
ganeti.ovf.OVFReader.GetTagsData
ganeti.ovf.OVFReader.html#GetTagsData
Function
Method
PUBLIC
Provides tags information for instance.
-
ganeti.ovf.OVFReader.GetVersionData
ganeti.ovf.OVFReader.html#GetVersionData
Function
Method
PUBLIC
Provides version number read from .ovf file
-
ganeti.ovf.OVFReader.GetNetworkData
ganeti.ovf.OVFReader.html#GetNetworkData
Function
Method
PUBLIC
Provides data about the network in the OVF instance.
-
ganeti.ovf.OVFReader.GetDisksNames
ganeti.ovf.OVFReader.html#GetDisksNames
Function
Method
PUBLIC
Provides list of file names for the disks used by the instance.
-
ganeti.ovf.SubElementText
ganeti.ovf.html#SubElementText
Function
Function
PUBLIC
This is just a wrapper on ET.SubElement that always has text content.
-
ganeti.ovf.OVFWriter
ganeti.ovf.OVFWriter.html
Class
Class
PUBLIC
Writer class for OVF files.
-
ganeti.ovf.OVFWriter.tree
ganeti.ovf.OVFWriter.html#tree
Attribute
Instance Variable
PUBLIC
XML tree that we are constructing
-
ganeti.ovf.OVFWriter.virtual_system_type
ganeti.ovf.OVFWriter.html#virtual_system_type
Attribute
Instance Variable
PUBLIC
value of vssd:VirtualSystemType, for external usage in VMWare this requires to be vmx
-
ganeti.ovf.OVFWriter.hardware_list
ganeti.ovf.OVFWriter.html#hardware_list
Attribute
Instance Variable
PUBLIC
list of items prepared for VirtualHardwareSection
-
ganeti.ovf.OVFWriter.next_instance_id
ganeti.ovf.OVFWriter.html#next_instance_id
Attribute
Instance Variable
PUBLIC
next instance id to be used when creating elements on hardware_list
-
ganeti.ovf.OVFWriter.__init__
ganeti.ovf.OVFWriter.html#__init__
Function
Method
PUBLIC
Initialize the writer - set the top element.
-
ganeti.ovf.OVFWriter.SaveDisksData
ganeti.ovf.OVFWriter.html#SaveDisksData
Function
Method
PUBLIC
Convert disk information to certain OVF sections.
-
ganeti.ovf.OVFWriter.SaveNetworksData
ganeti.ovf.OVFWriter.html#SaveNetworksData
Function
Method
PUBLIC
Convert network information to NetworkSection.
-
ganeti.ovf.OVFWriter._SaveNameAndParams
ganeti.ovf.OVFWriter.html#_SaveNameAndParams
Function
Static Method
PRIVATE
Save name and parameters information under root using data.
-
ganeti.ovf.OVFWriter.SaveGanetiData
ganeti.ovf.OVFWriter.html#SaveGanetiData
Function
Method
PUBLIC
Convert Ganeti-specific information to GanetiSection.
-
ganeti.ovf.OVFWriter.SaveVirtualSystemData
ganeti.ovf.OVFWriter.html#SaveVirtualSystemData
Function
Method
PUBLIC
Convert virtual system information to OVF sections.
-
ganeti.ovf.OVFWriter.PrettyXmlDump
ganeti.ovf.OVFWriter.html#PrettyXmlDump
Function
Method
PUBLIC
Formatter of the XML file.
-
ganeti.ovf.Converter
ganeti.ovf.Converter.html
Class
Class
PUBLIC
Converter class for OVF packages.
-
ganeti.ovf.Converter.options
ganeti.ovf.Converter.html#options
Attribute
Instance Variable
PUBLIC
options parsed from the command line
-
ganeti.ovf.Converter.output_dir
ganeti.ovf.Converter.html#output_dir
Attribute
Instance Variable
PUBLIC
directory to which the results of conversion shall be written
-
ganeti.ovf.Converter.temp_file_manager
ganeti.ovf.Converter.html#temp_file_manager
Attribute
Instance Variable
PUBLIC
container for temporary files created during conversion
-
ganeti.ovf.Converter.temp_dir
ganeti.ovf.Converter.html#temp_dir
Attribute
Instance Variable
PUBLIC
temporary directory created then we deal with OVA
-
ganeti.ovf.Converter.__init__
ganeti.ovf.Converter.html#__init__
Function
Method
PUBLIC
Initialize the converter.
-
ganeti.ovf.Converter._ReadInputData
ganeti.ovf.Converter.html#_ReadInputData
Function
Method
PRIVATE
Reads the data on which the conversion will take place.
-
ganeti.ovf.Converter._CompressDisk
ganeti.ovf.Converter.html#_CompressDisk
Function
Method
PRIVATE
Performs (de)compression on the disk and returns the new path
-
ganeti.ovf.Converter._ConvertDisk
ganeti.ovf.Converter.html#_ConvertDisk
Function
Method
PRIVATE
Performes conversion to specified format.
-
ganeti.ovf.Converter._GetDiskQemuInfo
ganeti.ovf.Converter.html#_GetDiskQemuInfo
Function
Static Method
PRIVATE
Figures out some information of the disk using qemu-img.
-
ganeti.ovf.Converter.Parse
ganeti.ovf.Converter.html#Parse
Function
Method
PUBLIC
Parses the data and creates a structure containing all required info.
-
ganeti.ovf.Converter.Save
ganeti.ovf.Converter.html#Save
Function
Method
PUBLIC
Saves the gathered configuration in an apropriate format.
-
ganeti.ovf.Converter.Cleanup
ganeti.ovf.Converter.html#Cleanup
Function
Method
PUBLIC
Cleans the temporary directory, if one was created.
-
ganeti.ovf.OVFImporter
ganeti.ovf.OVFImporter.html
Class
Class
PUBLIC
Converter from OVF to Ganeti config file.
-
ganeti.ovf.OVFImporter.input_dir
ganeti.ovf.OVFImporter.html#input_dir
Attribute
Instance Variable
PUBLIC
directory in which the .ovf file resides
-
ganeti.ovf.OVFImporter.output_dir
ganeti.ovf.OVFImporter.html#output_dir
Attribute
Instance Variable
PUBLIC
directory to which the results of conversion shall be written
-
ganeti.ovf.OVFImporter.input_path
ganeti.ovf.OVFImporter.html#input_path
Attribute
Instance Variable
PUBLIC
complete path to the .ovf file
-
ganeti.ovf.OVFImporter.ovf_reader
ganeti.ovf.OVFImporter.html#ovf_reader
Attribute
Instance Variable
PUBLIC
OVF reader instance collects data from .ovf file
-
ganeti.ovf.OVFImporter.results_name
ganeti.ovf.OVFImporter.html#results_name
Attribute
Instance Variable
PUBLIC
name of imported instance
-
ganeti.ovf.OVFImporter.results_template
ganeti.ovf.OVFImporter.html#results_template
Attribute
Instance Variable
PUBLIC
disk template read from .ovf file or command line arguments
-
ganeti.ovf.OVFImporter.results_hypervisor
ganeti.ovf.OVFImporter.html#results_hypervisor
Attribute
Instance Variable
PUBLIC
hypervisor information gathered from .ovf file or command line arguments
-
ganeti.ovf.OVFImporter.results_os
ganeti.ovf.OVFImporter.html#results_os
Attribute
Instance Variable
PUBLIC
operating system information gathered from .ovf file or command line arguments
-
ganeti.ovf.OVFImporter.results_backend
ganeti.ovf.OVFImporter.html#results_backend
Attribute
Instance Variable
PUBLIC
backend information gathered from .ovf file or command line arguments
-
ganeti.ovf.OVFImporter.results_tags
ganeti.ovf.OVFImporter.html#results_tags
Attribute
Instance Variable
PUBLIC
string containing instance-specific tags
-
ganeti.ovf.OVFImporter.results_version
ganeti.ovf.OVFImporter.html#results_version
Attribute
Instance Variable
PUBLIC
version as required by Ganeti import
-
ganeti.ovf.OVFImporter.results_network
ganeti.ovf.OVFImporter.html#results_network
Attribute
Instance Variable
PUBLIC
network information gathered from .ovf file or command line arguments
-
ganeti.ovf.OVFImporter.results_disk
ganeti.ovf.OVFImporter.html#results_disk
Attribute
Instance Variable
PUBLIC
disk information gathered from .ovf file or command line arguments
-
ganeti.ovf.OVFImporter._ReadInputData
ganeti.ovf.OVFImporter.html#_ReadInputData
Function
Method
PRIVATE
Reads the data on which the conversion will take place.
-
ganeti.ovf.OVFImporter.temp_dir
ganeti.ovf.OVFImporter.html#temp_dir
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.ovf.OVFImporter._UnpackOVA
ganeti.ovf.OVFImporter.html#_UnpackOVA
Function
Method
PRIVATE
Unpacks the .ova package into temporary directory.
-
ganeti.ovf.OVFImporter.Parse
ganeti.ovf.OVFImporter.html#Parse
Function
Method
PUBLIC
Parses the data and creates a structure containing all required info.
-
ganeti.ovf.OVFImporter._GetInfo
ganeti.ovf.OVFImporter.html#_GetInfo
Function
Static Method
PRIVATE
Get information about some section - e.g. disk, network, hypervisor.
-
ganeti.ovf.OVFImporter._ParseNameOptions
ganeti.ovf.OVFImporter.html#_ParseNameOptions
Function
Method
PRIVATE
Returns name if one was given in command line.
-
ganeti.ovf.OVFImporter._ParseTemplateOptions
ganeti.ovf.OVFImporter.html#_ParseTemplateOptions
Function
Method
PRIVATE
Returns disk template if one was given in command line.
-
ganeti.ovf.OVFImporter._ParseHypervisorOptions
ganeti.ovf.OVFImporter.html#_ParseHypervisorOptions
Function
Method
PRIVATE
Parses hypervisor options given in a command line.
-
ganeti.ovf.OVFImporter._ParseOSOptions
ganeti.ovf.OVFImporter.html#_ParseOSOptions
Function
Method
PRIVATE
Parses OS options given in command line.
-
ganeti.ovf.OVFImporter._ParseBackendOptions
ganeti.ovf.OVFImporter.html#_ParseBackendOptions
Function
Method
PRIVATE
Parses backend options given in command line.
-
ganeti.ovf.OVFImporter._ParseTags
ganeti.ovf.OVFImporter.html#_ParseTags
Function
Method
PRIVATE
Returns tags list given in command line.
-
ganeti.ovf.OVFImporter._ParseNicOptions
ganeti.ovf.OVFImporter.html#_ParseNicOptions
Function
Method
PRIVATE
Parses network options given in a command line or as a dictionary.
-
ganeti.ovf.OVFImporter._ParseDiskOptions
ganeti.ovf.OVFImporter.html#_ParseDiskOptions
Function
Method
PRIVATE
Parses disk options given in a command line.
-
ganeti.ovf.OVFImporter._GetDiskInfo
ganeti.ovf.OVFImporter.html#_GetDiskInfo
Function
Method
PRIVATE
Gathers information about disks used by instance, perfomes conversion.
-
ganeti.ovf.OVFImporter.Save
ganeti.ovf.OVFImporter.html#Save
Function
Method
PUBLIC
Saves all the gathered information in a constant.EXPORT_CONF_FILE file.
-
ganeti.ovf.ConfigParserWithDefaults
ganeti.ovf.ConfigParserWithDefaults.html
Class
Class
PUBLIC
This is just a wrapper on ConfigParser, that uses default values
-
ganeti.ovf.ConfigParserWithDefaults.get
ganeti.ovf.ConfigParserWithDefaults.html#get
Function
Method
PUBLIC
Undocumented
-
ganeti.ovf.ConfigParserWithDefaults.getint
ganeti.ovf.ConfigParserWithDefaults.html#getint
Function
Method
PUBLIC
Undocumented
-
ganeti.ovf.OVFExporter
ganeti.ovf.OVFExporter.html
Class
Class
PUBLIC
Converter from Ganeti config file to OVF
-
ganeti.ovf.OVFExporter.input_dir
ganeti.ovf.OVFExporter.html#input_dir
Attribute
Instance Variable
PUBLIC
directory in which the config.ini file resides
-
ganeti.ovf.OVFExporter.output_dir
ganeti.ovf.OVFExporter.html#output_dir
Attribute
Instance Variable
PUBLIC
directory to which the results of conversion shall be written
-
ganeti.ovf.OVFExporter.packed_dir
ganeti.ovf.OVFExporter.html#packed_dir
Attribute
Instance Variable
PUBLIC
if we want OVA package, this points to the real (i.e. not temp) output directory
-
ganeti.ovf.OVFExporter.input_path
ganeti.ovf.OVFExporter.html#input_path
Attribute
Instance Variable
PUBLIC
complete path to the config.ini file
-
ganeti.ovf.OVFExporter.output_path
ganeti.ovf.OVFExporter.html#output_path
Attribute
Instance Variable
PUBLIC
complete path to .ovf file
-
ganeti.ovf.OVFExporter.config_parser
ganeti.ovf.OVFExporter.html#config_parser
Attribute
Instance Variable
PUBLIC
parser for the config.ini file
-
ganeti.ovf.OVFExporter.reference_files
ganeti.ovf.OVFExporter.html#reference_files
Attribute
Instance Variable
PUBLIC
files referenced in the ovf file
-
ganeti.ovf.OVFExporter.results_disk
ganeti.ovf.OVFExporter.html#results_disk
Attribute
Instance Variable
PUBLIC
list of dictionaries of disk options from config.ini
-
ganeti.ovf.OVFExporter.results_network
ganeti.ovf.OVFExporter.html#results_network
Attribute
Instance Variable
PUBLIC
list of dictionaries of network options form config.ini
-
ganeti.ovf.OVFExporter.results_name
ganeti.ovf.OVFExporter.html#results_name
Attribute
Instance Variable
PUBLIC
name of the instance
-
ganeti.ovf.OVFExporter.results_vcpus
ganeti.ovf.OVFExporter.html#results_vcpus
Attribute
Instance Variable
PUBLIC
number of VCPUs
-
ganeti.ovf.OVFExporter.results_memory
ganeti.ovf.OVFExporter.html#results_memory
Attribute
Instance Variable
PUBLIC
RAM memory in MB
-
ganeti.ovf.OVFExporter.results_ganeti
ganeti.ovf.OVFExporter.html#results_ganeti
Attribute
Instance Variable
PUBLIC
dictionary of Ganeti-specific options from config.ini
-
ganeti.ovf.OVFExporter._ReadInputData
ganeti.ovf.OVFExporter.html#_ReadInputData
Function
Method
PRIVATE
Reads the data on which the conversion will take place.
-
ganeti.ovf.OVFExporter.temp_dir
ganeti.ovf.OVFExporter.html#temp_dir
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.ovf.OVFExporter.ovf_writer
ganeti.ovf.OVFExporter.html#ovf_writer
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.ovf.OVFExporter._ParseName
ganeti.ovf.OVFExporter.html#_ParseName
Function
Method
PRIVATE
Parses name from command line options or config file.
-
ganeti.ovf.OVFExporter._ParseVCPUs
ganeti.ovf.OVFExporter.html#_ParseVCPUs
Function
Method
PRIVATE
Parses vcpus number from config file.
-
ganeti.ovf.OVFExporter._ParseMemory
ganeti.ovf.OVFExporter.html#_ParseMemory
Function
Method
PRIVATE
Parses vcpus number from config file.
-
ganeti.ovf.OVFExporter._ParseGaneti
ganeti.ovf.OVFExporter.html#_ParseGaneti
Function
Method
PRIVATE
Parses Ganeti data from config file.
-
ganeti.ovf.OVFExporter._ParseNetworks
ganeti.ovf.OVFExporter.html#_ParseNetworks
Function
Method
PRIVATE
Parses network data from config file.
-
ganeti.ovf.OVFExporter._GetDiskOptions
ganeti.ovf.OVFExporter.html#_GetDiskOptions
Function
Method
PRIVATE
Convert the disk and gather disk info for .ovf file.
-
ganeti.ovf.OVFExporter._ParseDisks
ganeti.ovf.OVFExporter.html#_ParseDisks
Function
Method
PRIVATE
Parses disk data from config file.
-
ganeti.ovf.OVFExporter.Parse
ganeti.ovf.OVFExporter.html#Parse
Function
Method
PUBLIC
Parses the data and creates a structure containing all required info.
-
ganeti.ovf.OVFExporter.references_files
ganeti.ovf.OVFExporter.html#references_files
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.ovf.OVFExporter._PrepareManifest
ganeti.ovf.OVFExporter.html#_PrepareManifest
Function
Method
PRIVATE
Creates manifest for all the files in OVF package.
-
ganeti.ovf.OVFExporter._PrepareTarFile
ganeti.ovf.OVFExporter.html#_PrepareTarFile
Function
Static Method
PRIVATE
Creates tarfile from the files in OVF package.
-
ganeti.ovf.OVFExporter.Save
ganeti.ovf.OVFExporter.html#Save
Function
Method
PUBLIC
Saves the gathered configuration in an apropriate format.
-
ganeti.rapi.baserlib._DEFAULT
ganeti.rapi.baserlib.html#_DEFAULT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.baserlib._SUPPORTED_METHODS
ganeti.rapi.baserlib.html#_SUPPORTED_METHODS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes
ganeti.rapi.baserlib.OpcodeAttributes.html
Class
Class
PUBLIC
Acts as a structure containing the per-method attribute names.
-
ganeti.rapi.baserlib.OpcodeAttributes.__slots__
ganeti.rapi.baserlib.OpcodeAttributes.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.__init__
ganeti.rapi.baserlib.OpcodeAttributes.html#__init__
Function
Method
PUBLIC
Initializes the opcode attributes for the given method name.
-
ganeti.rapi.baserlib.OpcodeAttributes.method
ganeti.rapi.baserlib.OpcodeAttributes.html#method
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.opcode
ganeti.rapi.baserlib.OpcodeAttributes.html#opcode
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.rename
ganeti.rapi.baserlib.OpcodeAttributes.html#rename
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.aliases
ganeti.rapi.baserlib.OpcodeAttributes.html#aliases
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.forbidden
ganeti.rapi.baserlib.OpcodeAttributes.html#forbidden
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.get_input
ganeti.rapi.baserlib.OpcodeAttributes.html#get_input
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.OpcodeAttributes.GetModifiers
ganeti.rapi.baserlib.OpcodeAttributes.html#GetModifiers
Function
Method
PUBLIC
Returns the names of all the attributes that replace or modify a method.
-
ganeti.rapi.baserlib.OpcodeAttributes.GetAll
ganeti.rapi.baserlib.OpcodeAttributes.html#GetAll
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.baserlib._BuildOpcodeAttributes
ganeti.rapi.baserlib.html#_BuildOpcodeAttributes
Function
Function
PRIVATE
Builds list of attributes used for per-handler opcodes.
-
ganeti.rapi.baserlib.OPCODE_ATTRS
ganeti.rapi.baserlib.html#OPCODE_ATTRS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.BuildUriList
ganeti.rapi.baserlib.html#BuildUriList
Function
Function
PUBLIC
Builds a URI list as used by index resources.
-
ganeti.rapi.baserlib.MapFields
ganeti.rapi.baserlib.html#MapFields
Function
Function
PUBLIC
Maps two lists into one dictionary.
-
ganeti.rapi.baserlib.MapBulkFields
ganeti.rapi.baserlib.html#MapBulkFields
Function
Function
PUBLIC
Map value to field name in to one dictionary.
-
ganeti.rapi.baserlib.FillOpcode
ganeti.rapi.baserlib.html#FillOpcode
Function
Function
PUBLIC
Fills an opcode with body parameters.
-
ganeti.rapi.baserlib.HandleItemQueryErrors
ganeti.rapi.baserlib.html#HandleItemQueryErrors
Function
Function
PUBLIC
Converts errors when querying a single item.
-
ganeti.rapi.baserlib.FeedbackFn
ganeti.rapi.baserlib.html#FeedbackFn
Function
Function
PUBLIC
Feedback logging function for jobs.
-
ganeti.rapi.baserlib.CheckType
ganeti.rapi.baserlib.html#CheckType
Function
Function
PUBLIC
Abort request if value type doesn't match expected type.
-
ganeti.rapi.baserlib.CheckParameter
ganeti.rapi.baserlib.html#CheckParameter
Function
Function
PUBLIC
Check and return the value for a given parameter.
-
ganeti.rapi.baserlib.ResourceBase
ganeti.rapi.baserlib.ResourceBase.html
Class
Class
PUBLIC
Generic class for resources.
-
ganeti.rapi.baserlib.ResourceBase.GET_ACCESS
ganeti.rapi.baserlib.ResourceBase.html#GET_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase.PUT_ACCESS
ganeti.rapi.baserlib.ResourceBase.html#PUT_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase.POST_ACCESS
ganeti.rapi.baserlib.ResourceBase.html#POST_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase.DELETE_ACCESS
ganeti.rapi.baserlib.ResourceBase.html#DELETE_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase.__init__
ganeti.rapi.baserlib.ResourceBase.html#__init__
Function
Method
PUBLIC
Generic resource constructor.
-
ganeti.rapi.baserlib.ResourceBase.items
ganeti.rapi.baserlib.ResourceBase.html#items
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase.queryargs
ganeti.rapi.baserlib.ResourceBase.html#queryargs
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase._req
ganeti.rapi.baserlib.ResourceBase.html#_req
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.baserlib.ResourceBase._client_cls
ganeti.rapi.baserlib.ResourceBase.html#_client_cls
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.baserlib.ResourceBase._GetRequestBody
ganeti.rapi.baserlib.ResourceBase.html#_GetRequestBody
Function
Method
PRIVATE
Returns the body data.
-
ganeti.rapi.baserlib.ResourceBase.request_body
ganeti.rapi.baserlib.ResourceBase.html#request_body
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ResourceBase._checkIntVariable
ganeti.rapi.baserlib.ResourceBase.html#_checkIntVariable
Function
Method
PRIVATE
Return the parsed value of an int argument.
-
ganeti.rapi.baserlib.ResourceBase._checkStringVariable
ganeti.rapi.baserlib.ResourceBase.html#_checkStringVariable
Function
Method
PRIVATE
Return the parsed value of a string argument.
-
ganeti.rapi.baserlib.ResourceBase.getBodyParameter
ganeti.rapi.baserlib.ResourceBase.html#getBodyParameter
Function
Method
PUBLIC
Check and return the value for a given parameter.
-
ganeti.rapi.baserlib.ResourceBase.useLocking
ganeti.rapi.baserlib.ResourceBase.html#useLocking
Function
Method
PUBLIC
Check if the request specifies locking.
-
ganeti.rapi.baserlib.ResourceBase.useBulk
ganeti.rapi.baserlib.ResourceBase.html#useBulk
Function
Method
PUBLIC
Check if the request specifies bulk querying.
-
ganeti.rapi.baserlib.ResourceBase.useForce
ganeti.rapi.baserlib.ResourceBase.html#useForce
Function
Method
PUBLIC
Check if the request specifies a forced operation.
-
ganeti.rapi.baserlib.ResourceBase.dryRun
ganeti.rapi.baserlib.ResourceBase.html#dryRun
Function
Method
PUBLIC
Check if the request specifies dry-run mode.
-
ganeti.rapi.baserlib.ResourceBase.GetClient
ganeti.rapi.baserlib.ResourceBase.html#GetClient
Function
Method
PUBLIC
Wrapper for
luxi.Client with HTTP-specific error handling.
-
ganeti.rapi.baserlib.ResourceBase.SubmitJob
ganeti.rapi.baserlib.ResourceBase.html#SubmitJob
Function
Method
PUBLIC
Generic wrapper for submit job, for better http compatibility.
-
ganeti.rapi.baserlib.GetResourceOpcodes
ganeti.rapi.baserlib.html#GetResourceOpcodes
Function
Function
PUBLIC
Returns all opcodes used by a resource.
-
ganeti.rapi.baserlib.GetHandlerAccess
ganeti.rapi.baserlib.html#GetHandlerAccess
Function
Function
PUBLIC
Returns the access rights for a method on a handler.
-
ganeti.rapi.baserlib.GetHandler
ganeti.rapi.baserlib.html#GetHandler
Function
Function
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ALL_VALUES_FORBIDDEN
ganeti.rapi.baserlib.html#ALL_VALUES_FORBIDDEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.baserlib.ProduceForbiddenParamDict
ganeti.rapi.baserlib.html#ProduceForbiddenParamDict
Function
Function
PUBLIC
Turns a list of parameter names and possibly values into a dictionary.
-
ganeti.rapi.baserlib.InspectParams
ganeti.rapi.baserlib.html#InspectParams
Function
Function
PUBLIC
Inspects a dictionary of params, looking for forbidden values.
-
ganeti.rapi.baserlib._MetaOpcodeResource
ganeti.rapi.baserlib._MetaOpcodeResource.html
Class
Class
PRIVATE
Meta class for RAPI resources.
-
ganeti.rapi.baserlib._MetaOpcodeResource.__call__
ganeti.rapi.baserlib._MetaOpcodeResource.html#__call__
Function
Method
PUBLIC
Instantiates class and patches it for use by the RAPI daemon.
-
ganeti.rapi.baserlib.OpcodeResource
ganeti.rapi.baserlib.OpcodeResource.html
Class
Class
PUBLIC
Base class for opcode-based RAPI resources.
-
ganeti.rapi.baserlib.OpcodeResource.GET_OPCODE
ganeti.rapi.baserlib.OpcodeResource.html#GET_OPCODE
Attribute
Class Variable
PUBLIC
Set this to a class derived from
opcodes.OpCode to automatically generate a GET handler submitting the opcode
-
ganeti.rapi.baserlib.OpcodeResource.GET_RENAME
ganeti.rapi.baserlib.OpcodeResource.html#GET_RENAME
Attribute
Class Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.GET_FORBIDDEN
ganeti.rapi.baserlib.OpcodeResource.html#GET_FORBIDDEN
Attribute
Class Variable
PUBLIC
Set this to disable listed parameters and optionally specific values from being set through the GET handler (see
baserlib.InspectParams)
-
ganeti.rapi.baserlib.OpcodeResource.GET_ALIASES
ganeti.rapi.baserlib.OpcodeResource.html#GET_ALIASES
Attribute
Class Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.GetGetOpInput
ganeti.rapi.baserlib.OpcodeResource.html#GetGetOpInput
Attribute
Instance Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.PUT_OPCODE
ganeti.rapi.baserlib.OpcodeResource.html#PUT_OPCODE
Attribute
Class Variable
PUBLIC
Set this to a class derived from
opcodes.OpCode to automatically generate a PUT handler submitting the opcode
-
ganeti.rapi.baserlib.OpcodeResource.PUT_RENAME
ganeti.rapi.baserlib.OpcodeResource.html#PUT_RENAME
Attribute
Class Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.PUT_FORBIDDEN
ganeti.rapi.baserlib.OpcodeResource.html#PUT_FORBIDDEN
Attribute
Class Variable
PUBLIC
Set this to disable listed parameters and optionally specific values from being set through the PUT handler (see
baserlib.InspectParams)
-
ganeti.rapi.baserlib.OpcodeResource.GetPutOpInput
ganeti.rapi.baserlib.OpcodeResource.html#GetPutOpInput
Attribute
Instance Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.POST_OPCODE
ganeti.rapi.baserlib.OpcodeResource.html#POST_OPCODE
Attribute
Class Variable
PUBLIC
Set this to a class derived from
opcodes.OpCode to automatically generate a POST handler submitting the opcode
-
ganeti.rapi.baserlib.OpcodeResource.POST_RENAME
ganeti.rapi.baserlib.OpcodeResource.html#POST_RENAME
Attribute
Class Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.POST_FORBIDDEN
ganeti.rapi.baserlib.OpcodeResource.html#POST_FORBIDDEN
Attribute
Class Variable
PUBLIC
Set this to disable listed parameters and optionally specific values from being set through the POST handler (see
baserlib.InspectParams)
-
ganeti.rapi.baserlib.OpcodeResource.GetPostOpInput
ganeti.rapi.baserlib.OpcodeResource.html#GetPostOpInput
Attribute
Instance Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.DELETE_OPCODE
ganeti.rapi.baserlib.OpcodeResource.html#DELETE_OPCODE
Attribute
Class Variable
PUBLIC
Set this to a class derived from
opcodes.OpCode to automatically generate a DELETE handler submitting the opcode
-
ganeti.rapi.baserlib.OpcodeResource.DELETE_RENAME
ganeti.rapi.baserlib.OpcodeResource.html#DELETE_RENAME
Attribute
Class Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource.DELETE_FORBIDDEN
ganeti.rapi.baserlib.OpcodeResource.html#DELETE_FORBIDDEN
Attribute
Class Variable
PUBLIC
Set this to disable listed parameters and optionally specific values from being set through the DELETE handler (see
baserlib.InspectParams)
-
ganeti.rapi.baserlib.OpcodeResource.GetDeleteOpInput
ganeti.rapi.baserlib.OpcodeResource.html#GetDeleteOpInput
Attribute
Instance Variable
PUBLIC
-
ganeti.rapi.baserlib.OpcodeResource._ForbiddenHandler
ganeti.rapi.baserlib.OpcodeResource.html#_ForbiddenHandler
Function
Method
PRIVATE
Examines provided parameters for forbidden values.
-
ganeti.rapi.baserlib.OpcodeResource._GetDefaultData
ganeti.rapi.baserlib.OpcodeResource.html#_GetDefaultData
Function
Method
PRIVATE
Undocumented
-
ganeti.rapi.baserlib.OpcodeResource._GetRapiOpName
ganeti.rapi.baserlib.OpcodeResource.html#_GetRapiOpName
Function
Method
PRIVATE
Extracts the name of the RAPI operation from the class name
-
ganeti.rapi.baserlib.OpcodeResource._GetCommonStatic
ganeti.rapi.baserlib.OpcodeResource.html#_GetCommonStatic
Function
Method
PRIVATE
Return the static parameters common to all the RAPI calls
-
ganeti.rapi.baserlib.OpcodeResource._GetDepends
ganeti.rapi.baserlib.OpcodeResource.html#_GetDepends
Function
Method
PRIVATE
Undocumented
-
ganeti.rapi.baserlib.OpcodeResource._GenericHandler
ganeti.rapi.baserlib.OpcodeResource.html#_GenericHandler
Function
Method
PRIVATE
Undocumented
-
ganeti.rapi.client.GANETI_RAPI_PORT
ganeti.rapi.client.html#GANETI_RAPI_PORT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.GANETI_RAPI_VERSION
ganeti.rapi.client.html#GANETI_RAPI_VERSION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_DELETE
ganeti.rapi.client.html#HTTP_DELETE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_GET
ganeti.rapi.client.html#HTTP_GET
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_PUT
ganeti.rapi.client.html#HTTP_PUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_POST
ganeti.rapi.client.html#HTTP_POST
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_OK
ganeti.rapi.client.html#HTTP_OK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_NOT_FOUND
ganeti.rapi.client.html#HTTP_NOT_FOUND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.HTTP_APP_JSON
ganeti.rapi.client.html#HTTP_APP_JSON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.REPLACE_DISK_PRI
ganeti.rapi.client.html#REPLACE_DISK_PRI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.REPLACE_DISK_SECONDARY
ganeti.rapi.client.html#REPLACE_DISK_SECONDARY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.REPLACE_DISK_CHG
ganeti.rapi.client.html#REPLACE_DISK_CHG
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.REPLACE_DISK_AUTO
ganeti.rapi.client.html#REPLACE_DISK_AUTO
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_EVAC_PRI
ganeti.rapi.client.html#NODE_EVAC_PRI
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_EVAC_SEC
ganeti.rapi.client.html#NODE_EVAC_SEC
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_EVAC_ALL
ganeti.rapi.client.html#NODE_EVAC_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_ROLE_DRAINED
ganeti.rapi.client.html#NODE_ROLE_DRAINED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_ROLE_MASTER_CANDIDATE
ganeti.rapi.client.html#NODE_ROLE_MASTER_CANDIDATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_ROLE_MASTER
ganeti.rapi.client.html#NODE_ROLE_MASTER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_ROLE_OFFLINE
ganeti.rapi.client.html#NODE_ROLE_OFFLINE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_ROLE_REGULAR
ganeti.rapi.client.html#NODE_ROLE_REGULAR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_QUEUED
ganeti.rapi.client.html#JOB_STATUS_QUEUED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_WAITING
ganeti.rapi.client.html#JOB_STATUS_WAITING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_CANCELING
ganeti.rapi.client.html#JOB_STATUS_CANCELING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_RUNNING
ganeti.rapi.client.html#JOB_STATUS_RUNNING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_CANCELED
ganeti.rapi.client.html#JOB_STATUS_CANCELED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_SUCCESS
ganeti.rapi.client.html#JOB_STATUS_SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_ERROR
ganeti.rapi.client.html#JOB_STATUS_ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_PENDING
ganeti.rapi.client.html#JOB_STATUS_PENDING
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_FINALIZED
ganeti.rapi.client.html#JOB_STATUS_FINALIZED
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.JOB_STATUS_ALL
ganeti.rapi.client.html#JOB_STATUS_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client._REQ_DATA_VERSION_FIELD
ganeti.rapi.client.html#_REQ_DATA_VERSION_FIELD
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.client._QPARAM_DRY_RUN
ganeti.rapi.client.html#_QPARAM_DRY_RUN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.client._QPARAM_FORCE
ganeti.rapi.client.html#_QPARAM_FORCE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.client.INST_CREATE_REQV1
ganeti.rapi.client.html#INST_CREATE_REQV1
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.INST_REINSTALL_REQV1
ganeti.rapi.client.html#INST_REINSTALL_REQV1
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_MIGRATE_REQV1
ganeti.rapi.client.html#NODE_MIGRATE_REQV1
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.NODE_EVAC_RES1
ganeti.rapi.client.html#NODE_EVAC_RES1
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_RESOLVER
ganeti.rapi.client.html#ECODE_RESOLVER
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_NORES
ganeti.rapi.client.html#ECODE_NORES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_TEMP_NORES
ganeti.rapi.client.html#ECODE_TEMP_NORES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_INVAL
ganeti.rapi.client.html#ECODE_INVAL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_STATE
ganeti.rapi.client.html#ECODE_STATE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_NOENT
ganeti.rapi.client.html#ECODE_NOENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_EXISTS
ganeti.rapi.client.html#ECODE_EXISTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_NOTUNIQUE
ganeti.rapi.client.html#ECODE_NOTUNIQUE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_FAULT
ganeti.rapi.client.html#ECODE_FAULT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_ENVIRON
ganeti.rapi.client.html#ECODE_ENVIRON
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.ECODE_ALL
ganeti.rapi.client.html#ECODE_ALL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client._CURL_SSL_CERT_ERRORS
ganeti.rapi.client.html#_CURL_SSL_CERT_ERRORS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.client.Error
ganeti.rapi.client.Error.html
Class
Exception
PUBLIC
Base error class for this module.
-
ganeti.rapi.client.GanetiApiError
ganeti.rapi.client.GanetiApiError.html
Class
Exception
PUBLIC
Generic error raised from Ganeti API.
-
ganeti.rapi.client.GanetiApiError.__init__
ganeti.rapi.client.GanetiApiError.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.client.GanetiApiError.code
ganeti.rapi.client.GanetiApiError.html#code
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.client.CertificateError
ganeti.rapi.client.CertificateError.html
Class
Exception
PUBLIC
Raised when a problem is found with the SSL certificate.
-
ganeti.rapi.client.EpochNano
ganeti.rapi.client.html#EpochNano
Function
Function
PUBLIC
Return the current timestamp expressed as number of nanoseconds since the unix epoch
-
ganeti.rapi.client._AppendIf
ganeti.rapi.client.html#_AppendIf
Function
Function
PRIVATE
Appends to a list if a condition evaluates to truth.
-
ganeti.rapi.client._AppendDryRunIf
ganeti.rapi.client.html#_AppendDryRunIf
Function
Function
PRIVATE
Appends a "dry-run" parameter if a condition evaluates to truth.
-
ganeti.rapi.client._AppendForceIf
ganeti.rapi.client.html#_AppendForceIf
Function
Function
PRIVATE
Appends a "force" parameter if a condition evaluates to truth.
-
ganeti.rapi.client._AppendReason
ganeti.rapi.client.html#_AppendReason
Function
Function
PRIVATE
Appends an element to the reason trail.
-
ganeti.rapi.client._SetItemIf
ganeti.rapi.client.html#_SetItemIf
Function
Function
PRIVATE
Sets an item if a condition evaluates to truth.
-
ganeti.rapi.client.UsesRapiClient
ganeti.rapi.client.html#UsesRapiClient
Function
Function
PUBLIC
Decorator for code using RAPI client to initialize pycURL.
-
ganeti.rapi.client.GenericCurlConfig
ganeti.rapi.client.html#GenericCurlConfig
Function
Function
PUBLIC
Curl configuration function generator.
-
ganeti.rapi.client._CompatIO
ganeti.rapi.client._CompatIO.html
Class
Class
PRIVATE
Stream that lazy-allocates its buffer based on the first write's type
-
ganeti.rapi.client._CompatIO.__init__
ganeti.rapi.client._CompatIO.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.client._CompatIO.buffer
ganeti.rapi.client._CompatIO.html#buffer
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.client._CompatIO.write
ganeti.rapi.client._CompatIO.html#write
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.client._CompatIO.read
ganeti.rapi.client._CompatIO.html#read
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.client._CompatIO.tell
ganeti.rapi.client._CompatIO.html#tell
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.client._CompatIO.seek
ganeti.rapi.client._CompatIO.html#seek
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.client.GanetiRapiClient
ganeti.rapi.client.GanetiRapiClient.html
Class
Class
PUBLIC
Ganeti RAPI client.
-
ganeti.rapi.client.GanetiRapiClient.USER_AGENT
ganeti.rapi.client.GanetiRapiClient.html#USER_AGENT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._json_encoder
ganeti.rapi.client.GanetiRapiClient.html#_json_encoder
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient.__init__
ganeti.rapi.client.GanetiRapiClient.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rapi.client.GanetiRapiClient._username
ganeti.rapi.client.GanetiRapiClient.html#_username
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._password
ganeti.rapi.client.GanetiRapiClient.html#_password
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._logger
ganeti.rapi.client.GanetiRapiClient.html#_logger
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._curl_config_fn
ganeti.rapi.client.GanetiRapiClient.html#_curl_config_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._curl_factory
ganeti.rapi.client.GanetiRapiClient.html#_curl_factory
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._base_url
ganeti.rapi.client.GanetiRapiClient.html#_base_url
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.client.GanetiRapiClient._CreateCurl
ganeti.rapi.client.GanetiRapiClient.html#_CreateCurl
Function
Method
PRIVATE
Creates a cURL object.
-
ganeti.rapi.client.GanetiRapiClient._EncodeQuery
ganeti.rapi.client.GanetiRapiClient.html#_EncodeQuery
Function
Static Method
PRIVATE
Encode query values for RAPI URL.
-
ganeti.rapi.client.GanetiRapiClient._SendRequest
ganeti.rapi.client.GanetiRapiClient.html#_SendRequest
Function
Method
PRIVATE
Sends an HTTP request.
-
ganeti.rapi.client.GanetiRapiClient.GetVersion
ganeti.rapi.client.GanetiRapiClient.html#GetVersion
Function
Method
PUBLIC
Gets the Remote API version running on the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetFeatures
ganeti.rapi.client.GanetiRapiClient.html#GetFeatures
Function
Method
PUBLIC
Gets the list of optional features supported by RAPI server.
-
ganeti.rapi.client.GanetiRapiClient.GetOperatingSystems
ganeti.rapi.client.GanetiRapiClient.html#GetOperatingSystems
Function
Method
PUBLIC
Gets the Operating Systems running in the Ganeti cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetInfo
ganeti.rapi.client.GanetiRapiClient.html#GetInfo
Function
Method
PUBLIC
Gets info about the cluster.
-
ganeti.rapi.client.GanetiRapiClient.RedistributeConfig
ganeti.rapi.client.GanetiRapiClient.html#RedistributeConfig
Function
Method
PUBLIC
Tells the cluster to redistribute its configuration files.
-
ganeti.rapi.client.GanetiRapiClient.ModifyCluster
ganeti.rapi.client.GanetiRapiClient.html#ModifyCluster
Function
Method
PUBLIC
Modifies cluster parameters.
-
ganeti.rapi.client.GanetiRapiClient.GetClusterTags
ganeti.rapi.client.GanetiRapiClient.html#GetClusterTags
Function
Method
PUBLIC
Gets the cluster tags.
-
ganeti.rapi.client.GanetiRapiClient.AddClusterTags
ganeti.rapi.client.GanetiRapiClient.html#AddClusterTags
Function
Method
PUBLIC
Adds tags to the cluster.
-
ganeti.rapi.client.GanetiRapiClient.DeleteClusterTags
ganeti.rapi.client.GanetiRapiClient.html#DeleteClusterTags
Function
Method
PUBLIC
Deletes tags from the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetInstances
ganeti.rapi.client.GanetiRapiClient.html#GetInstances
Function
Method
PUBLIC
Gets information about instances on the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetInstance
ganeti.rapi.client.GanetiRapiClient.html#GetInstance
Function
Method
PUBLIC
Gets information about an instance.
-
ganeti.rapi.client.GanetiRapiClient.GetInstanceInfo
ganeti.rapi.client.GanetiRapiClient.html#GetInstanceInfo
Function
Method
PUBLIC
Gets information about an instance.
-
ganeti.rapi.client.GanetiRapiClient._UpdateWithKwargs
ganeti.rapi.client.GanetiRapiClient.html#_UpdateWithKwargs
Function
Static Method
PRIVATE
Updates the base with params from kwargs.
-
ganeti.rapi.client.GanetiRapiClient.InstanceAllocation
ganeti.rapi.client.GanetiRapiClient.html#InstanceAllocation
Function
Method
PUBLIC
Generates an instance allocation as used by multiallocate.
-
ganeti.rapi.client.GanetiRapiClient.InstancesMultiAlloc
ganeti.rapi.client.GanetiRapiClient.html#InstancesMultiAlloc
Function
Method
PUBLIC
Tries to allocate multiple instances.
-
ganeti.rapi.client.GanetiRapiClient.CreateInstance
ganeti.rapi.client.GanetiRapiClient.html#CreateInstance
Function
Method
PUBLIC
Creates a new instance.
-
ganeti.rapi.client.GanetiRapiClient.DeleteInstance
ganeti.rapi.client.GanetiRapiClient.html#DeleteInstance
Function
Method
PUBLIC
Deletes an instance.
-
ganeti.rapi.client.GanetiRapiClient.ModifyInstance
ganeti.rapi.client.GanetiRapiClient.html#ModifyInstance
Function
Method
PUBLIC
Modifies an instance.
-
ganeti.rapi.client.GanetiRapiClient.ActivateInstanceDisks
ganeti.rapi.client.GanetiRapiClient.html#ActivateInstanceDisks
Function
Method
PUBLIC
Activates an instance's disks.
-
ganeti.rapi.client.GanetiRapiClient.DeactivateInstanceDisks
ganeti.rapi.client.GanetiRapiClient.html#DeactivateInstanceDisks
Function
Method
PUBLIC
Deactivates an instance's disks.
-
ganeti.rapi.client.GanetiRapiClient.RecreateInstanceDisks
ganeti.rapi.client.GanetiRapiClient.html#RecreateInstanceDisks
Function
Method
PUBLIC
Recreate an instance's disks.
-
ganeti.rapi.client.GanetiRapiClient.GrowInstanceDisk
ganeti.rapi.client.GanetiRapiClient.html#GrowInstanceDisk
Function
Method
PUBLIC
Grows a disk of an instance.
-
ganeti.rapi.client.GanetiRapiClient.GetInstanceTags
ganeti.rapi.client.GanetiRapiClient.html#GetInstanceTags
Function
Method
PUBLIC
Gets tags for an instance.
-
ganeti.rapi.client.GanetiRapiClient.AddInstanceTags
ganeti.rapi.client.GanetiRapiClient.html#AddInstanceTags
Function
Method
PUBLIC
Adds tags to an instance.
-
ganeti.rapi.client.GanetiRapiClient.DeleteInstanceTags
ganeti.rapi.client.GanetiRapiClient.html#DeleteInstanceTags
Function
Method
PUBLIC
Deletes tags from an instance.
-
ganeti.rapi.client.GanetiRapiClient.RebootInstance
ganeti.rapi.client.GanetiRapiClient.html#RebootInstance
Function
Method
PUBLIC
Reboots an instance.
-
ganeti.rapi.client.GanetiRapiClient.ShutdownInstance
ganeti.rapi.client.GanetiRapiClient.html#ShutdownInstance
Function
Method
PUBLIC
Shuts down an instance.
-
ganeti.rapi.client.GanetiRapiClient.StartupInstance
ganeti.rapi.client.GanetiRapiClient.html#StartupInstance
Function
Method
PUBLIC
Starts up an instance.
-
ganeti.rapi.client.GanetiRapiClient.ReinstallInstance
ganeti.rapi.client.GanetiRapiClient.html#ReinstallInstance
Function
Method
PUBLIC
Reinstalls an instance.
-
ganeti.rapi.client.GanetiRapiClient.ReplaceInstanceDisks
ganeti.rapi.client.GanetiRapiClient.html#ReplaceInstanceDisks
Function
Method
PUBLIC
Replaces disks on an instance.
-
ganeti.rapi.client.GanetiRapiClient.PrepareExport
ganeti.rapi.client.GanetiRapiClient.html#PrepareExport
Function
Method
PUBLIC
Prepares an instance for an export.
-
ganeti.rapi.client.GanetiRapiClient.ExportInstance
ganeti.rapi.client.GanetiRapiClient.html#ExportInstance
Function
Method
PUBLIC
Exports an instance.
-
ganeti.rapi.client.GanetiRapiClient.MigrateInstance
ganeti.rapi.client.GanetiRapiClient.html#MigrateInstance
Function
Method
PUBLIC
Migrates an instance.
-
ganeti.rapi.client.GanetiRapiClient.FailoverInstance
ganeti.rapi.client.GanetiRapiClient.html#FailoverInstance
Function
Method
PUBLIC
Does a failover of an instance.
-
ganeti.rapi.client.GanetiRapiClient.RenameInstance
ganeti.rapi.client.GanetiRapiClient.html#RenameInstance
Function
Method
PUBLIC
Changes the name of an instance.
-
ganeti.rapi.client.GanetiRapiClient.GetInstanceConsole
ganeti.rapi.client.GanetiRapiClient.html#GetInstanceConsole
Function
Method
PUBLIC
Request information for connecting to instance's console.
-
ganeti.rapi.client.GanetiRapiClient.GetJobs
ganeti.rapi.client.GanetiRapiClient.html#GetJobs
Function
Method
PUBLIC
Gets all jobs for the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetJobStatus
ganeti.rapi.client.GanetiRapiClient.html#GetJobStatus
Function
Method
PUBLIC
Gets the status of a job.
-
ganeti.rapi.client.GanetiRapiClient.WaitForJobCompletion
ganeti.rapi.client.GanetiRapiClient.html#WaitForJobCompletion
Function
Method
PUBLIC
Polls cluster for job status until completion.
-
ganeti.rapi.client.GanetiRapiClient.WaitForJobChange
ganeti.rapi.client.GanetiRapiClient.html#WaitForJobChange
Function
Method
PUBLIC
Waits for job changes.
-
ganeti.rapi.client.GanetiRapiClient.CancelJob
ganeti.rapi.client.GanetiRapiClient.html#CancelJob
Function
Method
PUBLIC
Cancels a job.
-
ganeti.rapi.client.GanetiRapiClient.GetNodes
ganeti.rapi.client.GanetiRapiClient.html#GetNodes
Function
Method
PUBLIC
Gets all nodes in the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetNode
ganeti.rapi.client.GanetiRapiClient.html#GetNode
Function
Method
PUBLIC
Gets information about a node.
-
ganeti.rapi.client.GanetiRapiClient.EvacuateNode
ganeti.rapi.client.GanetiRapiClient.html#EvacuateNode
Function
Method
PUBLIC
Evacuates instances from a Ganeti node.
-
ganeti.rapi.client.GanetiRapiClient.MigrateNode
ganeti.rapi.client.GanetiRapiClient.html#MigrateNode
Function
Method
PUBLIC
Migrates all primary instances from a node.
-
ganeti.rapi.client.GanetiRapiClient.GetNodeRole
ganeti.rapi.client.GanetiRapiClient.html#GetNodeRole
Function
Method
PUBLIC
Gets the current role for a node.
-
ganeti.rapi.client.GanetiRapiClient.SetNodeRole
ganeti.rapi.client.GanetiRapiClient.html#SetNodeRole
Function
Method
PUBLIC
Sets the role for a node.
-
ganeti.rapi.client.GanetiRapiClient.PowercycleNode
ganeti.rapi.client.GanetiRapiClient.html#PowercycleNode
Function
Method
PUBLIC
Powercycles a node.
-
ganeti.rapi.client.GanetiRapiClient.ModifyNode
ganeti.rapi.client.GanetiRapiClient.html#ModifyNode
Function
Method
PUBLIC
Modifies a node.
-
ganeti.rapi.client.GanetiRapiClient.GetNodeStorageUnits
ganeti.rapi.client.GanetiRapiClient.html#GetNodeStorageUnits
Function
Method
PUBLIC
Gets the storage units for a node.
-
ganeti.rapi.client.GanetiRapiClient.ModifyNodeStorageUnits
ganeti.rapi.client.GanetiRapiClient.html#ModifyNodeStorageUnits
Function
Method
PUBLIC
Modifies parameters of storage units on the node.
-
ganeti.rapi.client.GanetiRapiClient.RepairNodeStorageUnits
ganeti.rapi.client.GanetiRapiClient.html#RepairNodeStorageUnits
Function
Method
PUBLIC
Repairs a storage unit on the node.
-
ganeti.rapi.client.GanetiRapiClient.GetNodeTags
ganeti.rapi.client.GanetiRapiClient.html#GetNodeTags
Function
Method
PUBLIC
Gets the tags for a node.
-
ganeti.rapi.client.GanetiRapiClient.AddNodeTags
ganeti.rapi.client.GanetiRapiClient.html#AddNodeTags
Function
Method
PUBLIC
Adds tags to a node.
-
ganeti.rapi.client.GanetiRapiClient.DeleteNodeTags
ganeti.rapi.client.GanetiRapiClient.html#DeleteNodeTags
Function
Method
PUBLIC
Delete tags from a node.
-
ganeti.rapi.client.GanetiRapiClient.GetNetworks
ganeti.rapi.client.GanetiRapiClient.html#GetNetworks
Function
Method
PUBLIC
Gets all networks in the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetNetwork
ganeti.rapi.client.GanetiRapiClient.html#GetNetwork
Function
Method
PUBLIC
Gets information about a network.
-
ganeti.rapi.client.GanetiRapiClient.CreateNetwork
ganeti.rapi.client.GanetiRapiClient.html#CreateNetwork
Function
Method
PUBLIC
Creates a new network.
-
ganeti.rapi.client.GanetiRapiClient.ConnectNetwork
ganeti.rapi.client.GanetiRapiClient.html#ConnectNetwork
Function
Method
PUBLIC
Connects a Network to a NodeGroup with the given netparams
-
ganeti.rapi.client.GanetiRapiClient.DisconnectNetwork
ganeti.rapi.client.GanetiRapiClient.html#DisconnectNetwork
Function
Method
PUBLIC
Connects a Network to a NodeGroup with the given netparams
-
ganeti.rapi.client.GanetiRapiClient.ModifyNetwork
ganeti.rapi.client.GanetiRapiClient.html#ModifyNetwork
Function
Method
PUBLIC
Modifies a network.
-
ganeti.rapi.client.GanetiRapiClient.DeleteNetwork
ganeti.rapi.client.GanetiRapiClient.html#DeleteNetwork
Function
Method
PUBLIC
Deletes a network.
-
ganeti.rapi.client.GanetiRapiClient.RenameNetwork
ganeti.rapi.client.GanetiRapiClient.html#RenameNetwork
Function
Method
PUBLIC
Changes the name of a network.
-
ganeti.rapi.client.GanetiRapiClient.GetNetworkTags
ganeti.rapi.client.GanetiRapiClient.html#GetNetworkTags
Function
Method
PUBLIC
Gets tags for a network.
-
ganeti.rapi.client.GanetiRapiClient.AddNetworkTags
ganeti.rapi.client.GanetiRapiClient.html#AddNetworkTags
Function
Method
PUBLIC
Adds tags to a network.
-
ganeti.rapi.client.GanetiRapiClient.DeleteNetworkTags
ganeti.rapi.client.GanetiRapiClient.html#DeleteNetworkTags
Function
Method
PUBLIC
Deletes tags from a network.
-
ganeti.rapi.client.GanetiRapiClient.GetGroups
ganeti.rapi.client.GanetiRapiClient.html#GetGroups
Function
Method
PUBLIC
Gets all node groups in the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetGroup
ganeti.rapi.client.GanetiRapiClient.html#GetGroup
Function
Method
PUBLIC
Gets information about a node group.
-
ganeti.rapi.client.GanetiRapiClient.CreateGroup
ganeti.rapi.client.GanetiRapiClient.html#CreateGroup
Function
Method
PUBLIC
Creates a new node group.
-
ganeti.rapi.client.GanetiRapiClient.ModifyGroup
ganeti.rapi.client.GanetiRapiClient.html#ModifyGroup
Function
Method
PUBLIC
Modifies a node group.
-
ganeti.rapi.client.GanetiRapiClient.DeleteGroup
ganeti.rapi.client.GanetiRapiClient.html#DeleteGroup
Function
Method
PUBLIC
Deletes a node group.
-
ganeti.rapi.client.GanetiRapiClient.RenameGroup
ganeti.rapi.client.GanetiRapiClient.html#RenameGroup
Function
Method
PUBLIC
Changes the name of a node group.
-
ganeti.rapi.client.GanetiRapiClient.AssignGroupNodes
ganeti.rapi.client.GanetiRapiClient.html#AssignGroupNodes
Function
Method
PUBLIC
Assigns nodes to a group.
-
ganeti.rapi.client.GanetiRapiClient.GetGroupTags
ganeti.rapi.client.GanetiRapiClient.html#GetGroupTags
Function
Method
PUBLIC
Gets tags for a node group.
-
ganeti.rapi.client.GanetiRapiClient.AddGroupTags
ganeti.rapi.client.GanetiRapiClient.html#AddGroupTags
Function
Method
PUBLIC
Adds tags to a node group.
-
ganeti.rapi.client.GanetiRapiClient.DeleteGroupTags
ganeti.rapi.client.GanetiRapiClient.html#DeleteGroupTags
Function
Method
PUBLIC
Deletes tags from a node group.
-
ganeti.rapi.client.GanetiRapiClient.Query
ganeti.rapi.client.GanetiRapiClient.html#Query
Function
Method
PUBLIC
Retrieves information about resources.
-
ganeti.rapi.client.GanetiRapiClient.QueryFields
ganeti.rapi.client.GanetiRapiClient.html#QueryFields
Function
Method
PUBLIC
Retrieves available fields for a resource.
-
ganeti.rapi.client.GanetiRapiClient.GetFilters
ganeti.rapi.client.GanetiRapiClient.html#GetFilters
Function
Method
PUBLIC
Gets all filter rules in the cluster.
-
ganeti.rapi.client.GanetiRapiClient.GetFilter
ganeti.rapi.client.GanetiRapiClient.html#GetFilter
Function
Method
PUBLIC
Gets information about a filter rule.
-
ganeti.rapi.client.GanetiRapiClient.AddFilter
ganeti.rapi.client.GanetiRapiClient.html#AddFilter
Function
Method
PUBLIC
Adds a filter rule
-
ganeti.rapi.client.GanetiRapiClient.ReplaceFilter
ganeti.rapi.client.GanetiRapiClient.html#ReplaceFilter
Function
Method
PUBLIC
Replaces a filter rule, or creates one if it doesn't already exist
-
ganeti.rapi.client.GanetiRapiClient.DeleteFilter
ganeti.rapi.client.GanetiRapiClient.html#DeleteFilter
Function
Method
PUBLIC
Deletes a filter rule
-
ganeti.rapi.client_utils.HTTP_NOT_FOUND
ganeti.rapi.client_utils.html#HTTP_NOT_FOUND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.client_utils.RapiJobPollCb
ganeti.rapi.client_utils.RapiJobPollCb.html
Class
Class
PUBLIC
No class docstring; 0/1 instance variable, 4/4 methods documented
-
ganeti.rapi.client_utils.RapiJobPollCb.__init__
ganeti.rapi.client_utils.RapiJobPollCb.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rapi.client_utils.RapiJobPollCb.cl
ganeti.rapi.client_utils.RapiJobPollCb.html#cl
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.client_utils.RapiJobPollCb.WaitForJobChangeOnce
ganeti.rapi.client_utils.RapiJobPollCb.html#WaitForJobChangeOnce
Function
Method
PUBLIC
Waits for changes on a job.
-
ganeti.rapi.client_utils.RapiJobPollCb.QueryJobs
ganeti.rapi.client_utils.RapiJobPollCb.html#QueryJobs
Function
Method
PUBLIC
Returns the given fields for the selected job IDs.
-
ganeti.rapi.client_utils.RapiJobPollCb.CancelJob
ganeti.rapi.client_utils.RapiJobPollCb.html#CancelJob
Function
Method
PUBLIC
Cancels a currently running job.
-
ganeti.rapi.client_utils.PollJob
ganeti.rapi.client_utils.html#PollJob
Function
Function
PUBLIC
Function to poll for the result of a job.
-
ganeti.rapi.rlib2._COMMON_FIELDS
ganeti.rapi.rlib2.html#_COMMON_FIELDS
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2.I_FIELDS
ganeti.rapi.rlib2.html#I_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.N_FIELDS
ganeti.rapi.rlib2.html#N_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.NET_FIELDS
ganeti.rapi.rlib2.html#NET_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.G_FIELDS
ganeti.rapi.rlib2.html#G_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.FILTER_RULE_FIELDS
ganeti.rapi.rlib2.html#FILTER_RULE_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.J_FIELDS_BULK
ganeti.rapi.rlib2.html#J_FIELDS_BULK
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.J_FIELDS
ganeti.rapi.rlib2.html#J_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2._NR_DRAINED
ganeti.rapi.rlib2.html#_NR_DRAINED
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NR_MASTER_CANDIDATE
ganeti.rapi.rlib2.html#_NR_MASTER_CANDIDATE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NR_MASTER
ganeti.rapi.rlib2.html#_NR_MASTER
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NR_OFFLINE
ganeti.rapi.rlib2.html#_NR_OFFLINE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NR_REGULAR
ganeti.rapi.rlib2.html#_NR_REGULAR
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NR_MAP
ganeti.rapi.rlib2.html#_NR_MAP
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._REQ_DATA_VERSION
ganeti.rapi.rlib2.html#_REQ_DATA_VERSION
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._INST_CREATE_REQV1
ganeti.rapi.rlib2.html#_INST_CREATE_REQV1
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._INST_REINSTALL_REQV1
ganeti.rapi.rlib2.html#_INST_REINSTALL_REQV1
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NODE_MIGRATE_REQV1
ganeti.rapi.rlib2.html#_NODE_MIGRATE_REQV1
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._NODE_EVAC_RES1
ganeti.rapi.rlib2.html#_NODE_EVAC_RES1
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2.ALL_FEATURES
ganeti.rapi.rlib2.html#ALL_FEATURES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2._WFJC_TIMEOUT
ganeti.rapi.rlib2.html#_WFJC_TIMEOUT
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.rlib2._UpdateBeparams
ganeti.rapi.rlib2.html#_UpdateBeparams
Function
Function
PRIVATE
Updates the beparams dict of inst to support the memory field.
-
ganeti.rapi.rlib2._CheckIfConnectionDropped
ganeti.rapi.rlib2.html#_CheckIfConnectionDropped
Function
Function
PRIVATE
Utility function to monitor the state of an open connection.
-
ganeti.rapi.rlib2.R_root
ganeti.rapi.rlib2.R_root.html
Class
Class
PUBLIC
/ resource.
-
ganeti.rapi.rlib2.R_root.GET
ganeti.rapi.rlib2.R_root.html#GET
Function
Static Method
PUBLIC
Supported for legacy reasons.
-
ganeti.rapi.rlib2.R_2
ganeti.rapi.rlib2.R_2.html
Class
Class
PUBLIC
/2 resource.
-
ganeti.rapi.rlib2.R_version
ganeti.rapi.rlib2.R_version.html
Class
Class
PUBLIC
/version resource.
-
ganeti.rapi.rlib2.R_version.GET
ganeti.rapi.rlib2.R_version.html#GET
Function
Static Method
PUBLIC
Returns the remote API version.
-
ganeti.rapi.rlib2.R_2_info
ganeti.rapi.rlib2.R_2_info.html
Class
Class
PUBLIC
/2/info resource.
-
ganeti.rapi.rlib2.R_2_info.GET_ALIASES
ganeti.rapi.rlib2.R_2_info.html#GET_ALIASES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_info.GET
ganeti.rapi.rlib2.R_2_info.html#GET
Function
Method
PUBLIC
Returns cluster information.
-
ganeti.rapi.rlib2.R_2_features
ganeti.rapi.rlib2.R_2_features.html
Class
Class
PUBLIC
/2/features resource.
-
ganeti.rapi.rlib2.R_2_features.GET
ganeti.rapi.rlib2.R_2_features.html#GET
Function
Static Method
PUBLIC
Returns list of optional RAPI features implemented.
-
ganeti.rapi.rlib2.R_2_os
ganeti.rapi.rlib2.R_2_os.html
Class
Class
PUBLIC
/2/os resource.
-
ganeti.rapi.rlib2.R_2_os.GET
ganeti.rapi.rlib2.R_2_os.html#GET
Function
Method
PUBLIC
Return a list of all OSes.
-
ganeti.rapi.rlib2.R_2_redist_config
ganeti.rapi.rlib2.R_2_redist_config.html
Class
Class
PUBLIC
/2/redistribute-config resource.
-
ganeti.rapi.rlib2.R_2_cluster_modify
ganeti.rapi.rlib2.R_2_cluster_modify.html
Class
Class
PUBLIC
/2/modify resource.
-
ganeti.rapi.rlib2.R_2_cluster_modify.PUT_FORBIDDEN
ganeti.rapi.rlib2.R_2_cluster_modify.html#PUT_FORBIDDEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.checkFilterParameters
ganeti.rapi.rlib2.html#checkFilterParameters
Function
Function
PUBLIC
Checks and extracts filter rule parameters from a request body.
-
ganeti.rapi.rlib2.R_2_filters
ganeti.rapi.rlib2.R_2_filters.html
Class
Class
PUBLIC
/2/filters resource.
-
ganeti.rapi.rlib2.R_2_filters.GET
ganeti.rapi.rlib2.R_2_filters.html#GET
Function
Method
PUBLIC
Returns a list of all filter rules.
-
ganeti.rapi.rlib2.R_2_filters.POST
ganeti.rapi.rlib2.R_2_filters.html#POST
Function
Method
PUBLIC
Adds a filter rule.
-
ganeti.rapi.rlib2.R_2_filters_uuid
ganeti.rapi.rlib2.R_2_filters_uuid.html
Class
Class
PUBLIC
/2/filters/[filter_uuid] resource.
-
ganeti.rapi.rlib2.R_2_filters_uuid.GET
ganeti.rapi.rlib2.R_2_filters_uuid.html#GET
Function
Method
PUBLIC
Returns a filter rule.
-
ganeti.rapi.rlib2.R_2_filters_uuid.PUT
ganeti.rapi.rlib2.R_2_filters_uuid.html#PUT
Function
Method
PUBLIC
Replaces an existing filter rule, or creates one if it doesn't exist already.
-
ganeti.rapi.rlib2.R_2_filters_uuid.DELETE
ganeti.rapi.rlib2.R_2_filters_uuid.html#DELETE
Function
Method
PUBLIC
Deletes a filter rule.
-
ganeti.rapi.rlib2.R_2_jobs
ganeti.rapi.rlib2.R_2_jobs.html
Class
Class
PUBLIC
/2/jobs resource.
-
ganeti.rapi.rlib2.R_2_jobs.GET
ganeti.rapi.rlib2.R_2_jobs.html#GET
Function
Method
PUBLIC
Returns a dictionary of jobs.
-
ganeti.rapi.rlib2.R_2_jobs_id
ganeti.rapi.rlib2.R_2_jobs_id.html
Class
Class
PUBLIC
/2/jobs/[job_id] resource.
-
ganeti.rapi.rlib2.R_2_jobs_id.GET
ganeti.rapi.rlib2.R_2_jobs_id.html#GET
Function
Method
PUBLIC
Returns a job status.
-
ganeti.rapi.rlib2.R_2_jobs_id.DELETE
ganeti.rapi.rlib2.R_2_jobs_id.html#DELETE
Function
Method
PUBLIC
Cancel not-yet-started job.
-
ganeti.rapi.rlib2.R_2_jobs_id_wait
ganeti.rapi.rlib2.R_2_jobs_id_wait.html
Class
Class
PUBLIC
/2/jobs/[job_id]/wait resource.
-
ganeti.rapi.rlib2.R_2_jobs_id_wait.GET_ACCESS
ganeti.rapi.rlib2.R_2_jobs_id_wait.html#GET_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_jobs_id_wait.GET
ganeti.rapi.rlib2.R_2_jobs_id_wait.html#GET
Function
Method
PUBLIC
Waits for job changes.
-
ganeti.rapi.rlib2.R_2_nodes
ganeti.rapi.rlib2.R_2_nodes.html
Class
Class
PUBLIC
/2/nodes resource.
-
ganeti.rapi.rlib2.R_2_nodes.GET
ganeti.rapi.rlib2.R_2_nodes.html#GET
Function
Method
PUBLIC
Returns a list of all nodes.
-
ganeti.rapi.rlib2.R_2_nodes_name
ganeti.rapi.rlib2.R_2_nodes_name.html
Class
Class
PUBLIC
/2/nodes/[node_name] resource.
-
ganeti.rapi.rlib2.R_2_nodes_name.GET_ALIASES
ganeti.rapi.rlib2.R_2_nodes_name.html#GET_ALIASES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_nodes_name.GET
ganeti.rapi.rlib2.R_2_nodes_name.html#GET
Function
Method
PUBLIC
Send information about a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_powercycle
ganeti.rapi.rlib2.R_2_nodes_name_powercycle.html
Class
Class
PUBLIC
/2/nodes/[node_name]/powercycle resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_powercycle.GetPostOpInput
ganeti.rapi.rlib2.R_2_nodes_name_powercycle.html#GetPostOpInput
Function
Method
PUBLIC
Tries to powercycle a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_role
ganeti.rapi.rlib2.R_2_nodes_name_role.html
Class
Class
PUBLIC
/2/nodes/[node_name]/role resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_role.GET
ganeti.rapi.rlib2.R_2_nodes_name_role.html#GET
Function
Method
PUBLIC
Returns the current node role.
-
ganeti.rapi.rlib2.R_2_nodes_name_role.GetPutOpInput
ganeti.rapi.rlib2.R_2_nodes_name_role.html#GetPutOpInput
Function
Method
PUBLIC
Sets the node role.
-
ganeti.rapi.rlib2.R_2_nodes_name_evacuate
ganeti.rapi.rlib2.R_2_nodes_name_evacuate.html
Class
Class
PUBLIC
/2/nodes/[node_name]/evacuate resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_evacuate.GetPostOpInput
ganeti.rapi.rlib2.R_2_nodes_name_evacuate.html#GetPostOpInput
Function
Method
PUBLIC
Evacuate all instances off a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_migrate
ganeti.rapi.rlib2.R_2_nodes_name_migrate.html
Class
Class
PUBLIC
/2/nodes/[node_name]/migrate resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_migrate.GetPostOpInput
ganeti.rapi.rlib2.R_2_nodes_name_migrate.html#GetPostOpInput
Function
Method
PUBLIC
Migrate all primary instances from a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_modify
ganeti.rapi.rlib2.R_2_nodes_name_modify.html
Class
Class
PUBLIC
/2/nodes/[node_name]/modify resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_modify.GetPostOpInput
ganeti.rapi.rlib2.R_2_nodes_name_modify.html#GetPostOpInput
Function
Method
PUBLIC
Changes parameters of a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_storage
ganeti.rapi.rlib2.R_2_nodes_name_storage.html
Class
Class
PUBLIC
/2/nodes/[node_name]/storage resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_storage.GET_ACCESS
ganeti.rapi.rlib2.R_2_nodes_name_storage.html#GET_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_nodes_name_storage.GetGetOpInput
ganeti.rapi.rlib2.R_2_nodes_name_storage.html#GetGetOpInput
Function
Method
PUBLIC
List storage available on a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_storage_modify
ganeti.rapi.rlib2.R_2_nodes_name_storage_modify.html
Class
Class
PUBLIC
/2/nodes/[node_name]/storage/modify resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_storage_modify.GetPutOpInput
ganeti.rapi.rlib2.R_2_nodes_name_storage_modify.html#GetPutOpInput
Function
Method
PUBLIC
Modifies a storage volume on a node.
-
ganeti.rapi.rlib2.R_2_nodes_name_storage_repair
ganeti.rapi.rlib2.R_2_nodes_name_storage_repair.html
Class
Class
PUBLIC
/2/nodes/[node_name]/storage/repair resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_storage_repair.GetPutOpInput
ganeti.rapi.rlib2.R_2_nodes_name_storage_repair.html#GetPutOpInput
Function
Method
PUBLIC
Repairs a storage volume on a node.
-
ganeti.rapi.rlib2.R_2_networks
ganeti.rapi.rlib2.R_2_networks.html
Class
Class
PUBLIC
/2/networks resource.
-
ganeti.rapi.rlib2.R_2_networks.POST_RENAME
ganeti.rapi.rlib2.R_2_networks.html#POST_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_networks.GetPostOpInput
ganeti.rapi.rlib2.R_2_networks.html#GetPostOpInput
Function
Method
PUBLIC
Create a network.
-
ganeti.rapi.rlib2.R_2_networks.GET
ganeti.rapi.rlib2.R_2_networks.html#GET
Function
Method
PUBLIC
Returns a list of all networks.
-
ganeti.rapi.rlib2.R_2_networks_name
ganeti.rapi.rlib2.R_2_networks_name.html
Class
Class
PUBLIC
/2/networks/[network_name] resource.
-
ganeti.rapi.rlib2.R_2_networks_name.GET
ganeti.rapi.rlib2.R_2_networks_name.html#GET
Function
Method
PUBLIC
Send information about a network.
-
ganeti.rapi.rlib2.R_2_networks_name.GetDeleteOpInput
ganeti.rapi.rlib2.R_2_networks_name.html#GetDeleteOpInput
Function
Method
PUBLIC
Delete a network.
-
ganeti.rapi.rlib2.R_2_networks_name_connect
ganeti.rapi.rlib2.R_2_networks_name_connect.html
Class
Class
PUBLIC
/2/networks/[network_name]/connect resource.
-
ganeti.rapi.rlib2.R_2_networks_name_connect.GetPutOpInput
ganeti.rapi.rlib2.R_2_networks_name_connect.html#GetPutOpInput
Function
Method
PUBLIC
Changes some parameters of node group.
-
ganeti.rapi.rlib2.R_2_networks_name_disconnect
ganeti.rapi.rlib2.R_2_networks_name_disconnect.html
Class
Class
PUBLIC
/2/networks/[network_name]/disconnect resource.
-
ganeti.rapi.rlib2.R_2_networks_name_disconnect.GetPutOpInput
ganeti.rapi.rlib2.R_2_networks_name_disconnect.html#GetPutOpInput
Function
Method
PUBLIC
Changes some parameters of node group.
-
ganeti.rapi.rlib2.R_2_networks_name_modify
ganeti.rapi.rlib2.R_2_networks_name_modify.html
Class
Class
PUBLIC
/2/networks/[network_name]/modify resource.
-
ganeti.rapi.rlib2.R_2_networks_name_modify.GetPutOpInput
ganeti.rapi.rlib2.R_2_networks_name_modify.html#GetPutOpInput
Function
Method
PUBLIC
Changes some parameters of network.
-
ganeti.rapi.rlib2.R_2_networks_name_rename
ganeti.rapi.rlib2.R_2_networks_name_rename.html
Class
Class
PUBLIC
/2/networks/[network_name]/rename resource.
-
ganeti.rapi.rlib2.R_2_networks_name_rename.GetPutOpInput
ganeti.rapi.rlib2.R_2_networks_name_rename.html#GetPutOpInput
Function
Method
PUBLIC
Changes the name of a network.
-
ganeti.rapi.rlib2.R_2_groups
ganeti.rapi.rlib2.R_2_groups.html
Class
Class
PUBLIC
/2/groups resource.
-
ganeti.rapi.rlib2.R_2_groups.POST_RENAME
ganeti.rapi.rlib2.R_2_groups.html#POST_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_groups.GetPostOpInput
ganeti.rapi.rlib2.R_2_groups.html#GetPostOpInput
Function
Method
PUBLIC
Create a node group.
-
ganeti.rapi.rlib2.R_2_groups.GET
ganeti.rapi.rlib2.R_2_groups.html#GET
Function
Method
PUBLIC
Returns a list of all node groups.
-
ganeti.rapi.rlib2.R_2_groups_name
ganeti.rapi.rlib2.R_2_groups_name.html
Class
Class
PUBLIC
/2/groups/[group_name] resource.
-
ganeti.rapi.rlib2.R_2_groups_name.GET
ganeti.rapi.rlib2.R_2_groups_name.html#GET
Function
Method
PUBLIC
Send information about a node group.
-
ganeti.rapi.rlib2.R_2_groups_name.GetDeleteOpInput
ganeti.rapi.rlib2.R_2_groups_name.html#GetDeleteOpInput
Function
Method
PUBLIC
Delete a node group.
-
ganeti.rapi.rlib2.R_2_groups_name_modify
ganeti.rapi.rlib2.R_2_groups_name_modify.html
Class
Class
PUBLIC
/2/groups/[group_name]/modify resource.
-
ganeti.rapi.rlib2.R_2_groups_name_modify.PUT_RENAME
ganeti.rapi.rlib2.R_2_groups_name_modify.html#PUT_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_groups_name_modify.GetPutOpInput
ganeti.rapi.rlib2.R_2_groups_name_modify.html#GetPutOpInput
Function
Method
PUBLIC
Changes some parameters of node group.
-
ganeti.rapi.rlib2.R_2_groups_name_rename
ganeti.rapi.rlib2.R_2_groups_name_rename.html
Class
Class
PUBLIC
/2/groups/[group_name]/rename resource.
-
ganeti.rapi.rlib2.R_2_groups_name_rename.GetPutOpInput
ganeti.rapi.rlib2.R_2_groups_name_rename.html#GetPutOpInput
Function
Method
PUBLIC
Changes the name of a node group.
-
ganeti.rapi.rlib2.R_2_groups_name_assign_nodes
ganeti.rapi.rlib2.R_2_groups_name_assign_nodes.html
Class
Class
PUBLIC
/2/groups/[group_name]/assign-nodes resource.
-
ganeti.rapi.rlib2.R_2_groups_name_assign_nodes.GetPutOpInput
ganeti.rapi.rlib2.R_2_groups_name_assign_nodes.html#GetPutOpInput
Function
Method
PUBLIC
Assigns nodes to a group.
-
ganeti.rapi.rlib2._ConvertUsbDevices
ganeti.rapi.rlib2.html#_ConvertUsbDevices
Function
Function
PRIVATE
Convert in place the usb_devices string to the proper format.
-
ganeti.rapi.rlib2.R_2_instances
ganeti.rapi.rlib2.R_2_instances.html
Class
Class
PUBLIC
/2/instances resource.
-
ganeti.rapi.rlib2.R_2_instances.POST_RENAME
ganeti.rapi.rlib2.R_2_instances.html#POST_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_instances.GET
ganeti.rapi.rlib2.R_2_instances.html#GET
Function
Method
PUBLIC
Returns a list of all available instances.
-
ganeti.rapi.rlib2.R_2_instances.GetPostOpInput
ganeti.rapi.rlib2.R_2_instances.html#GetPostOpInput
Function
Method
PUBLIC
Create an instance.
-
ganeti.rapi.rlib2.R_2_instances_multi_alloc
ganeti.rapi.rlib2.R_2_instances_multi_alloc.html
Class
Class
PUBLIC
/2/instances-multi-alloc resource.
-
ganeti.rapi.rlib2.R_2_instances_multi_alloc.GetPostOpInput
ganeti.rapi.rlib2.R_2_instances_multi_alloc.html#GetPostOpInput
Function
Method
PUBLIC
Try to allocate multiple instances.
-
ganeti.rapi.rlib2.R_2_instances_name
ganeti.rapi.rlib2.R_2_instances_name.html
Class
Class
PUBLIC
/2/instances/[instance_name] resource.
-
ganeti.rapi.rlib2.R_2_instances_name.GET
ganeti.rapi.rlib2.R_2_instances_name.html#GET
Function
Method
PUBLIC
Send information about an instance.
-
ganeti.rapi.rlib2.R_2_instances_name.GetDeleteOpInput
ganeti.rapi.rlib2.R_2_instances_name.html#GetDeleteOpInput
Function
Method
PUBLIC
Delete an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_info
ganeti.rapi.rlib2.R_2_instances_name_info.html
Class
Class
PUBLIC
/2/instances/[instance_name]/info resource.
-
ganeti.rapi.rlib2.R_2_instances_name_info.GetGetOpInput
ganeti.rapi.rlib2.R_2_instances_name_info.html#GetGetOpInput
Function
Method
PUBLIC
Request detailed instance information.
-
ganeti.rapi.rlib2.R_2_instances_name_reboot
ganeti.rapi.rlib2.R_2_instances_name_reboot.html
Class
Class
PUBLIC
/2/instances/[instance_name]/reboot resource.
-
ganeti.rapi.rlib2.R_2_instances_name_reboot.GetPostOpInput
ganeti.rapi.rlib2.R_2_instances_name_reboot.html#GetPostOpInput
Function
Method
PUBLIC
Reboot an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_startup
ganeti.rapi.rlib2.R_2_instances_name_startup.html
Class
Class
PUBLIC
/2/instances/[instance_name]/startup resource.
-
ganeti.rapi.rlib2.R_2_instances_name_startup.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_startup.html#GetPutOpInput
Function
Method
PUBLIC
Startup an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_shutdown
ganeti.rapi.rlib2.R_2_instances_name_shutdown.html
Class
Class
PUBLIC
/2/instances/[instance_name]/shutdown resource.
-
ganeti.rapi.rlib2.R_2_instances_name_shutdown.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_shutdown.html#GetPutOpInput
Function
Method
PUBLIC
Shutdown an instance.
-
ganeti.rapi.rlib2._ParseInstanceReinstallRequest
ganeti.rapi.rlib2.html#_ParseInstanceReinstallRequest
Function
Function
PRIVATE
Parses a request for reinstalling an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_reinstall
ganeti.rapi.rlib2.R_2_instances_name_reinstall.html
Class
Class
PUBLIC
/2/instances/[instance_name]/reinstall resource.
-
ganeti.rapi.rlib2.R_2_instances_name_reinstall.POST
ganeti.rapi.rlib2.R_2_instances_name_reinstall.html#POST
Function
Method
PUBLIC
Reinstall an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_replace_disks
ganeti.rapi.rlib2.R_2_instances_name_replace_disks.html
Class
Class
PUBLIC
/2/instances/[instance_name]/replace-disks resource.
-
ganeti.rapi.rlib2.R_2_instances_name_replace_disks.GetPostOpInput
ganeti.rapi.rlib2.R_2_instances_name_replace_disks.html#GetPostOpInput
Function
Method
PUBLIC
Replaces disks on an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_activate_disks
ganeti.rapi.rlib2.R_2_instances_name_activate_disks.html
Class
Class
PUBLIC
/2/instances/[instance_name]/activate-disks resource.
-
ganeti.rapi.rlib2.R_2_instances_name_activate_disks.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_activate_disks.html#GetPutOpInput
Function
Method
PUBLIC
Activate disks for an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_deactivate_disks
ganeti.rapi.rlib2.R_2_instances_name_deactivate_disks.html
Class
Class
PUBLIC
/2/instances/[instance_name]/deactivate-disks resource.
-
ganeti.rapi.rlib2.R_2_instances_name_deactivate_disks.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_deactivate_disks.html#GetPutOpInput
Function
Method
PUBLIC
Deactivate disks for an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_recreate_disks
ganeti.rapi.rlib2.R_2_instances_name_recreate_disks.html
Class
Class
PUBLIC
/2/instances/[instance_name]/recreate-disks resource.
-
ganeti.rapi.rlib2.R_2_instances_name_recreate_disks.GetPostOpInput
ganeti.rapi.rlib2.R_2_instances_name_recreate_disks.html#GetPostOpInput
Function
Method
PUBLIC
Recreate disks for an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_prepare_export
ganeti.rapi.rlib2.R_2_instances_name_prepare_export.html
Class
Class
PUBLIC
/2/instances/[instance_name]/prepare-export resource.
-
ganeti.rapi.rlib2.R_2_instances_name_prepare_export.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_prepare_export.html#GetPutOpInput
Function
Method
PUBLIC
Prepares an export for an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_export
ganeti.rapi.rlib2.R_2_instances_name_export.html
Class
Class
PUBLIC
/2/instances/[instance_name]/export resource.
-
ganeti.rapi.rlib2.R_2_instances_name_export.PUT_RENAME
ganeti.rapi.rlib2.R_2_instances_name_export.html#PUT_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_instances_name_export.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_export.html#GetPutOpInput
Function
Method
PUBLIC
Exports an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_migrate
ganeti.rapi.rlib2.R_2_instances_name_migrate.html
Class
Class
PUBLIC
/2/instances/[instance_name]/migrate resource.
-
ganeti.rapi.rlib2.R_2_instances_name_migrate.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_migrate.html#GetPutOpInput
Function
Method
PUBLIC
Migrates an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_failover
ganeti.rapi.rlib2.R_2_instances_name_failover.html
Class
Class
PUBLIC
/2/instances/[instance_name]/failover resource.
-
ganeti.rapi.rlib2.R_2_instances_name_failover.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_failover.html#GetPutOpInput
Function
Method
PUBLIC
Does a failover of an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_rename
ganeti.rapi.rlib2.R_2_instances_name_rename.html
Class
Class
PUBLIC
/2/instances/[instance_name]/rename resource.
-
ganeti.rapi.rlib2.R_2_instances_name_rename.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_rename.html#GetPutOpInput
Function
Method
PUBLIC
Changes the name of an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_modify
ganeti.rapi.rlib2.R_2_instances_name_modify.html
Class
Class
PUBLIC
/2/instances/[instance_name]/modify resource.
-
ganeti.rapi.rlib2.R_2_instances_name_modify.PUT_RENAME
ganeti.rapi.rlib2.R_2_instances_name_modify.html#PUT_RENAME
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_instances_name_modify.GetPutOpInput
ganeti.rapi.rlib2.R_2_instances_name_modify.html#GetPutOpInput
Function
Method
PUBLIC
Changes parameters of an instance.
-
ganeti.rapi.rlib2.R_2_instances_name_disk_grow
ganeti.rapi.rlib2.R_2_instances_name_disk_grow.html
Class
Class
PUBLIC
/2/instances/[instance_name]/disk/[disk_index]/grow resource.
-
ganeti.rapi.rlib2.R_2_instances_name_disk_grow.GetPostOpInput
ganeti.rapi.rlib2.R_2_instances_name_disk_grow.html#GetPostOpInput
Function
Method
PUBLIC
Increases the size of an instance disk.
-
ganeti.rapi.rlib2.R_2_instances_name_console
ganeti.rapi.rlib2.R_2_instances_name_console.html
Class
Class
PUBLIC
/2/instances/[instance_name]/console resource.
-
ganeti.rapi.rlib2.R_2_instances_name_console.GET_ACCESS
ganeti.rapi.rlib2.R_2_instances_name_console.html#GET_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_instances_name_console.GET
ganeti.rapi.rlib2.R_2_instances_name_console.html#GET
Function
Method
PUBLIC
Request information for connecting to instance's console.
-
ganeti.rapi.rlib2._GetQueryFields
ganeti.rapi.rlib2.html#_GetQueryFields
Function
Function
PRIVATE
Tries to extract fields query parameter.
-
ganeti.rapi.rlib2._SplitQueryFields
ganeti.rapi.rlib2.html#_SplitQueryFields
Function
Function
PRIVATE
Splits fields as given for a query request.
-
ganeti.rapi.rlib2.R_2_query
ganeti.rapi.rlib2.R_2_query.html
Class
Class
PUBLIC
/2/query/[resource] resource.
-
ganeti.rapi.rlib2.R_2_query.GET_ACCESS
ganeti.rapi.rlib2.R_2_query.html#GET_ACCESS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2.R_2_query._Query
ganeti.rapi.rlib2.R_2_query.html#_Query
Function
Method
PRIVATE
Undocumented
-
ganeti.rapi.rlib2.R_2_query.GET
ganeti.rapi.rlib2.R_2_query.html#GET
Function
Method
PUBLIC
Returns resource information.
-
ganeti.rapi.rlib2.R_2_query.PUT
ganeti.rapi.rlib2.R_2_query.html#PUT
Function
Method
PUBLIC
Submits job querying for resources.
-
ganeti.rapi.rlib2.R_2_query_fields
ganeti.rapi.rlib2.R_2_query_fields.html
Class
Class
PUBLIC
/2/query/[resource]/fields resource.
-
ganeti.rapi.rlib2.R_2_query_fields.GET
ganeti.rapi.rlib2.R_2_query_fields.html#GET
Function
Method
PUBLIC
Retrieves list of available fields for a resource.
-
ganeti.rapi.rlib2._R_Tags
ganeti.rapi.rlib2._R_Tags.html
Class
Class
PRIVATE
Quasiclass for tagging resources.
-
ganeti.rapi.rlib2._R_Tags.TAG_LEVEL
ganeti.rapi.rlib2._R_Tags.html#TAG_LEVEL
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.rlib2._R_Tags.__init__
ganeti.rapi.rlib2._R_Tags.html#__init__
Function
Method
PUBLIC
A tag resource constructor.
-
ganeti.rapi.rlib2._R_Tags.name
ganeti.rapi.rlib2._R_Tags.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.rlib2._R_Tags.GET
ganeti.rapi.rlib2._R_Tags.html#GET
Function
Method
PUBLIC
Returns a list of tags.
-
ganeti.rapi.rlib2._R_Tags.GetPutOpInput
ganeti.rapi.rlib2._R_Tags.html#GetPutOpInput
Function
Method
PUBLIC
Add a set of tags.
-
ganeti.rapi.rlib2._R_Tags.GetDeleteOpInput
ganeti.rapi.rlib2._R_Tags.html#GetDeleteOpInput
Function
Method
PUBLIC
Delete a tag.
-
ganeti.rapi.rlib2.R_2_instances_name_tags
ganeti.rapi.rlib2.R_2_instances_name_tags.html
Class
Class
PUBLIC
/2/instances/[instance_name]/tags resource.
-
ganeti.rapi.rlib2.R_2_nodes_name_tags
ganeti.rapi.rlib2.R_2_nodes_name_tags.html
Class
Class
PUBLIC
/2/nodes/[node_name]/tags resource.
-
ganeti.rapi.rlib2.R_2_groups_name_tags
ganeti.rapi.rlib2.R_2_groups_name_tags.html
Class
Class
PUBLIC
/2/groups/[group_name]/tags resource.
-
ganeti.rapi.rlib2.R_2_networks_name_tags
ganeti.rapi.rlib2.R_2_networks_name_tags.html
Class
Class
PUBLIC
/2/networks/[network_name]/tags resource.
-
ganeti.rapi.rlib2.R_2_tags
ganeti.rapi.rlib2.R_2_tags.html
Class
Class
PUBLIC
/2/tags resource.
-
ganeti.rapi.connector._NAME_PATTERN
ganeti.rapi.connector.html#_NAME_PATTERN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.connector._DISK_PATTERN
ganeti.rapi.connector.html#_DISK_PATTERN
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.connector.CONNECTOR
ganeti.rapi.connector.html#CONNECTOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.rapi.connector.Mapper
ganeti.rapi.connector.Mapper.html
Class
Class
PUBLIC
Map resource to method.
-
ganeti.rapi.connector.Mapper.__init__
ganeti.rapi.connector.Mapper.html#__init__
Function
Method
PUBLIC
Resource mapper constructor.
-
ganeti.rapi.connector.Mapper._connector
ganeti.rapi.connector.Mapper.html#_connector
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.connector.Mapper.getController
ganeti.rapi.connector.Mapper.html#getController
Function
Method
PUBLIC
Find method for a given URI.
-
ganeti.rapi.connector._ConvertPattern
ganeti.rapi.connector.html#_ConvertPattern
Function
Function
PRIVATE
Converts URI pattern into a regular expression group.
-
ganeti.rapi.connector._CompileHandlerPath
ganeti.rapi.connector.html#_CompileHandlerPath
Function
Function
PRIVATE
Compiles path for RAPI resource into regular expression.
-
ganeti.rapi.connector.UriPattern
ganeti.rapi.connector.UriPattern.html
Class
Class
PUBLIC
Undocumented
-
ganeti.rapi.connector.UriPattern.__slots__
ganeti.rapi.connector.UriPattern.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.rapi.connector.UriPattern.__init__
ganeti.rapi.connector.UriPattern.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.connector.UriPattern.content
ganeti.rapi.connector.UriPattern.html#content
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.connector.GetHandlers
ganeti.rapi.connector.html#GetHandlers
Function
Function
PUBLIC
Returns all supported resources and their handlers.
-
ganeti.rapi.testutils._URI_RE
ganeti.rapi.testutils.html#_URI_RE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.rapi.testutils.VerificationError
ganeti.rapi.testutils.VerificationError.html
Class
Exception
PUBLIC
Dedicated error class for test utilities.
-
ganeti.rapi.testutils._GetOpById
ganeti.rapi.testutils.html#_GetOpById
Function
Function
PRIVATE
Tries to get an opcode class based on its OP_ID.
-
ganeti.rapi.testutils._HideInternalErrors
ganeti.rapi.testutils.html#_HideInternalErrors
Function
Function
PRIVATE
-
ganeti.rapi.testutils.VerifyOpInput
ganeti.rapi.testutils.html#VerifyOpInput
Function
Function
PUBLIC
Verifies opcode parameters according to their definition.
-
ganeti.rapi.testutils.VerifyOpResult
ganeti.rapi.testutils.html#VerifyOpResult
Function
Function
PUBLIC
Verifies opcode results used in tests (e.g. in a mock).
-
ganeti.rapi.testutils._GetPathFromUri
ganeti.rapi.testutils.html#_GetPathFromUri
Function
Function
PRIVATE
Gets the path and query from a URI.
-
ganeti.rapi.testutils.FakeCurl
ganeti.rapi.testutils.FakeCurl.html
Class
Class
PUBLIC
Fake cURL object.
-
ganeti.rapi.testutils.FakeCurl.__init__
ganeti.rapi.testutils.FakeCurl.html#__init__
Function
Method
PUBLIC
Initialize this class
-
ganeti.rapi.testutils.FakeCurl._handler
ganeti.rapi.testutils.FakeCurl.html#_handler
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils.FakeCurl._opts
ganeti.rapi.testutils.FakeCurl.html#_opts
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils.FakeCurl._info
ganeti.rapi.testutils.FakeCurl.html#_info
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils.FakeCurl.setopt
ganeti.rapi.testutils.FakeCurl.html#setopt
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.testutils.FakeCurl.getopt
ganeti.rapi.testutils.FakeCurl.html#getopt
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.testutils.FakeCurl.unsetopt
ganeti.rapi.testutils.FakeCurl.html#unsetopt
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.testutils.FakeCurl.getinfo
ganeti.rapi.testutils.FakeCurl.html#getinfo
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.testutils.FakeCurl.perform
ganeti.rapi.testutils.FakeCurl.html#perform
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.testutils._RapiMock
ganeti.rapi.testutils._RapiMock.html
Class
Class
PRIVATE
Mocking out the RAPI server parts.
-
ganeti.rapi.testutils._RapiMock.__init__
ganeti.rapi.testutils._RapiMock.html#__init__
Function
Method
PUBLIC
Initialize this class.
-
ganeti.rapi.testutils._RapiMock.handler
ganeti.rapi.testutils._RapiMock.html#handler
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rapi.testutils._RapiMock.FetchResponse
ganeti.rapi.testutils._RapiMock.html#FetchResponse
Function
Method
PUBLIC
This is a callback method used to fetch a response.
-
ganeti.rapi.testutils._TestLuxiTransport
ganeti.rapi.testutils._TestLuxiTransport.html
Class
Class
PRIVATE
Mocked LUXI transport.
-
ganeti.rapi.testutils._TestLuxiTransport.__init__
ganeti.rapi.testutils._TestLuxiTransport.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rapi.testutils._TestLuxiTransport._record_fn
ganeti.rapi.testutils._TestLuxiTransport.html#_record_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils._TestLuxiTransport.Close
ganeti.rapi.testutils._TestLuxiTransport.html#Close
Function
Method
PUBLIC
Undocumented
-
ganeti.rapi.testutils._TestLuxiTransport.Call
ganeti.rapi.testutils._TestLuxiTransport.html#Call
Function
Method
PUBLIC
Calls LUXI method.
-
ganeti.rapi.testutils._LuxiCallRecorder
ganeti.rapi.testutils._LuxiCallRecorder.html
Class
Class
PRIVATE
Records all called LUXI client methods.
-
ganeti.rapi.testutils._LuxiCallRecorder.__init__
ganeti.rapi.testutils._LuxiCallRecorder.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rapi.testutils._LuxiCallRecorder._called
ganeti.rapi.testutils._LuxiCallRecorder.html#_called
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils._LuxiCallRecorder.Record
ganeti.rapi.testutils._LuxiCallRecorder.html#Record
Function
Method
PUBLIC
Records a called function name.
-
ganeti.rapi.testutils._LuxiCallRecorder.CalledNames
ganeti.rapi.testutils._LuxiCallRecorder.html#CalledNames
Function
Method
PUBLIC
Returns a list of called LUXI methods.
-
ganeti.rapi.testutils._LuxiCallRecorder.__call__
ganeti.rapi.testutils._LuxiCallRecorder.html#__call__
Function
Method
PUBLIC
Creates an instrumented LUXI client.
-
ganeti.rapi.testutils._TestWrapper
ganeti.rapi.testutils.html#_TestWrapper
Function
Function
PRIVATE
-
ganeti.rapi.testutils.InputTestClient
ganeti.rapi.testutils.InputTestClient.html
Class
Class
PUBLIC
Test version of RAPI client.
-
ganeti.rapi.testutils.InputTestClient.__init__
ganeti.rapi.testutils.InputTestClient.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.rapi.testutils.InputTestClient._lcr
ganeti.rapi.testutils.InputTestClient.html#_lcr
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils.InputTestClient._client
ganeti.rapi.testutils.InputTestClient.html#_client
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.rapi.testutils.InputTestClient._GetLuxiCalls
ganeti.rapi.testutils.InputTestClient.html#_GetLuxiCalls
Function
Method
PRIVATE
Returns the names of all called LUXI client functions.
-
ganeti.rapi.testutils.InputTestClient.__getattr__
ganeti.rapi.testutils.InputTestClient.html#__getattr__
Function
Method
PUBLIC
Finds method by name.
-
ganeti.rpc.client.ParseRequest
ganeti.rpc.client.html#ParseRequest
Function
Function
PUBLIC
Parses a request message.
-
ganeti.rpc.client.ParseResponse
ganeti.rpc.client.html#ParseResponse
Function
Function
PUBLIC
Parses a response message.
-
ganeti.rpc.client.FormatResponse
ganeti.rpc.client.html#FormatResponse
Function
Function
PUBLIC
Formats a response message.
-
ganeti.rpc.client.FormatRequest
ganeti.rpc.client.html#FormatRequest
Function
Function
PUBLIC
Formats a request message.
-
ganeti.rpc.client.CallRPCMethod
ganeti.rpc.client.html#CallRPCMethod
Function
Function
PUBLIC
Send a RPC request via a transport and return the response.
-
ganeti.rpc.client.AbstractClient
ganeti.rpc.client.AbstractClient.html
Class
Class
PUBLIC
High-level client abstraction.
-
ganeti.rpc.client.AbstractClient.__init__
ganeti.rpc.client.AbstractClient.html#__init__
Function
Method
PUBLIC
Constructor for the Client class.
-
ganeti.rpc.client.AbstractClient.timeouts
ganeti.rpc.client.AbstractClient.html#timeouts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.client.AbstractClient.transport_class
ganeti.rpc.client.AbstractClient.html#transport_class
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.client.AbstractClient.allow_non_master
ganeti.rpc.client.AbstractClient.html#allow_non_master
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.client.AbstractClient.transport
ganeti.rpc.client.AbstractClient.html#transport
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.client.AbstractClient.version
ganeti.rpc.client.AbstractClient.html#version
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.rpc.client.AbstractClient._GetAddress
ganeti.rpc.client.AbstractClient.html#_GetAddress
Function
Method
PRIVATE
Returns the socket address
-
ganeti.rpc.client.AbstractClient._InitTransport
ganeti.rpc.client.AbstractClient.html#_InitTransport
Function
Method
PRIVATE
(Re)initialize the transport if needed.
-
ganeti.rpc.client.AbstractClient._CloseTransport
ganeti.rpc.client.AbstractClient.html#_CloseTransport
Function
Method
PRIVATE
Close the transport, ignoring errors.
-
ganeti.rpc.client.AbstractClient._SendMethodCall
ganeti.rpc.client.AbstractClient.html#_SendMethodCall
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.client.AbstractClient.Close
ganeti.rpc.client.AbstractClient.html#Close
Function
Method
PUBLIC
Close the underlying connection.
-
ganeti.rpc.client.AbstractClient.close
ganeti.rpc.client.AbstractClient.html#close
Function
Method
PUBLIC
Same as
Close, to be used with contextlib.closing(...).
-
ganeti.rpc.client.AbstractClient.CallMethod
ganeti.rpc.client.AbstractClient.html#CallMethod
Function
Method
PUBLIC
Send a generic request and return the response.
-
ganeti.rpc.client.AbstractStubClient
ganeti.rpc.client.AbstractStubClient.html
Class
Class
PUBLIC
An abstract Client that connects a generated stub client to a
Transport.
-
ganeti.rpc.client.AbstractStubClient.__init__
ganeti.rpc.client.AbstractStubClient.html#__init__
Function
Method
PUBLIC
Constructor for the class.
-
ganeti.rpc.client.AbstractStubClient._GenericInvoke
ganeti.rpc.client.AbstractStubClient.html#_GenericInvoke
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.client.AbstractStubClient._GetAddress
ganeti.rpc.client.AbstractStubClient.html#_GetAddress
Function
Method
PRIVATE
Returns the socket address
-
ganeti.rpc.stub.metad.ClientRpcStub
ganeti.rpc.stub.metad.ClientRpcStub.html
Class
Class
PUBLIC
Undocumented
-
ganeti.rpc.stub.metad.ClientRpcStub._GenericInvoke
ganeti.rpc.stub.metad.ClientRpcStub.html#_GenericInvoke
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.stub.metad.ClientRpcStub._GetSocketPath
ganeti.rpc.stub.metad.ClientRpcStub.html#_GetSocketPath
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.stub.metad.ClientRpcStub.Echo
ganeti.rpc.stub.metad.ClientRpcStub.html#Echo
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.metad.ClientRpcStub.UpdateConfig
ganeti.rpc.stub.metad.ClientRpcStub.html#UpdateConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub
ganeti.rpc.stub.wconfd.ClientRpcStub.html
Class
Class
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub._GenericInvoke
ganeti.rpc.stub.wconfd.ClientRpcStub.html#_GenericInvoke
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub._GetSocketPath
ganeti.rpc.stub.wconfd.ClientRpcStub.html#_GetSocketPath
Function
Method
PRIVATE
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.Echo
ganeti.rpc.stub.wconfd.ClientRpcStub.html#Echo
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.CleanupLocks
ganeti.rpc.stub.wconfd.ClientRpcStub.html#CleanupLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.PrepareClusterDestruction
ganeti.rpc.stub.wconfd.ClientRpcStub.html#PrepareClusterDestruction
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ReadConfig
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ReadConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.WriteConfig
ganeti.rpc.stub.wconfd.ClientRpcStub.html#WriteConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.VerifyConfig
ganeti.rpc.stub.wconfd.ClientRpcStub.html#VerifyConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.LockConfig
ganeti.rpc.stub.wconfd.ClientRpcStub.html#LockConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UnlockConfig
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UnlockConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.WriteConfigAndUnlock
ganeti.rpc.stub.wconfd.ClientRpcStub.html#WriteConfigAndUnlock
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.FlushConfig
ganeti.rpc.stub.wconfd.ClientRpcStub.html#FlushConfig
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.FlushConfigGroup
ganeti.rpc.stub.wconfd.ClientRpcStub.html#FlushConfigGroup
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.DropAllReservations
ganeti.rpc.stub.wconfd.ClientRpcStub.html#DropAllReservations
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ComputeDRBDMap
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ComputeDRBDMap
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.AllocateDRBDMinor
ganeti.rpc.stub.wconfd.ClientRpcStub.html#AllocateDRBDMinor
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ReleaseDRBDMinors
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ReleaseDRBDMinors
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ReserveMAC
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ReserveMAC
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.GenerateMAC
ganeti.rpc.stub.wconfd.ClientRpcStub.html#GenerateMAC
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.GenerateDRBDSecret
ganeti.rpc.stub.wconfd.ClientRpcStub.html#GenerateDRBDSecret
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ReserveLV
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ReserveLV
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ReserveIp
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ReserveIp
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ReleaseIp
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ReleaseIp
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.GenerateIp
ganeti.rpc.stub.wconfd.ClientRpcStub.html#GenerateIp
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.CommitTemporaryIps
ganeti.rpc.stub.wconfd.ClientRpcStub.html#CommitTemporaryIps
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.CommitReleaseTemporaryIp
ganeti.rpc.stub.wconfd.ClientRpcStub.html#CommitReleaseTemporaryIp
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ListReservedIps
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ListReservedIps
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ListLocks
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ListLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ListAllLocks
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ListAllLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ListAllLocksOwners
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ListAllLocksOwners
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.ListLocksWaitingStatus
ganeti.rpc.stub.wconfd.ClientRpcStub.html#ListLocksWaitingStatus
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.TryUpdateLocks
ganeti.rpc.stub.wconfd.ClientRpcStub.html#TryUpdateLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateLocksWaiting
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateLocksWaiting
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.FreeLocks
ganeti.rpc.stub.wconfd.ClientRpcStub.html#FreeLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.FreeLocksLevel
ganeti.rpc.stub.wconfd.ClientRpcStub.html#FreeLocksLevel
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.DownGradeLocksLevel
ganeti.rpc.stub.wconfd.ClientRpcStub.html#DownGradeLocksLevel
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.IntersectLocks
ganeti.rpc.stub.wconfd.ClientRpcStub.html#IntersectLocks
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.OpportunisticLockUnion
ganeti.rpc.stub.wconfd.ClientRpcStub.html#OpportunisticLockUnion
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.GuardedOpportunisticLockUnion
ganeti.rpc.stub.wconfd.ClientRpcStub.html#GuardedOpportunisticLockUnion
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.HasPendingRequest
ganeti.rpc.stub.wconfd.ClientRpcStub.html#HasPendingRequest
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.AddInstance
ganeti.rpc.stub.wconfd.ClientRpcStub.html#AddInstance
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.AddInstanceDisk
ganeti.rpc.stub.wconfd.ClientRpcStub.html#AddInstanceDisk
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.AddTcpUdpPort
ganeti.rpc.stub.wconfd.ClientRpcStub.html#AddTcpUdpPort
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.AllocatePort
ganeti.rpc.stub.wconfd.ClientRpcStub.html#AllocatePort
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.AttachInstanceDisk
ganeti.rpc.stub.wconfd.ClientRpcStub.html#AttachInstanceDisk
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.DetachInstanceDisk
ganeti.rpc.stub.wconfd.ClientRpcStub.html#DetachInstanceDisk
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.RemoveInstance
ganeti.rpc.stub.wconfd.ClientRpcStub.html#RemoveInstance
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.RemoveInstanceDisk
ganeti.rpc.stub.wconfd.ClientRpcStub.html#RemoveInstanceDisk
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.SetInstancePrimaryNode
ganeti.rpc.stub.wconfd.ClientRpcStub.html#SetInstancePrimaryNode
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.SetInstanceStatus
ganeti.rpc.stub.wconfd.ClientRpcStub.html#SetInstanceStatus
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateCluster
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateCluster
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateDisk
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateDisk
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateInstance
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateInstance
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateNetwork
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateNetwork
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateNode
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateNode
Function
Method
PUBLIC
Undocumented
-
ganeti.rpc.stub.wconfd.ClientRpcStub.UpdateNodeGroup
ganeti.rpc.stub.wconfd.ClientRpcStub.html#UpdateNodeGroup
Function
Method
PUBLIC
Undocumented
-
ganeti.storage.container._ParseSize
ganeti.storage.container.html#_ParseSize
Function
Function
PRIVATE
Undocumented
-
ganeti.storage.container._Base
ganeti.storage.container._Base.html
Class
Class
PRIVATE
Base class for storage abstraction.
-
ganeti.storage.container._Base.List
ganeti.storage.container._Base.html#List
Function
Method
PUBLIC
Returns a list of all entities within the storage unit.
-
ganeti.storage.container._Base.Modify
ganeti.storage.container._Base.html#Modify
Function
Method
PUBLIC
Modifies an entity within the storage unit.
-
ganeti.storage.container._Base.Execute
ganeti.storage.container._Base.html#Execute
Function
Method
PUBLIC
Executes an operation on an entity within the storage unit.
-
ganeti.storage.container.FileStorage
ganeti.storage.container.FileStorage.html
Class
Class
PUBLIC
File storage unit.
-
ganeti.storage.container.FileStorage.__init__
ganeti.storage.container.FileStorage.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.storage.container.FileStorage._paths
ganeti.storage.container.FileStorage.html#_paths
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.storage.container.FileStorage.List
ganeti.storage.container.FileStorage.html#List
Function
Method
PUBLIC
Returns a list of all entities within the storage unit.
-
ganeti.storage.container.FileStorage._ListInner
ganeti.storage.container.FileStorage.html#_ListInner
Function
Static Method
PRIVATE
Gathers requested information from directory.
-
ganeti.storage.container._LvmBase
ganeti.storage.container._LvmBase.html
Class
Class
PRIVATE
Base class for LVM storage containers.
-
ganeti.storage.container._LvmBase.LIST_FIELDS
ganeti.storage.container._LvmBase.html#LIST_FIELDS
Attribute
Constant
PUBLIC
list of tuples consisting of three elements: SF_* constants, lvm command output fields (list), and conversion function or static value (for static value, the lvm output field can be an empty list)
-
ganeti.storage.container._LvmBase.LIST_SEP
ganeti.storage.container._LvmBase.html#LIST_SEP
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container._LvmBase.LIST_COMMAND
ganeti.storage.container._LvmBase.html#LIST_COMMAND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container._LvmBase.List
ganeti.storage.container._LvmBase.html#List
Function
Method
PUBLIC
Returns a list of all entities within the storage unit.
-
ganeti.storage.container._LvmBase._GetLvmFields
ganeti.storage.container._LvmBase.html#_GetLvmFields
Function
Static Method
PRIVATE
Returns unique list of fields wanted from LVM command.
-
ganeti.storage.container._LvmBase._BuildList
ganeti.storage.container._LvmBase.html#_BuildList
Function
Class Method
PRIVATE
Builds the final result list.
-
ganeti.storage.container._LvmBase._BuildListCommand
ganeti.storage.container._LvmBase.html#_BuildListCommand
Function
Static Method
PRIVATE
Builds LVM command line.
-
ganeti.storage.container._LvmBase._RunListCommand
ganeti.storage.container._LvmBase.html#_RunListCommand
Function
Static Method
PRIVATE
Run LVM command.
-
ganeti.storage.container._LvmBase._SplitList
ganeti.storage.container._LvmBase.html#_SplitList
Function
Static Method
PRIVATE
Splits LVM command output into rows and fields.
-
ganeti.storage.container._LvmPvGetAllocatable
ganeti.storage.container.html#_LvmPvGetAllocatable
Function
Function
PRIVATE
Determines whether LVM PV is allocatable.
-
ganeti.storage.container.LvmPvStorage
ganeti.storage.container.LvmPvStorage.html
Class
Class
PUBLIC
LVM Physical Volume storage unit.
-
ganeti.storage.container.LvmPvStorage.LIST_COMMAND
ganeti.storage.container.LvmPvStorage.html#LIST_COMMAND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container.LvmPvStorage.LIST_FIELDS
ganeti.storage.container.LvmPvStorage.html#LIST_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container.LvmPvStorage._SetAllocatable
ganeti.storage.container.LvmPvStorage.html#_SetAllocatable
Function
Method
PRIVATE
Sets the "allocatable" flag on a physical volume.
-
ganeti.storage.container.LvmPvStorage.Modify
ganeti.storage.container.LvmPvStorage.html#Modify
Function
Method
PUBLIC
Modifies flags on a physical volume.
-
ganeti.storage.container.LvmVgStorage
ganeti.storage.container.LvmVgStorage.html
Class
Class
PUBLIC
LVM Volume Group storage unit.
-
ganeti.storage.container.LvmVgStorage.LIST_COMMAND
ganeti.storage.container.LvmVgStorage.html#LIST_COMMAND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container.LvmVgStorage.VGREDUCE_COMMAND
ganeti.storage.container.LvmVgStorage.html#VGREDUCE_COMMAND
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container.LvmVgStorage.LIST_FIELDS
ganeti.storage.container.LvmVgStorage.html#LIST_FIELDS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.storage.container.LvmVgStorage._RemoveMissing
ganeti.storage.container.LvmVgStorage.html#_RemoveMissing
Function
Method
PRIVATE
Runs "vgreduce --removemissing" on a volume group.
-
ganeti.storage.container.LvmVgStorage.Execute
ganeti.storage.container.LvmVgStorage.html#Execute
Function
Method
PUBLIC
Executes an operation on a virtual volume.
-
ganeti.storage.container._STORAGE_TYPES
ganeti.storage.container.html#_STORAGE_TYPES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.storage.container.GetStorageClass
ganeti.storage.container.html#GetStorageClass
Function
Function
PUBLIC
Returns the class for a storage type.
-
ganeti.storage.container.GetStorage
ganeti.storage.container.html#GetStorage
Function
Function
PUBLIC
Factory function for storage methods.
-
ganeti.server.noded.queue_lock
ganeti.server.noded.html#queue_lock
Attribute
Variable
PUBLIC
Undocumented
-
ganeti.server.noded._extendReasonTrail
ganeti.server.noded.html#_extendReasonTrail
Function
Function
PRIVATE
Extend the reason trail with noded information
-
ganeti.server.noded._PrepareQueueLock
ganeti.server.noded.html#_PrepareQueueLock
Function
Function
PRIVATE
Try to prepare the queue lock.
-
ganeti.server.noded._RequireJobQueueLock
ganeti.server.noded.html#_RequireJobQueueLock
Function
Function
PRIVATE
Decorator for job queue manipulating functions.
-
ganeti.server.noded._DecodeImportExportIO
ganeti.server.noded.html#_DecodeImportExportIO
Function
Function
PRIVATE
Decodes import/export I/O information.
-
ganeti.server.noded._DefaultAlternative
ganeti.server.noded.html#_DefaultAlternative
Function
Function
PRIVATE
Returns value or, if evaluating to False, a default value.
-
ganeti.server.noded.MlockallRequestExecutor
ganeti.server.noded.MlockallRequestExecutor.html
Class
Class
PUBLIC
Subclass ensuring request handlers are locked in RAM.
-
ganeti.server.noded.MlockallRequestExecutor.__init__
ganeti.server.noded.MlockallRequestExecutor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.server.noded.NodeRequestHandler
ganeti.server.noded.NodeRequestHandler.html
Class
Class
PUBLIC
The server implementation.
-
ganeti.server.noded.NodeRequestHandler.__init__
ganeti.server.noded.NodeRequestHandler.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.server.noded.NodeRequestHandler.noded_pid
ganeti.server.noded.NodeRequestHandler.html#noded_pid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.noded.NodeRequestHandler.HandleRequest
ganeti.server.noded.NodeRequestHandler.html#HandleRequest
Function
Method
PUBLIC
Handle a request.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_create
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_create
Function
Static Method
PUBLIC
Create a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_convert
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_convert
Function
Static Method
PUBLIC
Copy data from source block device to target.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_pause_resume_sync
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_pause_resume_sync
Function
Static Method
PUBLIC
Pause/resume sync of a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_image
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_image
Function
Static Method
PUBLIC
Image a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_wipe
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_wipe
Function
Static Method
PUBLIC
Wipe a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_remove
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_remove
Function
Static Method
PUBLIC
Remove a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_rename
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_rename
Function
Static Method
PUBLIC
Remove a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_assemble
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_assemble
Function
Static Method
PUBLIC
Assemble a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_shutdown
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_shutdown
Function
Static Method
PUBLIC
Shutdown a block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_addchildren
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_addchildren
Function
Static Method
PUBLIC
Add a child to a mirror device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_removechildren
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_removechildren
Function
Static Method
PUBLIC
Remove a child from a mirror device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_getmirrorstatus
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_getmirrorstatus
Function
Static Method
PUBLIC
Return the mirror status for a list of disks.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_getmirrorstatus_multi
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_getmirrorstatus_multi
Function
Static Method
PUBLIC
Return the mirror status for a list of disks.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_find
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_find
Function
Static Method
PUBLIC
Expose the FindBlockDevice functionality for a disk.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_snapshot
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_snapshot
Function
Static Method
PUBLIC
Create a snapshot device.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_grow
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_grow
Function
Static Method
PUBLIC
Grow a stack of devices.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_close
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_close
Function
Static Method
PUBLIC
Closes the given block devices.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_open
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_open
Function
Static Method
PUBLIC
Opens the given block devices.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_getdimensions
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_getdimensions
Function
Static Method
PUBLIC
Compute the sizes of the given block devices.
-
ganeti.server.noded.NodeRequestHandler.perspective_blockdev_setinfo
ganeti.server.noded.NodeRequestHandler.html#perspective_blockdev_setinfo
Function
Static Method
PUBLIC
Sets metadata information on the given block device.
-
ganeti.server.noded.NodeRequestHandler.perspective_drbd_disconnect_net
ganeti.server.noded.NodeRequestHandler.html#perspective_drbd_disconnect_net
Function
Static Method
PUBLIC
Disconnects the network connection of drbd disks.
-
ganeti.server.noded.NodeRequestHandler.perspective_drbd_attach_net
ganeti.server.noded.NodeRequestHandler.html#perspective_drbd_attach_net
Function
Static Method
PUBLIC
Attaches the network connection of drbd disks.
-
ganeti.server.noded.NodeRequestHandler.perspective_drbd_wait_sync
ganeti.server.noded.NodeRequestHandler.html#perspective_drbd_wait_sync
Function
Static Method
PUBLIC
Wait until DRBD disks are synched.
-
ganeti.server.noded.NodeRequestHandler.perspective_drbd_needs_activation
ganeti.server.noded.NodeRequestHandler.html#perspective_drbd_needs_activation
Function
Static Method
PUBLIC
Checks if the drbd devices need activation
-
ganeti.server.noded.NodeRequestHandler.perspective_drbd_helper
ganeti.server.noded.NodeRequestHandler.html#perspective_drbd_helper
Function
Static Method
PUBLIC
Query drbd helper.
-
ganeti.server.noded.NodeRequestHandler.perspective_finalize_export
ganeti.server.noded.NodeRequestHandler.html#perspective_finalize_export
Function
Static Method
PUBLIC
Expose the finalize export functionality.
-
ganeti.server.noded.NodeRequestHandler.perspective_export_info
ganeti.server.noded.NodeRequestHandler.html#perspective_export_info
Function
Static Method
PUBLIC
Query information about an existing export on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_export_list
ganeti.server.noded.NodeRequestHandler.html#perspective_export_list
Function
Static Method
PUBLIC
List the available exports on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_export_remove
ganeti.server.noded.NodeRequestHandler.html#perspective_export_remove
Function
Static Method
PUBLIC
Remove an export.
-
ganeti.server.noded.NodeRequestHandler.perspective_bdev_sizes
ganeti.server.noded.NodeRequestHandler.html#perspective_bdev_sizes
Function
Static Method
PUBLIC
Query the list of block devices
-
ganeti.server.noded.NodeRequestHandler.perspective_lv_list
ganeti.server.noded.NodeRequestHandler.html#perspective_lv_list
Function
Static Method
PUBLIC
Query the list of logical volumes in a given volume group.
-
ganeti.server.noded.NodeRequestHandler.perspective_vg_list
ganeti.server.noded.NodeRequestHandler.html#perspective_vg_list
Function
Static Method
PUBLIC
Query the list of volume groups.
-
ganeti.server.noded.NodeRequestHandler.perspective_storage_list
ganeti.server.noded.NodeRequestHandler.html#perspective_storage_list
Function
Static Method
PUBLIC
Get list of storage units.
-
ganeti.server.noded.NodeRequestHandler.perspective_storage_modify
ganeti.server.noded.NodeRequestHandler.html#perspective_storage_modify
Function
Static Method
PUBLIC
Modify a storage unit.
-
ganeti.server.noded.NodeRequestHandler.perspective_storage_execute
ganeti.server.noded.NodeRequestHandler.html#perspective_storage_execute
Function
Static Method
PUBLIC
Execute an operation on a storage unit.
-
ganeti.server.noded.NodeRequestHandler.perspective_bridges_exist
ganeti.server.noded.NodeRequestHandler.html#perspective_bridges_exist
Function
Static Method
PUBLIC
Check if all bridges given exist on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_os_add
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_os_add
Function
Static Method
PUBLIC
Install an OS on a given instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_run_rename
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_run_rename
Function
Static Method
PUBLIC
Runs the OS rename script for an instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_shutdown
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_shutdown
Function
Static Method
PUBLIC
Shutdown an instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_start
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_start
Function
Static Method
PUBLIC
Start an instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_hotplug_device
ganeti.server.noded.NodeRequestHandler.html#perspective_hotplug_device
Function
Static Method
PUBLIC
Hotplugs device to a running instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_hotplug_supported
ganeti.server.noded.NodeRequestHandler.html#perspective_hotplug_supported
Function
Static Method
PUBLIC
Checks if hotplug is supported.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_metadata_modify
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_metadata_modify
Function
Static Method
PUBLIC
Modify instance metadata.
-
ganeti.server.noded.NodeRequestHandler.perspective_migration_info
ganeti.server.noded.NodeRequestHandler.html#perspective_migration_info
Function
Static Method
PUBLIC
Gather information about an instance to be migrated.
-
ganeti.server.noded.NodeRequestHandler.perspective_accept_instance
ganeti.server.noded.NodeRequestHandler.html#perspective_accept_instance
Function
Static Method
PUBLIC
Prepare the node to accept an instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_finalize_migration_dst
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_finalize_migration_dst
Function
Static Method
PUBLIC
Finalize the instance migration on the destination node.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_migrate
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_migrate
Function
Static Method
PUBLIC
Migrates an instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_finalize_migration_src
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_finalize_migration_src
Function
Static Method
PUBLIC
Finalize the instance migration on the source node.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_get_migration_status
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_get_migration_status
Function
Static Method
PUBLIC
Reports migration status.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_reboot
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_reboot
Function
Static Method
PUBLIC
Reboot an instance.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_balloon_memory
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_balloon_memory
Function
Static Method
PUBLIC
Modify instance runtime memory.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_info
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_info
Function
Static Method
PUBLIC
Query instance information.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_migratable
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_migratable
Function
Static Method
PUBLIC
Query whether the specified instance can be migrated.
-
ganeti.server.noded.NodeRequestHandler.perspective_all_instances_info
ganeti.server.noded.NodeRequestHandler.html#perspective_all_instances_info
Function
Static Method
PUBLIC
Query information about all instances.
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_console_info
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_console_info
Function
Static Method
PUBLIC
Query information on how to get console access to instances
-
ganeti.server.noded.NodeRequestHandler.perspective_instance_list
ganeti.server.noded.NodeRequestHandler.html#perspective_instance_list
Function
Static Method
PUBLIC
Query the list of running instances.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_has_ip_address
ganeti.server.noded.NodeRequestHandler.html#perspective_node_has_ip_address
Function
Static Method
PUBLIC
Checks if a node has the given ip address.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_info
ganeti.server.noded.NodeRequestHandler.html#perspective_node_info
Function
Static Method
PUBLIC
Query node information.
-
ganeti.server.noded.NodeRequestHandler.perspective_etc_hosts_modify
ganeti.server.noded.NodeRequestHandler.html#perspective_etc_hosts_modify
Function
Static Method
PUBLIC
Modify a node entry in /etc/hosts.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_verify
ganeti.server.noded.NodeRequestHandler.html#perspective_node_verify
Function
Static Method
PUBLIC
Run a verify sequence on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_verify_light
ganeti.server.noded.NodeRequestHandler.html#perspective_node_verify_light
Function
Class Method
PUBLIC
Run a light verify sequence on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_start_master_daemons
ganeti.server.noded.NodeRequestHandler.html#perspective_node_start_master_daemons
Function
Static Method
PUBLIC
Start the master daemons on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_activate_master_ip
ganeti.server.noded.NodeRequestHandler.html#perspective_node_activate_master_ip
Function
Static Method
PUBLIC
Activate the master IP on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_deactivate_master_ip
ganeti.server.noded.NodeRequestHandler.html#perspective_node_deactivate_master_ip
Function
Static Method
PUBLIC
Deactivate the master IP on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_stop_master
ganeti.server.noded.NodeRequestHandler.html#perspective_node_stop_master
Function
Static Method
PUBLIC
Stops master daemons on this node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_change_master_netmask
ganeti.server.noded.NodeRequestHandler.html#perspective_node_change_master_netmask
Function
Static Method
PUBLIC
Change the master IP netmask.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_leave_cluster
ganeti.server.noded.NodeRequestHandler.html#perspective_node_leave_cluster
Function
Static Method
PUBLIC
Cleanup after leaving a cluster.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_volumes
ganeti.server.noded.NodeRequestHandler.html#perspective_node_volumes
Function
Static Method
PUBLIC
Query the list of all logical volume groups.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_demote_from_mc
ganeti.server.noded.NodeRequestHandler.html#perspective_node_demote_from_mc
Function
Static Method
PUBLIC
Demote a node from the master candidate role.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_powercycle
ganeti.server.noded.NodeRequestHandler.html#perspective_node_powercycle
Function
Static Method
PUBLIC
Tries to powercycle the node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_configure_ovs
ganeti.server.noded.NodeRequestHandler.html#perspective_node_configure_ovs
Function
Static Method
PUBLIC
Sets up OpenvSwitch on the node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_crypto_tokens
ganeti.server.noded.NodeRequestHandler.html#perspective_node_crypto_tokens
Function
Static Method
PUBLIC
Gets the node's public crypto tokens.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_ensure_daemon
ganeti.server.noded.NodeRequestHandler.html#perspective_node_ensure_daemon
Function
Static Method
PUBLIC
Ensure daemon is running.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_ssh_key_add
ganeti.server.noded.NodeRequestHandler.html#perspective_node_ssh_key_add
Function
Static Method
PUBLIC
Distributes a new node's SSH key if authorized.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_ssh_keys_renew
ganeti.server.noded.NodeRequestHandler.html#perspective_node_ssh_keys_renew
Function
Static Method
PUBLIC
Generates a new root SSH key pair on the node.
-
ganeti.server.noded.NodeRequestHandler.perspective_node_ssh_key_remove
ganeti.server.noded.NodeRequestHandler.html#perspective_node_ssh_key_remove
Function
Static Method
PUBLIC
Removes a node's SSH key from the other nodes' SSH files.
-
ganeti.server.noded.NodeRequestHandler.perspective_version
ganeti.server.noded.NodeRequestHandler.html#perspective_version
Function
Static Method
PUBLIC
Query version information.
-
ganeti.server.noded.NodeRequestHandler.perspective_upload_file
ganeti.server.noded.NodeRequestHandler.html#perspective_upload_file
Function
Static Method
PUBLIC
Upload a file.
-
ganeti.server.noded.NodeRequestHandler.perspective_upload_file_single
ganeti.server.noded.NodeRequestHandler.html#perspective_upload_file_single
Function
Static Method
PUBLIC
Upload a file.
-
ganeti.server.noded.NodeRequestHandler.perspective_master_node_name
ganeti.server.noded.NodeRequestHandler.html#perspective_master_node_name
Function
Static Method
PUBLIC
Returns the master node name.
-
ganeti.server.noded.NodeRequestHandler.perspective_run_oob
ganeti.server.noded.NodeRequestHandler.html#perspective_run_oob
Function
Static Method
PUBLIC
Runs oob on node.
-
ganeti.server.noded.NodeRequestHandler.perspective_restricted_command
ganeti.server.noded.NodeRequestHandler.html#perspective_restricted_command
Function
Static Method
PUBLIC
Runs a restricted command.
-
ganeti.server.noded.NodeRequestHandler.perspective_write_ssconf_files
ganeti.server.noded.NodeRequestHandler.html#perspective_write_ssconf_files
Function
Static Method
PUBLIC
Write ssconf files.
-
ganeti.server.noded.NodeRequestHandler.perspective_get_watcher_pause
ganeti.server.noded.NodeRequestHandler.html#perspective_get_watcher_pause
Function
Static Method
PUBLIC
Get watcher pause end.
-
ganeti.server.noded.NodeRequestHandler.perspective_set_watcher_pause
ganeti.server.noded.NodeRequestHandler.html#perspective_set_watcher_pause
Function
Static Method
PUBLIC
Set watcher pause.
-
ganeti.server.noded.NodeRequestHandler.perspective_get_file_info
ganeti.server.noded.NodeRequestHandler.html#perspective_get_file_info
Function
Static Method
PUBLIC
Get info on whether a file exists and its properties.
-
ganeti.server.noded.NodeRequestHandler.perspective_os_diagnose
ganeti.server.noded.NodeRequestHandler.html#perspective_os_diagnose
Function
Static Method
PUBLIC
Query detailed information about existing OSes.
-
ganeti.server.noded.NodeRequestHandler.perspective_os_validate
ganeti.server.noded.NodeRequestHandler.html#perspective_os_validate
Function
Static Method
PUBLIC
Run a given OS' validation routine.
-
ganeti.server.noded.NodeRequestHandler.perspective_os_export
ganeti.server.noded.NodeRequestHandler.html#perspective_os_export
Function
Static Method
PUBLIC
Export an OS definition into an instance specific package.
-
ganeti.server.noded.NodeRequestHandler.perspective_extstorage_diagnose
ganeti.server.noded.NodeRequestHandler.html#perspective_extstorage_diagnose
Function
Static Method
PUBLIC
Query detailed information about existing extstorage providers.
-
ganeti.server.noded.NodeRequestHandler.perspective_hooks_runner
ganeti.server.noded.NodeRequestHandler.html#perspective_hooks_runner
Function
Static Method
PUBLIC
Run hook scripts.
-
ganeti.server.noded.NodeRequestHandler.perspective_iallocator_runner
ganeti.server.noded.NodeRequestHandler.html#perspective_iallocator_runner
Function
Static Method
PUBLIC
Run an iallocator script.
-
ganeti.server.noded.NodeRequestHandler.perspective_test_delay
ganeti.server.noded.NodeRequestHandler.html#perspective_test_delay
Function
Static Method
PUBLIC
Run test delay.
-
ganeti.server.noded.NodeRequestHandler.perspective_file_storage_dir_create
ganeti.server.noded.NodeRequestHandler.html#perspective_file_storage_dir_create
Function
Static Method
PUBLIC
Create the file storage directory.
-
ganeti.server.noded.NodeRequestHandler.perspective_file_storage_dir_remove
ganeti.server.noded.NodeRequestHandler.html#perspective_file_storage_dir_remove
Function
Static Method
PUBLIC
Remove the file storage directory.
-
ganeti.server.noded.NodeRequestHandler.perspective_file_storage_dir_rename
ganeti.server.noded.NodeRequestHandler.html#perspective_file_storage_dir_rename
Function
Static Method
PUBLIC
Rename the file storage directory.
-
ganeti.server.noded.NodeRequestHandler.perspective_jobqueue_update
ganeti.server.noded.NodeRequestHandler.html#perspective_jobqueue_update
Function
Static Method
PUBLIC
Update job queue.
-
ganeti.server.noded.NodeRequestHandler.perspective_jobqueue_purge
ganeti.server.noded.NodeRequestHandler.html#perspective_jobqueue_purge
Function
Static Method
PUBLIC
Purge job queue.
-
ganeti.server.noded.NodeRequestHandler.perspective_jobqueue_rename
ganeti.server.noded.NodeRequestHandler.html#perspective_jobqueue_rename
Function
Static Method
PUBLIC
Rename a job queue file.
-
ganeti.server.noded.NodeRequestHandler.perspective_jobqueue_set_drain_flag
ganeti.server.noded.NodeRequestHandler.html#perspective_jobqueue_set_drain_flag
Function
Static Method
PUBLIC
Set job queue's drain flag.
-
ganeti.server.noded.NodeRequestHandler.perspective_hypervisor_validate_params
ganeti.server.noded.NodeRequestHandler.html#perspective_hypervisor_validate_params
Function
Static Method
PUBLIC
Validate the hypervisor parameters.
-
ganeti.server.noded.NodeRequestHandler.perspective_x509_cert_create
ganeti.server.noded.NodeRequestHandler.html#perspective_x509_cert_create
Function
Static Method
PUBLIC
Creates a new X509 certificate for SSL/TLS.
-
ganeti.server.noded.NodeRequestHandler.perspective_x509_cert_remove
ganeti.server.noded.NodeRequestHandler.html#perspective_x509_cert_remove
Function
Static Method
PUBLIC
Removes a X509 certificate.
-
ganeti.server.noded.NodeRequestHandler.perspective_import_start
ganeti.server.noded.NodeRequestHandler.html#perspective_import_start
Function
Static Method
PUBLIC
Starts an import daemon.
-
ganeti.server.noded.NodeRequestHandler.perspective_export_start
ganeti.server.noded.NodeRequestHandler.html#perspective_export_start
Function
Static Method
PUBLIC
Starts an export daemon.
-
ganeti.server.noded.NodeRequestHandler.perspective_impexp_status
ganeti.server.noded.NodeRequestHandler.html#perspective_impexp_status
Function
Static Method
PUBLIC
Retrieves the status of an import or export daemon.
-
ganeti.server.noded.NodeRequestHandler.perspective_impexp_abort
ganeti.server.noded.NodeRequestHandler.html#perspective_impexp_abort
Function
Static Method
PUBLIC
Aborts an import or export.
-
ganeti.server.noded.NodeRequestHandler.perspective_impexp_cleanup
ganeti.server.noded.NodeRequestHandler.html#perspective_impexp_cleanup
Function
Static Method
PUBLIC
Cleans up after an import or export.
-
ganeti.server.noded.CheckNoded
ganeti.server.noded.html#CheckNoded
Function
Function
PUBLIC
Initial checks whether to run or exit with a failure.
-
ganeti.server.noded.SSLVerifyPeer
ganeti.server.noded.html#SSLVerifyPeer
Function
Function
PUBLIC
Callback function to verify a peer against the candidate cert map.
-
ganeti.server.noded.PrepNoded
ganeti.server.noded.html#PrepNoded
Function
Function
PUBLIC
Preparation node daemon function, executed with the PID file held.
-
ganeti.server.noded.ExecNoded
ganeti.server.noded.html#ExecNoded
Function
Function
PUBLIC
Main node daemon function, executed with the PID file held.
-
ganeti.server.noded.Main
ganeti.server.noded.html#Main
Function
Function
PUBLIC
Main function for the node daemon.
-
ganeti.server.rapi.RemoteApiRequestContext
ganeti.server.rapi.RemoteApiRequestContext.html
Class
Class
PUBLIC
Data structure for Remote API requests.
-
ganeti.server.rapi.RemoteApiRequestContext.__init__
ganeti.server.rapi.RemoteApiRequestContext.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.server.rapi.RemoteApiRequestContext.handler
ganeti.server.rapi.RemoteApiRequestContext.html#handler
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.rapi.RemoteApiRequestContext.handler_fn
ganeti.server.rapi.RemoteApiRequestContext.html#handler_fn
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.rapi.RemoteApiRequestContext.handler_access
ganeti.server.rapi.RemoteApiRequestContext.html#handler_access
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.rapi.RemoteApiRequestContext.body_data
ganeti.server.rapi.RemoteApiRequestContext.html#body_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.server.rapi.RemoteApiHandler
ganeti.server.rapi.RemoteApiHandler.html
Class
Class
PUBLIC
REST Request Handler Class.
-
ganeti.server.rapi.RemoteApiHandler.AUTH_REALM
ganeti.server.rapi.RemoteApiHandler.html#AUTH_REALM
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.server.rapi.RemoteApiHandler.__init__
ganeti.server.rapi.RemoteApiHandler.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.server.rapi.RemoteApiHandler._client_cls
ganeti.server.rapi.RemoteApiHandler.html#_client_cls
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.RemoteApiHandler._resmap
ganeti.server.rapi.RemoteApiHandler.html#_resmap
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.RemoteApiHandler._user_fn
ganeti.server.rapi.RemoteApiHandler.html#_user_fn
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.RemoteApiHandler._reqauth
ganeti.server.rapi.RemoteApiHandler.html#_reqauth
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.RemoteApiHandler.FormatErrorMessage
ganeti.server.rapi.RemoteApiHandler.html#FormatErrorMessage
Function
Static Method
PUBLIC
Formats the body of an error message.
-
ganeti.server.rapi.RemoteApiHandler._GetRequestContext
ganeti.server.rapi.RemoteApiHandler.html#_GetRequestContext
Function
Method
PRIVATE
Returns the context for a request.
-
ganeti.server.rapi.RemoteApiHandler.AuthenticationRequired
ganeti.server.rapi.RemoteApiHandler.html#AuthenticationRequired
Function
Method
PUBLIC
Determine whether authentication is required.
-
ganeti.server.rapi.RemoteApiHandler.Authenticate
ganeti.server.rapi.RemoteApiHandler.html#Authenticate
Function
Method
PUBLIC
Checks whether a user can access a resource.
-
ganeti.server.rapi.RemoteApiHandler.HandleRequest
ganeti.server.rapi.RemoteApiHandler.html#HandleRequest
Function
Method
PUBLIC
Handles a request.
-
ganeti.server.rapi.RapiUsers
ganeti.server.rapi.RapiUsers.html
Class
Class
PUBLIC
No class docstring; 0/1 instance variable, 3/3 methods documented
-
ganeti.server.rapi.RapiUsers.__init__
ganeti.server.rapi.RapiUsers.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.server.rapi.RapiUsers._users
ganeti.server.rapi.RapiUsers.html#_users
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.RapiUsers.Get
ganeti.server.rapi.RapiUsers.html#Get
Function
Method
PUBLIC
Checks whether a user exists.
-
ganeti.server.rapi.RapiUsers.Load
ganeti.server.rapi.RapiUsers.html#Load
Function
Method
PUBLIC
Loads a file containing users and passwords.
-
ganeti.server.rapi.FileEventHandler
ganeti.server.rapi.FileEventHandler.html
Class
Class
PUBLIC
No class docstring; 0/3 instance variable, 2/2 methods documented
-
ganeti.server.rapi.FileEventHandler.__init__
ganeti.server.rapi.FileEventHandler.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.server.rapi.FileEventHandler._cb
ganeti.server.rapi.FileEventHandler.html#_cb
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.FileEventHandler._filename
ganeti.server.rapi.FileEventHandler.html#_filename
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.FileEventHandler._handle
ganeti.server.rapi.FileEventHandler.html#_handle
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.server.rapi.FileEventHandler.process_default
ganeti.server.rapi.FileEventHandler.html#process_default
Function
Method
PUBLIC
Called upon inotify event.
-
ganeti.server.rapi.SetupFileWatcher
ganeti.server.rapi.html#SetupFileWatcher
Function
Function
PUBLIC
Configures an inotify watcher for a file.
-
ganeti.server.rapi.CheckRapi
ganeti.server.rapi.html#CheckRapi
Function
Function
PUBLIC
Initial checks whether to run or exit with a failure.
-
ganeti.server.rapi.PrepRapi
ganeti.server.rapi.html#PrepRapi
Function
Function
PUBLIC
Prep remote API function, executed with the PID file held.
-
ganeti.server.rapi.ExecRapi
ganeti.server.rapi.html#ExecRapi
Function
Function
PUBLIC
Main remote API function, executed with the PID file held.
-
ganeti.server.rapi.Main
ganeti.server.rapi.html#Main
Function
Function
PUBLIC
Main function.
-
ganeti.tools.burnin.USAGE
ganeti.tools.burnin.html#USAGE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.burnin.MAX_RETRIES
ganeti.tools.burnin.html#MAX_RETRIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.burnin._SINGLE_NODE_DISK_TEMPLATES
ganeti.tools.burnin.html#_SINGLE_NODE_DISK_TEMPLATES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.burnin._SUPPORTED_DISK_TEMPLATES
ganeti.tools.burnin.html#_SUPPORTED_DISK_TEMPLATES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.burnin._IMPEXP_DISK_TEMPLATES
ganeti.tools.burnin.html#_IMPEXP_DISK_TEMPLATES
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.burnin.InstanceDown
ganeti.tools.burnin.InstanceDown.html
Class
Exception
PUBLIC
The checked instance was not up
-
ganeti.tools.burnin.BurninFailure
ganeti.tools.burnin.BurninFailure.html
Class
Exception
PUBLIC
Failure detected during burning
-
ganeti.tools.burnin.Usage
ganeti.tools.burnin.html#Usage
Function
Function
PUBLIC
Shows program usage information and exits the program.
-
ganeti.tools.burnin.Log
ganeti.tools.burnin.html#Log
Function
Function
PUBLIC
Simple function that prints out its argument.
-
ganeti.tools.burnin.Err
ganeti.tools.burnin.html#Err
Function
Function
PUBLIC
Simple error logging that prints to stderr.
-
ganeti.tools.burnin.RandomString
ganeti.tools.burnin.html#RandomString
Function
Function
PUBLIC
Undocumented
-
ganeti.tools.burnin.SimpleOpener
ganeti.tools.burnin.SimpleOpener.html
Class
Class
PUBLIC
A simple url opener
-
ganeti.tools.burnin.SimpleOpener.prompt_user_passwd
ganeti.tools.burnin.SimpleOpener.html#prompt_user_passwd
Function
Method
PUBLIC
No-interaction version of prompt_user_passwd.
-
ganeti.tools.burnin.SimpleOpener.http_error_default
ganeti.tools.burnin.SimpleOpener.html#http_error_default
Function
Method
PUBLIC
Custom error handling
-
ganeti.tools.burnin.OPTIONS
ganeti.tools.burnin.html#OPTIONS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.burnin.ARGUMENTS
ganeti.tools.burnin.html#ARGUMENTS
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.burnin._DoCheckInstances
ganeti.tools.burnin.html#_DoCheckInstances
Function
Function
PRIVATE
Decorator for checking instances.
-
ganeti.tools.burnin._DoBatch
ganeti.tools.burnin.html#_DoBatch
Function
Function
PRIVATE
Decorator for possible batch operations.
-
ganeti.tools.burnin.FeedbackAccumulator
ganeti.tools.burnin.FeedbackAccumulator.html
Class
Class
PUBLIC
Feedback accumulator class.
-
ganeti.tools.burnin.FeedbackAccumulator._feed_buf
ganeti.tools.burnin.FeedbackAccumulator.html#_feed_buf
Attribute
Class Variable
PRIVATE
Undocumented
-
ganeti.tools.burnin.FeedbackAccumulator.opts
ganeti.tools.burnin.FeedbackAccumulator.html#opts
Attribute
Class Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.FeedbackAccumulator.ClearFeedbackBuf
ganeti.tools.burnin.FeedbackAccumulator.html#ClearFeedbackBuf
Function
Method
PUBLIC
Clear the feedback buffer.
-
ganeti.tools.burnin.FeedbackAccumulator.GetFeedbackBuf
ganeti.tools.burnin.FeedbackAccumulator.html#GetFeedbackBuf
Function
Method
PUBLIC
Return the contents of the buffer.
-
ganeti.tools.burnin.FeedbackAccumulator.Feedback
ganeti.tools.burnin.FeedbackAccumulator.html#Feedback
Function
Method
PUBLIC
Acumulate feedback in our buffer.
-
ganeti.tools.burnin.JobHandler
ganeti.tools.burnin.JobHandler.html
Class
Class
PUBLIC
Class for handling Ganeti jobs.
-
ganeti.tools.burnin.JobHandler.queued_ops
ganeti.tools.burnin.JobHandler.html#queued_ops
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.JobHandler.queue_retry
ganeti.tools.burnin.JobHandler.html#queue_retry
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.JobHandler.__init__
ganeti.tools.burnin.JobHandler.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.burnin.JobHandler.cl
ganeti.tools.burnin.JobHandler.html#cl
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.JobHandler.MaybeRetry
ganeti.tools.burnin.JobHandler.html#MaybeRetry
Function
Method
PUBLIC
Possibly retry a given function execution.
-
ganeti.tools.burnin.JobHandler._ExecOp
ganeti.tools.burnin.JobHandler.html#_ExecOp
Function
Method
PRIVATE
Execute one or more opcodes and manage the exec buffer.
-
ganeti.tools.burnin.JobHandler.ExecOp
ganeti.tools.burnin.JobHandler.html#ExecOp
Function
Method
PUBLIC
Execute one or more opcodes and manage the exec buffer.
-
ganeti.tools.burnin.JobHandler.ExecOrQueue
ganeti.tools.burnin.JobHandler.html#ExecOrQueue
Function
Method
PUBLIC
Execute an opcode and manage the exec buffer.
-
ganeti.tools.burnin.JobHandler.StartBatch
ganeti.tools.burnin.JobHandler.html#StartBatch
Function
Method
PUBLIC
Start a new batch of jobs.
-
ganeti.tools.burnin.JobHandler.CommitQueue
ganeti.tools.burnin.JobHandler.html#CommitQueue
Function
Method
PUBLIC
Execute all submitted opcodes in case of parallel burnin
-
ganeti.tools.burnin.JobHandler.ExecJobSet
ganeti.tools.burnin.JobHandler.html#ExecJobSet
Function
Method
PUBLIC
Execute a set of jobs and return once all are done.
-
ganeti.tools.burnin.Burner
ganeti.tools.burnin.Burner.html
Class
Class
PUBLIC
Burner class.
-
ganeti.tools.burnin.Burner.__init__
ganeti.tools.burnin.Burner.html#__init__
Function
Method
PUBLIC
Constructor.
-
ganeti.tools.burnin.Burner.url_opener
ganeti.tools.burnin.Burner.html#url_opener
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.nodes
ganeti.tools.burnin.Burner.html#nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.instances
ganeti.tools.burnin.Burner.html#instances
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.to_rem
ganeti.tools.burnin.Burner.html#to_rem
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.disk_count
ganeti.tools.burnin.Burner.html#disk_count
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.disk_growth
ganeti.tools.burnin.Burner.html#disk_growth
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.disk_size
ganeti.tools.burnin.Burner.html#disk_size
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.hvp
ganeti.tools.burnin.Burner.html#hvp
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.bep
ganeti.tools.burnin.Burner.html#bep
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.disk_nodes
ganeti.tools.burnin.Burner.html#disk_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.instance_nodes
ganeti.tools.burnin.Burner.html#instance_nodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.confd_reply
ganeti.tools.burnin.Burner.html#confd_reply
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.ParseOptions
ganeti.tools.burnin.Burner.html#ParseOptions
Function
Method
PUBLIC
Parses the command line options.
-
ganeti.tools.burnin.Burner.opts
ganeti.tools.burnin.Burner.html#opts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.hypervisor
ganeti.tools.burnin.Burner.html#hypervisor
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.GetState
ganeti.tools.burnin.Burner.html#GetState
Function
Method
PUBLIC
Read the cluster state from the master daemon.
-
ganeti.tools.burnin.Burner.cluster_info
ganeti.tools.burnin.Burner.html#cluster_info
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.cluster_default_nicparams
ganeti.tools.burnin.Burner.html#cluster_default_nicparams
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.hv_can_migrate
ganeti.tools.burnin.Burner.html#hv_can_migrate
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.FindMatchingDisk
ganeti.tools.burnin.Burner.html#FindMatchingDisk
Function
Method
PUBLIC
Find a disk whose nodes match the instance's disk nodes.
-
ganeti.tools.burnin.Burner.BurnCreateInstances
ganeti.tools.burnin.Burner.html#BurnCreateInstances
Function
Method
PUBLIC
Create the given instances.
-
ganeti.tools.burnin.Burner.BurnModifyRuntimeMemory
ganeti.tools.burnin.Burner.html#BurnModifyRuntimeMemory
Function
Method
PUBLIC
Alter the runtime memory.
-
ganeti.tools.burnin.Burner.BurnGrowDisks
ganeti.tools.burnin.Burner.html#BurnGrowDisks
Function
Method
PUBLIC
Grow both the os and the swap disks by the requested amount, if any.
-
ganeti.tools.burnin.Burner.BurnReplaceDisks1D8
ganeti.tools.burnin.Burner.html#BurnReplaceDisks1D8
Function
Method
PUBLIC
Replace disks on primary and secondary for drbd8.
-
ganeti.tools.burnin.Burner.BurnReplaceDisks2
ganeti.tools.burnin.Burner.html#BurnReplaceDisks2
Function
Method
PUBLIC
Replace secondary node.
-
ganeti.tools.burnin.Burner.BurnFailover
ganeti.tools.burnin.Burner.html#BurnFailover
Function
Method
PUBLIC
Failover the instances.
-
ganeti.tools.burnin.Burner.BurnMove
ganeti.tools.burnin.Burner.html#BurnMove
Function
Method
PUBLIC
Move the instances.
-
ganeti.tools.burnin.Burner.BurnMigrate
ganeti.tools.burnin.Burner.html#BurnMigrate
Function
Method
PUBLIC
Migrate the instances.
-
ganeti.tools.burnin.Burner.BurnImportExport
ganeti.tools.burnin.Burner.html#BurnImportExport
Function
Method
PUBLIC
Export the instance, delete it, and import it back.
-
ganeti.tools.burnin.Burner.StopInstanceOp
ganeti.tools.burnin.Burner.html#StopInstanceOp
Function
Static Method
PUBLIC
Stop given instance.
-
ganeti.tools.burnin.Burner.StartInstanceOp
ganeti.tools.burnin.Burner.html#StartInstanceOp
Function
Static Method
PUBLIC
Start given instance.
-
ganeti.tools.burnin.Burner.RenameInstanceOp
ganeti.tools.burnin.Burner.html#RenameInstanceOp
Function
Static Method
PUBLIC
Rename instance.
-
ganeti.tools.burnin.Burner.BurnStopStart
ganeti.tools.burnin.Burner.html#BurnStopStart
Function
Method
PUBLIC
Stop/start the instances.
-
ganeti.tools.burnin.Burner.BurnRemove
ganeti.tools.burnin.Burner.html#BurnRemove
Function
Method
PUBLIC
Remove the instances.
-
ganeti.tools.burnin.Burner.BurnRename
ganeti.tools.burnin.Burner.html#BurnRename
Function
Method
PUBLIC
Rename the instances.
-
ganeti.tools.burnin.Burner.BurnReinstall
ganeti.tools.burnin.Burner.html#BurnReinstall
Function
Method
PUBLIC
Reinstall the instances.
-
ganeti.tools.burnin.Burner.BurnReboot
ganeti.tools.burnin.Burner.html#BurnReboot
Function
Method
PUBLIC
Reboot the instances.
-
ganeti.tools.burnin.Burner.BurnRenameSame
ganeti.tools.burnin.Burner.html#BurnRenameSame
Function
Method
PUBLIC
Rename the instances to their own name.
-
ganeti.tools.burnin.Burner.BurnActivateDisks
ganeti.tools.burnin.Burner.html#BurnActivateDisks
Function
Method
PUBLIC
Activate and deactivate disks of the instances.
-
ganeti.tools.burnin.Burner.BurnAddRemoveNICs
ganeti.tools.burnin.Burner.html#BurnAddRemoveNICs
Function
Method
PUBLIC
Add, change and remove an extra NIC for the instances.
-
ganeti.tools.burnin.Burner.ConfdCallback
ganeti.tools.burnin.Burner.html#ConfdCallback
Function
Method
PUBLIC
Callback for confd queries
-
ganeti.tools.burnin.Burner.DoConfdRequestReply
ganeti.tools.burnin.Burner.html#DoConfdRequestReply
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.BurnConfd
ganeti.tools.burnin.Burner.html#BurnConfd
Function
Method
PUBLIC
Run confd queries for our instances.
-
ganeti.tools.burnin.Burner.confd_counting_callback
ganeti.tools.burnin.Burner.html#confd_counting_callback
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.confd_client
ganeti.tools.burnin.Burner.html#confd_client
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.burnin.Burner.BurnAddDisks
ganeti.tools.burnin.Burner.html#BurnAddDisks
Function
Method
PUBLIC
Add an extra disk to every instance and then detach it.
-
ganeti.tools.burnin.Burner.BurnRemoveDisks
ganeti.tools.burnin.Burner.html#BurnRemoveDisks
Function
Method
PUBLIC
Attach a previously detached disk to an instance and then remove it.
-
ganeti.tools.burnin.Burner._CheckInstanceAlive
ganeti.tools.burnin.Burner.html#_CheckInstanceAlive
Function
Method
PRIVATE
Check if an instance is alive by doing http checks.
-
ganeti.tools.burnin.Burner.BurninCluster
ganeti.tools.burnin.Burner.html#BurninCluster
Function
Method
PUBLIC
Test a cluster intensively.
-
ganeti.tools.burnin.Main
ganeti.tools.burnin.html#Main
Function
Function
PUBLIC
Main function.
-
ganeti.tools.cfgupgrade.LAST_V2_MINOR
ganeti.tools.cfgupgrade.html#LAST_V2_MINOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.DOWNGRADE_MINOR
ganeti.tools.cfgupgrade.html#DOWNGRADE_MINOR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.DEV_TYPE_OLD_NEW
ganeti.tools.cfgupgrade.html#DEV_TYPE_OLD_NEW
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.DEV_TYPE_NEW_OLD
ganeti.tools.cfgupgrade.html#DEV_TYPE_NEW_OLD
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.Error
ganeti.tools.cfgupgrade.Error.html
Class
Exception
PUBLIC
Generic exception
-
ganeti.tools.cfgupgrade.ParseOptions
ganeti.tools.cfgupgrade.html#ParseOptions
Function
Function
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.OrFail
ganeti.tools.cfgupgrade.html#OrFail
Function
Function
PUBLIC
Make failure non-fatal and improve reporting.
-
ganeti.tools.cfgupgrade.CfgUpgrade
ganeti.tools.cfgupgrade.CfgUpgrade.html
Class
Class
PUBLIC
No class docstring; 0/4 instance variable, 10/32 methods, 1/5 static method, 0/1 class method documented
-
ganeti.tools.cfgupgrade.CfgUpgrade.__init__
ganeti.tools.cfgupgrade.CfgUpgrade.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.opts
ganeti.tools.cfgupgrade.CfgUpgrade.html#opts
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.args
ganeti.tools.cfgupgrade.CfgUpgrade.html#args
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.errors
ganeti.tools.cfgupgrade.CfgUpgrade.html#errors
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.Run
ganeti.tools.cfgupgrade.CfgUpgrade.html#Run
Function
Method
PUBLIC
Main program.
-
ganeti.tools.cfgupgrade.CfgUpgrade.config_data
ganeti.tools.cfgupgrade.CfgUpgrade.html#config_data
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.SetupLogging
ganeti.tools.cfgupgrade.CfgUpgrade.html#SetupLogging
Function
Method
PUBLIC
Configures the logging module.
-
ganeti.tools.cfgupgrade.CfgUpgrade.CheckHostname
ganeti.tools.cfgupgrade.CfgUpgrade.html#CheckHostname
Function
Static Method
PUBLIC
Ensures hostname matches ssconf value.
-
ganeti.tools.cfgupgrade.CfgUpgrade._FillIPolicySpecs
ganeti.tools.cfgupgrade.CfgUpgrade.html#_FillIPolicySpecs
Function
Static Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeIPolicy
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeIPolicy
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeNetworks
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeNetworks
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeCluster
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeCluster
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeGroups
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeGroups
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.GetExclusiveStorageValue
ganeti.tools.cfgupgrade.CfgUpgrade.html#GetExclusiveStorageValue
Function
Method
PUBLIC
Return a conservative value of the exclusive_storage flag.
-
ganeti.tools.cfgupgrade.CfgUpgrade.RemovePhysicalId
ganeti.tools.cfgupgrade.CfgUpgrade.html#RemovePhysicalId
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.ChangeDiskDevType
ganeti.tools.cfgupgrade.CfgUpgrade.html#ChangeDiskDevType
Function
Method
PUBLIC
Replaces disk's dev_type attributes according to the given map.
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeDiskDevType
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeDiskDevType
Function
Method
PUBLIC
Upgrades the disks' device type.
-
ganeti.tools.cfgupgrade.CfgUpgrade._ConvertNicNameToUuid
ganeti.tools.cfgupgrade.CfgUpgrade.html#_ConvertNicNameToUuid
Function
Static Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.AssignUuid
ganeti.tools.cfgupgrade.CfgUpgrade.html#AssignUuid
Function
Class Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade._ConvertDiskAndCheckMissingSpindles
ganeti.tools.cfgupgrade.CfgUpgrade.html#_ConvertDiskAndCheckMissingSpindles
Function
Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeInstances
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeInstances
Function
Method
PUBLIC
Upgrades the instances' configuration.
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeRapiUsers
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeRapiUsers
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeWatcher
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeWatcher
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeFileStoragePaths
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeFileStoragePaths
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.GetNewNodeIndex
ganeti.tools.cfgupgrade.CfgUpgrade.html#GetNewNodeIndex
Function
Static Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.ChangeNodeIndices
ganeti.tools.cfgupgrade.CfgUpgrade.html#ChangeNodeIndices
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.ChangeInstanceIndices
ganeti.tools.cfgupgrade.CfgUpgrade.html#ChangeInstanceIndices
Function
Static Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeNodeIndices
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeNodeIndices
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeInstanceIndices
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeInstanceIndices
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeFilters
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeFilters
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeTopLevelDisks
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeTopLevelDisks
Function
Method
PUBLIC
Upgrades the disks as config top level citizens.
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeDiskTemplate
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeDiskTemplate
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade._ComputeAllNodes
ganeti.tools.cfgupgrade.CfgUpgrade.html#_ComputeAllNodes
Function
Method
PRIVATE
Recursively compute nodes given a top device.
-
ganeti.tools.cfgupgrade.CfgUpgrade._RecursiveUpdateNodes
ganeti.tools.cfgupgrade.CfgUpgrade.html#_RecursiveUpdateNodes
Function
Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeDiskNodes
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeDiskNodes
Function
Method
PUBLIC
Specify the nodes from which a disk is accessible in its definition.
-
ganeti.tools.cfgupgrade.CfgUpgrade.UpgradeAll
ganeti.tools.cfgupgrade.CfgUpgrade.html#UpgradeAll
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade.DowngradeXenSettings
ganeti.tools.cfgupgrade.CfgUpgrade.html#DowngradeXenSettings
Function
Method
PUBLIC
Re-adds the xen_cmd setting to the configuration.
-
ganeti.tools.cfgupgrade.CfgUpgrade.DowngradeAll
ganeti.tools.cfgupgrade.CfgUpgrade.html#DowngradeAll
Function
Method
PUBLIC
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade._ComposePaths
ganeti.tools.cfgupgrade.CfgUpgrade.html#_ComposePaths
Function
Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade._AskUser
ganeti.tools.cfgupgrade.CfgUpgrade.html#_AskUser
Function
Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade._Downgrade
ganeti.tools.cfgupgrade.CfgUpgrade.html#_Downgrade
Function
Method
PRIVATE
Undocumented
-
ganeti.tools.cfgupgrade.CfgUpgrade._TestLoadingConfigFile
ganeti.tools.cfgupgrade.CfgUpgrade.html#_TestLoadingConfigFile
Function
Method
PRIVATE
Undocumented
-
ganeti.tools.common.VerifyOptions
ganeti.tools.common.html#VerifyOptions
Function
Function
PUBLIC
Verifies options and arguments for correctness.
-
ganeti.tools.common._VerifyCertificateStrong
ganeti.tools.common.html#_VerifyCertificateStrong
Function
Function
PRIVATE
Verifies a certificate against the local node daemon certificate.
-
ganeti.tools.common._VerifyCertificateSoft
ganeti.tools.common.html#_VerifyCertificateSoft
Function
Function
PRIVATE
Verifies a certificate against the local node daemon certificate.
-
ganeti.tools.common.VerifyCertificateSoft
ganeti.tools.common.html#VerifyCertificateSoft
Function
Function
PUBLIC
Verifies cluster certificate if existing.
-
ganeti.tools.common.VerifyCertificateStrong
ganeti.tools.common.html#VerifyCertificateStrong
Function
Function
PUBLIC
Verifies cluster certificate. Throws error when not existing.
-
ganeti.tools.common.VerifyClusterName
ganeti.tools.common.html#VerifyClusterName
Function
Function
PUBLIC
Verifies cluster name.
-
ganeti.tools.common.VerifyHmac
ganeti.tools.common.html#VerifyHmac
Function
Function
PUBLIC
Verifies the presence of the hmac secret.
-
ganeti.tools.common.LoadData
ganeti.tools.common.html#LoadData
Function
Function
PUBLIC
Parses and verifies input data.
-
ganeti.tools.common.GenerateRootSshKeys
ganeti.tools.common.html#GenerateRootSshKeys
Function
Function
PUBLIC
Generates root's SSH keys for this node.
-
ganeti.tools.common.GenerateClientCertificate
ganeti.tools.common.html#GenerateClientCertificate
Function
Function
PUBLIC
Regenerates the client certificate of the node.
-
ganeti.tools.ensure_dirs.DIR
ganeti.tools.ensure_dirs.html#DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.ensure_dirs.FILE
ganeti.tools.ensure_dirs.html#FILE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.ensure_dirs.QUEUE_DIR
ganeti.tools.ensure_dirs.html#QUEUE_DIR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.ensure_dirs.ALL_TYPES
ganeti.tools.ensure_dirs.html#ALL_TYPES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.tools.ensure_dirs.RecursiveEnsure
ganeti.tools.ensure_dirs.html#RecursiveEnsure
Function
Function
PUBLIC
Ensures permissions recursively down a directory.
-
ganeti.tools.ensure_dirs.EnsureQueueDir
ganeti.tools.ensure_dirs.html#EnsureQueueDir
Function
Function
PUBLIC
Sets the correct permissions on all job files in the queue.
-
ganeti.tools.ensure_dirs.ProcessPath
ganeti.tools.ensure_dirs.html#ProcessPath
Function
Function
PUBLIC
Processes a path component.
-
ganeti.tools.ensure_dirs.GetPaths
ganeti.tools.ensure_dirs.html#GetPaths
Function
Function
PUBLIC
Returns a tuple of path objects to process.
-
ganeti.tools.ensure_dirs.ParseOptions
ganeti.tools.ensure_dirs.html#ParseOptions
Function
Function
PUBLIC
Parses the options passed to the program.
-
ganeti.tools.ensure_dirs.Main
ganeti.tools.ensure_dirs.html#Main
Function
Function
PUBLIC
Main routine.
-
ganeti.tools.node_cleanup.ParseOptions
ganeti.tools.node_cleanup.html#ParseOptions
Function
Function
PUBLIC
Parses the options passed to the program.
-
ganeti.tools.node_cleanup.VerifyOptions
ganeti.tools.node_cleanup.html#VerifyOptions
Function
Function
PUBLIC
Verifies options and arguments for correctness.
-
ganeti.tools.node_cleanup.Main
ganeti.tools.node_cleanup.html#Main
Function
Function
PUBLIC
Main routine.
-
ganeti.tools.node_daemon_setup._DATA_CHECK
ganeti.tools.node_daemon_setup.html#_DATA_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.node_daemon_setup.SetupError
ganeti.tools.node_daemon_setup.SetupError.html
Class
Exception
PUBLIC
Local class for reporting errors.
-
ganeti.tools.node_daemon_setup.ParseOptions
ganeti.tools.node_daemon_setup.html#ParseOptions
Function
Function
PUBLIC
Parses the options passed to the program.
-
ganeti.tools.node_daemon_setup.VerifyOptions
ganeti.tools.node_daemon_setup.html#VerifyOptions
Function
Function
PUBLIC
Verifies options and arguments for correctness.
-
ganeti.tools.node_daemon_setup.VerifySsconf
ganeti.tools.node_daemon_setup.html#VerifySsconf
Function
Function
PUBLIC
Verifies ssconf names.
-
ganeti.tools.node_daemon_setup.Main
ganeti.tools.node_daemon_setup.html#Main
Function
Function
PUBLIC
Main routine.
-
ganeti.tools.prepare_node_join._SSH_KEY_LIST_ITEM
ganeti.tools.prepare_node_join.html#_SSH_KEY_LIST_ITEM
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.prepare_node_join._SSH_KEY_LIST
ganeti.tools.prepare_node_join.html#_SSH_KEY_LIST
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.prepare_node_join._DATA_CHECK
ganeti.tools.prepare_node_join.html#_DATA_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.prepare_node_join.JoinError
ganeti.tools.prepare_node_join.JoinError.html
Class
Exception
PUBLIC
Local class for reporting errors.
-
ganeti.tools.prepare_node_join.ParseOptions
ganeti.tools.prepare_node_join.html#ParseOptions
Function
Function
PUBLIC
Parses the options passed to the program.
-
ganeti.tools.prepare_node_join._UpdateKeyFiles
ganeti.tools.prepare_node_join.html#_UpdateKeyFiles
Function
Function
PRIVATE
Updates SSH key files.
-
ganeti.tools.prepare_node_join.UpdateSshDaemon
ganeti.tools.prepare_node_join.html#UpdateSshDaemon
Function
Function
PUBLIC
Updates SSH daemon's keys.
-
ganeti.tools.prepare_node_join.UpdateSshRoot
ganeti.tools.prepare_node_join.html#UpdateSshRoot
Function
Function
PUBLIC
Updates root's SSH keys.
-
ganeti.tools.prepare_node_join.Main
ganeti.tools.prepare_node_join.html#Main
Function
Function
PUBLIC
Main routine.
-
ganeti.tools.ssh_update._DATA_CHECK
ganeti.tools.ssh_update.html#_DATA_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.ssh_update.SshUpdateError
ganeti.tools.ssh_update.SshUpdateError.html
Class
Exception
PUBLIC
Local class for reporting errors.
-
ganeti.tools.ssh_update.ParseOptions
ganeti.tools.ssh_update.html#ParseOptions
Function
Function
PUBLIC
Parses the options passed to the program.
-
ganeti.tools.ssh_update.UpdateAuthorizedKeys
ganeti.tools.ssh_update.html#UpdateAuthorizedKeys
Function
Function
PUBLIC
Updates root's authorized_keys file.
-
ganeti.tools.ssh_update.UpdatePubKeyFile
ganeti.tools.ssh_update.html#UpdatePubKeyFile
Function
Function
PUBLIC
Updates the file of public SSH keys.
-
ganeti.tools.ssh_update.GenerateRootSshKeys
ganeti.tools.ssh_update.html#GenerateRootSshKeys
Function
Function
PUBLIC
(Re-)generates the root SSH keys.
-
ganeti.tools.ssh_update.Main
ganeti.tools.ssh_update.html#Main
Function
Function
PUBLIC
Main routine.
-
ganeti.tools.ssl_update._DATA_CHECK
ganeti.tools.ssl_update.html#_DATA_CHECK
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.tools.ssl_update.SslSetupError
ganeti.tools.ssl_update.SslSetupError.html
Class
Exception
PUBLIC
Local class for reporting errors.
-
ganeti.tools.ssl_update.ParseOptions
ganeti.tools.ssl_update.html#ParseOptions
Function
Function
PUBLIC
Parses the options passed to the program.
-
ganeti.tools.ssl_update.DeleteClientCertificate
ganeti.tools.ssl_update.html#DeleteClientCertificate
Function
Function
PUBLIC
Deleting the client certificate. This is necessary for downgrades.
-
ganeti.tools.ssl_update.ClearMasterCandidateSsconfList
ganeti.tools.ssl_update.html#ClearMasterCandidateSsconfList
Function
Function
PUBLIC
Clear the ssconf list of master candidate certs.
-
ganeti.tools.ssl_update.Main
ganeti.tools.ssl_update.html#Main
Function
Function
PUBLIC
Main routine.
-
ganeti.watcher.nodemaint.NodeMaintenance
ganeti.watcher.nodemaint.NodeMaintenance.html
Class
Class
PUBLIC
Talks to confd daemons and possible shutdown instances/drbd devices.
-
ganeti.watcher.nodemaint.NodeMaintenance.__init__
ganeti.watcher.nodemaint.NodeMaintenance.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.watcher.nodemaint.NodeMaintenance.store_cb
ganeti.watcher.nodemaint.NodeMaintenance.html#store_cb
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.nodemaint.NodeMaintenance.filter_cb
ganeti.watcher.nodemaint.NodeMaintenance.html#filter_cb
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.nodemaint.NodeMaintenance.confd_client
ganeti.watcher.nodemaint.NodeMaintenance.html#confd_client
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.nodemaint.NodeMaintenance.ShouldRun
ganeti.watcher.nodemaint.NodeMaintenance.html#ShouldRun
Function
Static Method
PUBLIC
Checks whether node maintenance should run.
-
ganeti.watcher.nodemaint.NodeMaintenance.GetRunningInstances
ganeti.watcher.nodemaint.NodeMaintenance.html#GetRunningInstances
Function
Static Method
PUBLIC
Compute list of hypervisor/running instances.
-
ganeti.watcher.nodemaint.NodeMaintenance.GetUsedDRBDs
ganeti.watcher.nodemaint.NodeMaintenance.html#GetUsedDRBDs
Function
Static Method
PUBLIC
Get list of used DRBD minors.
-
ganeti.watcher.nodemaint.NodeMaintenance.DoMaintenance
ganeti.watcher.nodemaint.NodeMaintenance.html#DoMaintenance
Function
Class Method
PUBLIC
Maintain the instance list.
-
ganeti.watcher.nodemaint.NodeMaintenance.ShutdownInstances
ganeti.watcher.nodemaint.NodeMaintenance.html#ShutdownInstances
Function
Static Method
PUBLIC
Shutdown running instances.
-
ganeti.watcher.nodemaint.NodeMaintenance.ShutdownDRBD
ganeti.watcher.nodemaint.NodeMaintenance.html#ShutdownDRBD
Function
Static Method
PUBLIC
Shutdown active DRBD devices.
-
ganeti.watcher.nodemaint.NodeMaintenance.Exec
ganeti.watcher.nodemaint.NodeMaintenance.html#Exec
Function
Method
PUBLIC
Check node status versus cluster desired state.
-
ganeti.watcher.state.RETRY_EXPIRATION
ganeti.watcher.state.html#RETRY_EXPIRATION
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.state.KEY_CLEANUP_COUNT
ganeti.watcher.state.html#KEY_CLEANUP_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.state.KEY_CLEANUP_WHEN
ganeti.watcher.state.html#KEY_CLEANUP_WHEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.state.KEY_RESTART_COUNT
ganeti.watcher.state.html#KEY_RESTART_COUNT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.state.KEY_RESTART_WHEN
ganeti.watcher.state.html#KEY_RESTART_WHEN
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.state.KEY_BOOT_ID
ganeti.watcher.state.html#KEY_BOOT_ID
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.state.OpenStateFile
ganeti.watcher.state.html#OpenStateFile
Function
Function
PUBLIC
Opens the state file and acquires a lock on it.
-
ganeti.watcher.state.WatcherState
ganeti.watcher.state.WatcherState.html
Class
Class
PUBLIC
Interface to a state file recording restart attempts.
-
ganeti.watcher.state.WatcherState.__init__
ganeti.watcher.state.WatcherState.html#__init__
Function
Method
PUBLIC
Open, lock, read and parse the file.
-
ganeti.watcher.state.WatcherState.statefile
ganeti.watcher.state.WatcherState.html#statefile
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.state.WatcherState._data
ganeti.watcher.state.WatcherState.html#_data
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.watcher.state.WatcherState._orig_data
ganeti.watcher.state.WatcherState.html#_orig_data
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.watcher.state.WatcherState.Save
ganeti.watcher.state.WatcherState.html#Save
Function
Method
PUBLIC
Save state to file.
-
ganeti.watcher.state.WatcherState.Close
ganeti.watcher.state.WatcherState.html#Close
Function
Method
PUBLIC
Unlock configuration file and close it.
-
ganeti.watcher.state.WatcherState.GetNodeBootID
ganeti.watcher.state.WatcherState.html#GetNodeBootID
Function
Method
PUBLIC
Returns the last boot ID of a node or None.
-
ganeti.watcher.state.WatcherState.SetNodeBootID
ganeti.watcher.state.WatcherState.html#SetNodeBootID
Function
Method
PUBLIC
Sets the boot ID of a node.
-
ganeti.watcher.state.WatcherState.NumberOfRestartAttempts
ganeti.watcher.state.WatcherState.html#NumberOfRestartAttempts
Function
Method
PUBLIC
Returns number of previous restart attempts.
-
ganeti.watcher.state.WatcherState.NumberOfCleanupAttempts
ganeti.watcher.state.WatcherState.html#NumberOfCleanupAttempts
Function
Method
PUBLIC
Returns number of previous cleanup attempts.
-
ganeti.watcher.state.WatcherState.MaintainInstanceList
ganeti.watcher.state.WatcherState.html#MaintainInstanceList
Function
Method
PUBLIC
Perform maintenance on the recorded instances.
-
ganeti.watcher.state.WatcherState._RecordAttempt
ganeti.watcher.state.WatcherState.html#_RecordAttempt
Function
Static Method
PRIVATE
Record an event.
-
ganeti.watcher.state.WatcherState.RecordRestartAttempt
ganeti.watcher.state.WatcherState.html#RecordRestartAttempt
Function
Method
PUBLIC
Record a restart attempt.
-
ganeti.watcher.state.WatcherState.RecordCleanupAttempt
ganeti.watcher.state.WatcherState.html#RecordCleanupAttempt
Function
Method
PUBLIC
Record a cleanup attempt.
-
ganeti.watcher.state.WatcherState.RemoveInstance
ganeti.watcher.state.WatcherState.html#RemoveInstance
Function
Method
PUBLIC
Update state to reflect that a machine is running.
-
ganeti.watcher.MAXTRIES
ganeti.watcher.html#MAXTRIES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.BAD_STATES
ganeti.watcher.html#BAD_STATES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.HELPLESS_STATES
ganeti.watcher.html#HELPLESS_STATES
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.NOTICE
ganeti.watcher.html#NOTICE
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.ERROR
ganeti.watcher.html#ERROR
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.CHILD_PROCESS_DELAY
ganeti.watcher.html#CHILD_PROCESS_DELAY
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.INSTANCE_STATUS_LOCK_TIMEOUT
ganeti.watcher.html#INSTANCE_STATUS_LOCK_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
ganeti.watcher.NotMasterError
ganeti.watcher.NotMasterError.html
Class
Exception
PUBLIC
Exception raised when this host is not the master.
-
ganeti.watcher.ShouldPause
ganeti.watcher.html#ShouldPause
Function
Function
PUBLIC
Check whether we should pause.
-
ganeti.watcher.StartNodeDaemons
ganeti.watcher.html#StartNodeDaemons
Function
Function
PUBLIC
Start all the daemons that should be running on all nodes.
-
ganeti.watcher.RunWatcherHooks
ganeti.watcher.html#RunWatcherHooks
Function
Function
PUBLIC
Run the watcher hooks.
-
ganeti.watcher.Instance
ganeti.watcher.Instance.html
Class
Class
PUBLIC
Abstraction for a Virtual Machine instance.
-
ganeti.watcher.Instance.__init__
ganeti.watcher.Instance.html#__init__
Function
Method
PUBLIC
Undocumented
-
ganeti.watcher.Instance.name
ganeti.watcher.Instance.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.status
ganeti.watcher.Instance.html#status
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.config_state
ganeti.watcher.Instance.html#config_state
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.config_state_source
ganeti.watcher.Instance.html#config_state_source
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.disks_active
ganeti.watcher.Instance.html#disks_active
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.snodes
ganeti.watcher.Instance.html#snodes
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.disk_template
ganeti.watcher.Instance.html#disk_template
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Instance.Restart
ganeti.watcher.Instance.html#Restart
Function
Method
PUBLIC
Encapsulates the start of an instance.
-
ganeti.watcher.Instance.ActivateDisks
ganeti.watcher.Instance.html#ActivateDisks
Function
Method
PUBLIC
Encapsulates the activation of all disks of an instance.
-
ganeti.watcher.Instance.NeedsCleanup
ganeti.watcher.Instance.html#NeedsCleanup
Function
Method
PUBLIC
Determines whether the instance needs cleanup.
-
ganeti.watcher.Node
ganeti.watcher.Node.html
Class
Class
PUBLIC
Data container representing cluster node.
-
ganeti.watcher.Node.__init__
ganeti.watcher.Node.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.watcher.Node.name
ganeti.watcher.Node.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Node.bootid
ganeti.watcher.Node.html#bootid
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Node.offline
ganeti.watcher.Node.html#offline
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher.Node.secondaries
ganeti.watcher.Node.html#secondaries
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.watcher._CleanupInstance
ganeti.watcher.html#_CleanupInstance
Function
Function
PRIVATE
Undocumented
-
ganeti.watcher._CheckInstances
ganeti.watcher.html#_CheckInstances
Function
Function
PRIVATE
Make a pass over the list of instances, restarting downed ones.
-
ganeti.watcher._CheckDisks
ganeti.watcher.html#_CheckDisks
Function
Function
PRIVATE
Check all nodes for restarted ones.
-
ganeti.watcher._CheckForOfflineNodes
ganeti.watcher.html#_CheckForOfflineNodes
Function
Function
PRIVATE
Checks if given instances has any secondary in offline status.
-
ganeti.watcher._GetPendingVerifyDisks
ganeti.watcher.html#_GetPendingVerifyDisks
Function
Function
PRIVATE
Checks if there are any currently running or pending group verify jobs and if so, returns their id.
-
ganeti.watcher._VerifyDisks
ganeti.watcher.html#_VerifyDisks
Function
Function
PRIVATE
Run a per-group "gnt-cluster verify-disks".
-
ganeti.watcher.IsRapiResponding
ganeti.watcher.html#IsRapiResponding
Function
Function
PUBLIC
Connects to RAPI port and does a simple test.
-
ganeti.watcher.IsWconfdResponding
ganeti.watcher.html#IsWconfdResponding
Function
Function
PUBLIC
Probes an echo RPC to WConfD.
-
ganeti.watcher.ParseOptions
ganeti.watcher.html#ParseOptions
Function
Function
PUBLIC
Parse the command line options.
-
ganeti.watcher._WriteInstanceStatus
ganeti.watcher.html#_WriteInstanceStatus
Function
Function
PRIVATE
Writes the per-group instance status file.
-
ganeti.watcher._UpdateInstanceStatus
ganeti.watcher.html#_UpdateInstanceStatus
Function
Function
PRIVATE
Writes an instance status file from
Instance objects.
-
ganeti.watcher._ReadInstanceStatus
ganeti.watcher.html#_ReadInstanceStatus
Function
Function
PRIVATE
Reads an instance status file.
-
ganeti.watcher._MergeInstanceStatus
ganeti.watcher.html#_MergeInstanceStatus
Function
Function
PRIVATE
Merges all per-group instance status files into a global one.
-
ganeti.watcher.GetLuxiClient
ganeti.watcher.html#GetLuxiClient
Function
Function
PUBLIC
Tries to connect to the luxi daemon.
-
ganeti.watcher._StartGroupChildren
ganeti.watcher.html#_StartGroupChildren
Function
Function
PRIVATE
Starts a new instance of the watcher for every node group.
-
ganeti.watcher._ArchiveJobs
ganeti.watcher.html#_ArchiveJobs
Function
Function
PRIVATE
Archives old jobs.
-
ganeti.watcher._CheckMaster
ganeti.watcher.html#_CheckMaster
Function
Function
PRIVATE
Ensures current host is master node.
-
ganeti.watcher._GlobalWatcher
ganeti.watcher.html#_GlobalWatcher
Function
Function
PRIVATE
Main function for global watcher.
-
ganeti.watcher._GetGroupData
ganeti.watcher.html#_GetGroupData
Function
Function
PRIVATE
Retrieves instances and nodes per node group.
-
ganeti.watcher._LoadKnownGroups
ganeti.watcher.html#_LoadKnownGroups
Function
Function
PRIVATE
Returns a list of all node groups known by
ssconf.
-
ganeti.watcher._GroupWatcher
ganeti.watcher.html#_GroupWatcher
Function
Function
PRIVATE
Main function for per-group watcher process.
-
ganeti.watcher.Main
ganeti.watcher.html#Main
Function
Function
PUBLIC
Main function.
-
ganeti.workerpool._TERMINATE
ganeti.workerpool.html#_TERMINATE
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.workerpool._DEFAULT_PRIORITY
ganeti.workerpool.html#_DEFAULT_PRIORITY
Attribute
Constant
PRIVATE
Undocumented
-
ganeti.workerpool.DeferTask
ganeti.workerpool.DeferTask.html
Class
Exception
PUBLIC
Special exception class to defer a task.
-
ganeti.workerpool.DeferTask.__init__
ganeti.workerpool.DeferTask.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
ganeti.workerpool.DeferTask.priority
ganeti.workerpool.DeferTask.html#priority
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.workerpool.NoSuchTask
ganeti.workerpool.NoSuchTask.html
Class
Exception
PUBLIC
Exception raised when a task can't be found.
-
ganeti.workerpool.BaseWorker
ganeti.workerpool.BaseWorker.html
Class
Class
PUBLIC
Base worker class for worker pools.
-
ganeti.workerpool.BaseWorker.__init__
ganeti.workerpool.BaseWorker.html#__init__
Function
Method
PUBLIC
Constructor for BaseWorker thread.
-
ganeti.workerpool.BaseWorker.pool
ganeti.workerpool.BaseWorker.html#pool
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.workerpool.BaseWorker._worker_id
ganeti.workerpool.BaseWorker.html#_worker_id
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.BaseWorker._current_task
ganeti.workerpool.BaseWorker.html#_current_task
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.BaseWorker.ShouldTerminate
ganeti.workerpool.BaseWorker.html#ShouldTerminate
Function
Method
PUBLIC
Returns whether this worker should terminate.
-
ganeti.workerpool.BaseWorker.GetCurrentPriority
ganeti.workerpool.BaseWorker.html#GetCurrentPriority
Function
Method
PUBLIC
Returns the priority of the current task.
-
ganeti.workerpool.BaseWorker.SetTaskName
ganeti.workerpool.BaseWorker.html#SetTaskName
Function
Method
PUBLIC
Sets the name of the current task.
-
ganeti.workerpool.BaseWorker.name
ganeti.workerpool.BaseWorker.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
ganeti.workerpool.BaseWorker._HasRunningTaskUnlocked
ganeti.workerpool.BaseWorker.html#_HasRunningTaskUnlocked
Function
Method
PRIVATE
Returns whether this worker is currently running a task.
-
ganeti.workerpool.BaseWorker._GetCurrentOrderAndTaskId
ganeti.workerpool.BaseWorker.html#_GetCurrentOrderAndTaskId
Function
Method
PRIVATE
Returns the order and task ID of the current task.
-
ganeti.workerpool.BaseWorker.run
ganeti.workerpool.BaseWorker.html#run
Function
Method
PUBLIC
Main thread function.
-
ganeti.workerpool.BaseWorker.RunTask
ganeti.workerpool.BaseWorker.html#RunTask
Function
Method
PUBLIC
Function called to start a task.
-
ganeti.workerpool.WorkerPool
ganeti.workerpool.WorkerPool.html
Class
Class
PUBLIC
Worker pool with a queue.
-
ganeti.workerpool.WorkerPool._tasks
ganeti.workerpool.WorkerPool.html#_tasks
Attribute
Instance Variable
PRIVATE
Each tuple has the format (priority, order ID, task ID, arguments). Priority and order ID are numeric and essentially control the sort order. The order ID is an increasing number denoting the order in which tasks are added to the queue...
-
ganeti.workerpool.WorkerPool._taskdata
ganeti.workerpool.WorkerPool.html#_taskdata
Attribute
Instance Variable
PRIVATE
Mapping from task IDs to entries in
_tasks
-
ganeti.workerpool.WorkerPool.__init__
ganeti.workerpool.WorkerPool.html#__init__
Function
Method
PUBLIC
Constructor for worker pool.
-
ganeti.workerpool.WorkerPool._lock
ganeti.workerpool.WorkerPool.html#_lock
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._pool_to_pool
ganeti.workerpool.WorkerPool.html#_pool_to_pool
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._pool_to_worker
ganeti.workerpool.WorkerPool.html#_pool_to_worker
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._worker_to_pool
ganeti.workerpool.WorkerPool.html#_worker_to_pool
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._worker_class
ganeti.workerpool.WorkerPool.html#_worker_class
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._name
ganeti.workerpool.WorkerPool.html#_name
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._last_worker_id
ganeti.workerpool.WorkerPool.html#_last_worker_id
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._workers
ganeti.workerpool.WorkerPool.html#_workers
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._quiescing
ganeti.workerpool.WorkerPool.html#_quiescing
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._termworkers
ganeti.workerpool.WorkerPool.html#_termworkers
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._counter
ganeti.workerpool.WorkerPool.html#_counter
Attribute
Instance Variable
PRIVATE
Undocumented
-
ganeti.workerpool.WorkerPool._WaitWhileQuiescingUnlocked
ganeti.workerpool.WorkerPool.html#_WaitWhileQuiescingUnlocked
Function
Method
PRIVATE
Wait until the worker pool has finished quiescing.
-
ganeti.workerpool.WorkerPool._AddTaskUnlocked
ganeti.workerpool.WorkerPool.html#_AddTaskUnlocked
Function
Method
PRIVATE
Adds a task to the internal queue.
-
ganeti.workerpool.WorkerPool.AddTask
ganeti.workerpool.WorkerPool.html#AddTask
Function
Method
PUBLIC
Adds a task to the queue.
-
ganeti.workerpool.WorkerPool.AddManyTasks
ganeti.workerpool.WorkerPool.html#AddManyTasks
Function
Method
PUBLIC
Add a list of tasks to the queue.
-
ganeti.workerpool.WorkerPool.ChangeTaskPriority
ganeti.workerpool.WorkerPool.html#ChangeTaskPriority
Function
Method
PUBLIC
Changes a task's priority.
-
ganeti.workerpool.WorkerPool._WaitForTaskUnlocked
ganeti.workerpool.WorkerPool.html#_WaitForTaskUnlocked
Function
Method
PRIVATE
Waits for a task for a worker.
-
ganeti.workerpool.WorkerPool._ShouldWorkerTerminateUnlocked
ganeti.workerpool.WorkerPool.html#_ShouldWorkerTerminateUnlocked
Function
Method
PRIVATE
Returns whether a worker should terminate.
-
ganeti.workerpool.WorkerPool._HasRunningTasksUnlocked
ganeti.workerpool.WorkerPool.html#_HasRunningTasksUnlocked
Function
Method
PRIVATE
Checks whether there's a task running in a worker.
-
ganeti.workerpool.WorkerPool.HasRunningTasks
ganeti.workerpool.WorkerPool.html#HasRunningTasks
Function
Method
PUBLIC
Checks whether there's at least one task running.
-
ganeti.workerpool.WorkerPool.Quiesce
ganeti.workerpool.WorkerPool.html#Quiesce
Function
Method
PUBLIC
Waits until the task queue is empty.
-
ganeti.workerpool.WorkerPool._NewWorkerIdUnlocked
ganeti.workerpool.WorkerPool.html#_NewWorkerIdUnlocked
Function
Method
PRIVATE
Return an identifier for a new worker.
-
ganeti.workerpool.WorkerPool._ResizeUnlocked
ganeti.workerpool.WorkerPool.html#_ResizeUnlocked
Function
Method
PRIVATE
Changes the number of workers.
-
ganeti.workerpool.WorkerPool.Resize
ganeti.workerpool.WorkerPool.html#Resize
Function
Method
PUBLIC
Changes the number of workers in the pool.
-
ganeti.workerpool.WorkerPool.TerminateWorkers
ganeti.workerpool.WorkerPool.html#TerminateWorkers
Function
Method
PUBLIC
Terminate all worker threads.
-
server.WEEKDAYNAME
server.html#WEEKDAYNAME
Attribute
Constant
PUBLIC
Undocumented
-
server.MONTHNAME
server.html#MONTHNAME
Attribute
Constant
PUBLIC
Undocumented
-
server.DEFAULT_ERROR_CONTENT_TYPE
server.html#DEFAULT_ERROR_CONTENT_TYPE
Attribute
Constant
PUBLIC
Undocumented
-
server.DEFAULT_ERROR_MESSAGE
server.html#DEFAULT_ERROR_MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
server._HttpServerRequest
server._HttpServerRequest.html
Class
Class
PRIVATE
Data structure for HTTP request on server side.
-
server._HttpServerRequest.__init__
server._HttpServerRequest.html#__init__
Function
Method
PUBLIC
Undocumented
-
server._HttpServerRequest.request_method
server._HttpServerRequest.html#request_method
Attribute
Instance Variable
PUBLIC
Undocumented
-
server._HttpServerRequest.request_path
server._HttpServerRequest.html#request_path
Attribute
Instance Variable
PUBLIC
Undocumented
-
server._HttpServerRequest.request_body
server._HttpServerRequest.html#request_body
Attribute
Instance Variable
PUBLIC
Undocumented
-
server._HttpServerRequest.request_sock
server._HttpServerRequest.html#request_sock
Attribute
Instance Variable
PUBLIC
Undocumented
-
server._HttpServerRequest.private
server._HttpServerRequest.html#private
Attribute
Instance Variable
PUBLIC
Undocumented
-
server._HttpServerRequest.__repr__
server._HttpServerRequest.html#__repr__
Function
Method
PUBLIC
Undocumented
-
server._HttpServerToClientMessageWriter
server._HttpServerToClientMessageWriter.html
Class
Class
PRIVATE
Writes an HTTP response to client.
-
server._HttpServerToClientMessageWriter.__init__
server._HttpServerToClientMessageWriter.html#__init__
Function
Method
PUBLIC
Writes the response to the client.
-
server._HttpServerToClientMessageWriter._request_msg
server._HttpServerToClientMessageWriter.html#_request_msg
Attribute
Instance Variable
PRIVATE
Undocumented
-
server._HttpServerToClientMessageWriter._response_msg
server._HttpServerToClientMessageWriter.html#_response_msg
Attribute
Instance Variable
PRIVATE
Undocumented
-
server._HttpServerToClientMessageWriter.HasMessageBody
server._HttpServerToClientMessageWriter.html#HasMessageBody
Function
Method
PUBLIC
Logic to detect whether response should contain a message body.
-
server._HttpClientToServerMessageReader
server._HttpClientToServerMessageReader.html
Class
Class
PRIVATE
Reads an HTTP request sent by client.
-
server._HttpClientToServerMessageReader.START_LINE_LENGTH_MAX
server._HttpClientToServerMessageReader.html#START_LINE_LENGTH_MAX
Attribute
Constant
PUBLIC
Undocumented
-
server._HttpClientToServerMessageReader.ParseStartLine
server._HttpClientToServerMessageReader.html#ParseStartLine
Function
Method
PUBLIC
Parses the start line sent by client.
-
server._HandleServerRequestInner
server.html#_HandleServerRequestInner
Function
Function
PRIVATE
Calls the handler function for the current request.
-
server.HttpResponder
server.HttpResponder.html
Class
Class
PUBLIC
No class docstring; 0/1 instance variable, 2/2 methods, 1/2 static method documented
-
server.HttpResponder.__init__
server.HttpResponder.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
server.HttpResponder._handler
server.HttpResponder.html#_handler
Attribute
Instance Variable
PRIVATE
Undocumented
-
server.HttpResponder.__call__
server.HttpResponder.html#__call__
Function
Method
PUBLIC
Handles a request.
-
server.HttpResponder._SetError
server.HttpResponder.html#_SetError
Function
Static Method
PRIVATE
Sets the response code and body from a HttpException.
-
server.HttpResponder._Finalize
server.HttpResponder.html#_Finalize
Function
Static Method
PRIVATE
Undocumented
-
server.HttpServerRequestExecutor
server.HttpServerRequestExecutor.html
Class
Class
PUBLIC
Implements server side of HTTP.
-
server.HttpServerRequestExecutor.WRITE_TIMEOUT
server.HttpServerRequestExecutor.html#WRITE_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
server.HttpServerRequestExecutor.READ_TIMEOUT
server.HttpServerRequestExecutor.html#READ_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
server.HttpServerRequestExecutor.CLOSE_TIMEOUT
server.HttpServerRequestExecutor.html#CLOSE_TIMEOUT
Attribute
Constant
PUBLIC
Undocumented
-
server.HttpServerRequestExecutor.__init__
server.HttpServerRequestExecutor.html#__init__
Function
Method
PUBLIC
Initializes this class.
-
server.HttpServerRequestExecutor._ReadRequest
server.HttpServerRequestExecutor.html#_ReadRequest
Function
Static Method
PRIVATE
Reads a request sent by client.
-
server.HttpServerRequestExecutor._SendResponse
server.HttpServerRequestExecutor.html#_SendResponse
Function
Static Method
PRIVATE
Sends the response to the client.
-
server.HttpServer
server.HttpServer.html
Class
Class
PUBLIC
Generic HTTP server class
-
server.HttpServer.__init__
server.HttpServer.html#__init__
Function
Method
PUBLIC
Initializes the HTTP server
-
server.HttpServer.request_executor
server.HttpServer.html#request_executor
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.mainloop
server.HttpServer.html#mainloop
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.local_address
server.HttpServer.html#local_address
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.port
server.HttpServer.html#port
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.handler
server.HttpServer.html#handler
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.socket
server.HttpServer.html#socket
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer._children
server.HttpServer.html#_children
Attribute
Instance Variable
PRIVATE
Undocumented
-
server.HttpServer.accepting
server.HttpServer.html#accepting
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.max_clients
server.HttpServer.html#max_clients
Attribute
Instance Variable
PUBLIC
Undocumented
-
server.HttpServer.Start
server.HttpServer.html#Start
Function
Method
PUBLIC
Undocumented
-
server.HttpServer.Stop
server.HttpServer.html#Stop
Function
Method
PUBLIC
Undocumented
-
server.HttpServer.handle_accept
server.HttpServer.html#handle_accept
Function
Method
PUBLIC
Undocumented
-
server.HttpServer.OnSignal
server.HttpServer.html#OnSignal
Function
Method
PUBLIC
Undocumented
-
server.HttpServer._CollectChildren
server.HttpServer.html#_CollectChildren
Function
Method
PRIVATE
Checks whether any child processes are done
-
server.HttpServer._IncomingConnection
server.HttpServer.html#_IncomingConnection
Function
Method
PRIVATE
Called for each incoming connection
-
server.HttpServerHandler
server.HttpServerHandler.html
Class
Class
PUBLIC
Base class for handling HTTP server requests.
-
server.HttpServerHandler.PreHandleRequest
server.HttpServerHandler.html#PreHandleRequest
Function
Method
PUBLIC
Called before handling a request.
-
server.HttpServerHandler.HandleRequest
server.HttpServerHandler.html#HandleRequest
Function
Method
PUBLIC
Handles a request.
-
server.HttpServerHandler.FormatErrorMessage
server.HttpServerHandler.html#FormatErrorMessage
Function
Static Method
PUBLIC
Formats the body of an error message.